Re: how to restart userland?

From: Helge Hafting
Date: Tue Nov 04 2003 - 04:56:45 EST


Tomas Szepe wrote:


Is there a reason you want to "completely" restart userland and *not*
reboot (for instance, wanting to keep existing mounts, etc)?


Extensive userland upgrades (glibc is a nice example I guess), etc.

Consider using debian then - a glibc upgrade there
is no problem as various services (including init)
are restarted automatically mostly without disturbing
running applications.

To make everything use the new library revision,
do an "init 1". You'll get to single-user mode where
you either log in and do an "init 2" or simply
press ctrl+D for the same effect.

After that, nothing is holding onto deleted old libraries
and /usr may be remounted read-only if you like.

Helge Hafting

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/