On Sat, Jul 26, 2014 at 11:43:51PM +0200, Michael Biebl wrote:
> I think we should do two things:
> 
> 1/ document in the release notes / systemd FAQ that restarting services
> from hooks script (ifupdown, dhclient, etc) is problematic.
> 
> 2/ change invoke-rc.d/service//lib/lsb/init-functions.d/40-systemd to
> special case (re)start requests while sysinit.target/network.target is
> scheduled (i.e. during early boot), i.e. use --no-block.
> This will make systemctl non-blocking and simply enqueue the job.

I'm not familiar enough with systemd to comment on your patch. But as a
mere user I think such a failsafe might save the day for quite a few
people. Bonus point would be to raise some warning about the avoided
deadlock, so that users can fix their hooks when needed.

With many thanks for your work on this,
Cheers.
-- 
Stefano Zacchiroli  . . . . . . .  z...@upsilon.cc . . . . o . . . o . o
Maître de conférences . . . . . http://upsilon.cc/zack . . . o . . . o o
Former Debian Project Leader  . . @zack on identi.ca . . o o o . . . o .
« the first rule of tautology club is the first rule of tautology club »

Attachment: signature.asc
Description: Digital signature

Reply via email to