LSB Requires-Start: ... $network ... vs network.service

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

 



Hi everyone,

I have a sysvinit script on fedora 18 (systemd 195) with

 ### BEGIN INIT INFO
 # Provides:          ceph
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Required-Start:    $remote_fs $named $network $time
 # Required-Stop:     $remote_fs $named $network $time
 # Short-Description: Start Ceph distributed file system daemons at boot  time
 # Description:       Enable Ceph distributed file system services.
 ### END INIT INFO

and my daemon keeps failing on startup to bind to it's ip:port.  I 
modified the script to dump systemctl -a output and I see

 network.service           loaded inactive   dead            LSB: Bring up/down networking
 NetworkM...online.service loaded inactive   dead            Network Manager Wait Online
 NetworkManager.service    loaded active     running         Network Manager

I know next to nothing about systemd (or Fedora, for that matter), but I 
would expect the $network bit in Required-Start to make the job wait for 
network.service.  FWIW, this is what 'chkconfig --add ceph' during package 
installation seems to have done:

 $ find /etc/rc.d | grep ceph
 /etc/rc.d/rc0.d/K80ceph
 /etc/rc.d/rc3.d/S60ceph
 /etc/rc.d/rc4.d/S60ceph
 /etc/rc.d/init.d/ceph
 /etc/rc.d/rc6.d/K80ceph
 /etc/rc.d/rc1.d/K80ceph
 /etc/rc.d/rc5.d/S60ceph
 /etc/rc.d/rc2.d/S60ceph

Hopefully there is somewhere obvious where we've gone astray?

Thanks!
sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux