Telinit question
I have a question about telinit use. For a long time, I occasionally
have done "telinit 1" before doing a backup. However, I noticed in the
man page that it says:
On a Debian system, entering runlevel 1 causes all processes to be
killed except for kernel threads and the script that does the killing
and other processes in its session. As a consequence of this, it isn’t
safe to return from runlevel 1 to a multi-user runlevel: daemons that
were started in runlevel S and are needed for normal operation are no
longer running. The system should be rebooted.
This was not in the man page for telinit in Sarge. (Both Sarge and Lenny
telinit man pages are dated 29 Jul 2004.)
Is this statement due to a change in Debian after Sarge, or is it just a
new warning in the man page for an old problem? Is this a likely
problem or only a corner case that would rarely show up? I never saw a
problem from teliniting back up, but I am thinking I should modify my
ways.
[One problem is that I leave large files in /tmp that I later transfer
somewhere. If I just were to reboot, they would disappear. I gather
that I should be able to thwart that by setting TMPTIME=1 in
/etc/default/rcS .]
What are people currently doing before and after backup?
Reply to: