Bug#787973: [Pkg-libvirt-maintainers] Bug#787973: Please don't use systemctl status in postinst

2015-06-09 Thread Guido Günther
Hi, On Sun, Jun 07, 2015 at 11:04:45AM +0200, Michael Biebl wrote: > Package: libvirt-daemon-system > Version: 1.2.16-2 > Severity: normal > > Hi, > > I noticed the following in postinst: > > # Force virtlockd to reexec if enabled > if [ -d /run/systemd/system ] && systemctl stat

Bug#787973: Please don't use systemctl status in postinst

2015-06-07 Thread Michael Biebl
Package: libvirt-daemon-system Version: 1.2.16-2 Severity: normal Hi, I noticed the following in postinst: # Force virtlockd to reexec if enabled if [ -d /run/systemd/system ] && systemctl status virtlockd.service >/dev/null; then systemctl reload virtlockd.service