[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Avoid reboot by loading initramfs again



 Hi.

On Mon, Oct 20, 2014 at 11:13:38AM +0100, Darac Marjal wrote:
> The other alternative,  for a "lighter" reboot is to  drop to runlevel 1
> (or single-user.target, in  systemd's parlance). This will  stop all the
> mutli-user services (X, httpd, sshd and so  on) and bring you to a point
> where only  a minimal number of  services are running (file  systems are
> mounted,  the  local  console  is  active and  so  on).  You  could  use
> "checkrestart" (from the debian-goodies package) to check what remaining
> services are using outdated libraries and restart them manually. At this
> point, you can come back up to runlevel 2-5 (systemd: multi-user.target)
> in order to bring the system back up to full capacity.

I don't know about systemd, but for Debian's sysvinit returning from the
single-user is not that good idea - [1]. I'm unsure whenever it's
supported now, but I've seen myself init 1 → init 2 sequence deadlocking
on rpcbind.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=142424

Reco


Reply to: