[Pkg-bluetooth-maintainers] Bug#593172: bluez: init.d/bluetooth complain during boot when package is removed but not purged

Petter Reinholdtsen pere at hungry.com
Thu Sep 2 08:27:37 UTC 2010


reopen 593172
notfixed 593172 4.66-1
thanks

[Nobuhiro Iwamatsu]
> This is normal semantics.
> Because under etc/init.d/ directory of files are treated as a
> confgration file, it is not deleted by remove option.

No, it isn't.  Normal sematics is for the init.d script to verify that
the package is installed before trying to start services.  A common
way to do this is to look for the needed binary and exit without any
error if the binary is not available.  Look for examples like this in
other init.d scripts:

  [ -x "$DAEMON" ] || exit 0

Reopening.

Happy hacking,
-- 
Petter Reinholdtsen





More information about the Pkg-bluetooth-maintainers mailing list