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

Bug#795873: openssh-server: Please use a symlink to mask the LSB initscript instead of an alias in the .service file



Package: openssh-server
Version: 6.7p1-6
Severity: normal

Hi,

I think it would be better to use a static symlink instead of an alias
in the .service file

When using an alias it's possible when running systemd as pid1 to endup
in a situation where the .service file is disabled, but the LSB
initscript is still enabled.

With a symlink this will not happen as the link between the initscript
and the .service file will always be active.

Cheers,

Laurent Bigonville

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.utf8, LC_CTYPE=fr_BE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


Reply to: