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

Bug#623377: init: don't start in runlevel S *and* 2345



On 04/19/2011 08:40 PM, Michael Biebl wrote:

> Hi,

Hi

> the initscripts of nfs-common, pormap and rpcbind all have the following in
> their LSB header:
> 
> # Default-Start:     S 2 3 4 5
> # Default-Stop:      0 1 6

Indeed.

> As a result, the init scripts are run *twice* when you boot your system.

True.

> More importantly though, this breaks systemd horribly, as this leads to a
> depedency loop there.

That's a clear design flow in systemd.

> nfs-common, portmap and rpcbind are the only packages using such a strange setup
> in Default-Start.
> 
> I can't really tell, if those packages are supposed to be started during early
> boot (rcS) and be running in single-user mode or starting them in multi-user is
> sufficient.

AFAICT it's kind of a workaround for the broken networking script that
succeeds before devices are really available.

Cheers

Luk



Reply to: