On Fri, Feb 12, 2016 at 12:12:40AM +0530, Pirate Praveen wrote: > Control: found -1 gitlab/8.4.0+dfsg-2 > Control: forcemerge -1 814413 > > Since I had init=/bin/systemd in my /proc/cmdline, as I moved to systemd > before it became default, the check in postinst was not correct. I will > switch to checking in /proc/1/cmdline and upload.
note sure that is correct either. On my system I get $ cat /proc/1/cmdline ; echo /sbin/init I think the correct way to test if the system is currently running systemd if by checking if "/run/systemd/system" is an existing directory i.e. `-d "/run/systemd/system"` in shell (that is how /usr/sbin/update-rc.d does it). -- Antonio Terceiro <[email protected]>
signature.asc
Description: PGP signature

