Bug#754218: boot hangs forever on LSB job "raise network interfaces"

Stefano Zacchiroli zack at debian.org
Thu Jul 10 16:05:58 BST 2014


On Wed, Jul 09, 2014 at 05:31:57PM +0200, Michael Biebl wrote:
> So, try to guard your restarts like this:
> 
> ===
> if [ -d /run/systemd/system ]; then
>        systemctl list-jobs | grep -q network.target && exit 0
> fi
> service shorewall restart
> service shorewall6 restart
> ===

This did the trick! (and I quite like the fact that it will work
properly both with and without systemd running)

Thanks a lot for your guidance,
Cheers.
-- 
Stefano Zacchiroli  . . . . . . .  zack at 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 »
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140710/33fed34c/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list