Bug#774430: systemd: service makes as not reloadable

Michael Biebl biebl at debian.org
Fri Jan 2 18:00:30 GMT 2015


Hi Tollef,

Am 02.01.2015 um 18:15 schrieb Tollef Fog Heen:
> Package: systemd
> Version: 215-8
> Severity: normal
> X-Debbugs-Cc: debian-admin at lists.debian.org
> 
> It seems systemd believes syslog-ng can't be reloaded for some reason:
> 
> minkus% sudo systemctl -p CanReload show syslog-ng.service
> CanReload=no
> 
> This leads to invoke-rc.d and service failing to reload the service:
> 
> minkus% sudo systemctl show syslog-ng.service | grep Relo
> ExecReload={ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }
> CanReload=no
> NeedDaemonReload=no
> minkus% sudo service syslog-ng reload                     
> [FAIL] Reload system logging: syslog-ng failed!

I can't reproduce that.
When installing syslog-ng_3.5.6-2, it correctly shows CanReload=yes



> syslog-ng.service:
> 
> minkus% cat syslog-ng.service 
> [Unit]
> Description=System Logger Daemon
> Documentation=man:syslog-ng(8)
> 
> [Service]
> Type=notify
> Sockets=syslog.socket
> ExecStart=/usr/sbin/syslog-ng -F
> ExecReload=/bin/kill -HUP $MAINPID
> StandardOutput=null
> Restart=always
> 
> [Install]
> WantedBy=multi-user.target
> Alias=syslog.service
> 

Could you attache the output of
systemctl cat syslog-ng.service and systemctl show syslog-ng.service

Maybe there is some local modification in a drop-in snippet.

Is this issue reproducible (after a daemon-reload/daemon-reexec/system
reboot)?
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150102/6c4ee5c1/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list