[Pkg-sysvinit-devel] Bug#745505: sysv-rc: Operate against system-upstart only

Dimitri John Ledkov xnox at ubuntu.com
Tue Apr 22 12:30:21 UTC 2014


Package: sysv-rc
Version: 2.88dsf-53
Severity: normal
Tags: patch

Dear Maintainer,

When using initctl utilities, they default to executing against system
upstart (typically pid 1), however if UPSTART_SESSION environment
variable is set, initctl defaults to operating against user-session
upstart (not very common on Debian desktops, but very common on ubuntu
desktops). Under such conditions, invoke-rc.d and service command should
operate against system upstart. With recent initctl one can use
'--system' command line option, but to stay compatible with initctl in
stable, i'm instead opting to unseting UPSTART_SESSION variable to
guarantee default execution against system upstart.

Regards,

Dimitri.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-service-invoke-rc.d-use-system-upstart-only.patch
Type: text/x-diff
Size: 2194 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20140422/7effb511/attachment.patch>


More information about the Pkg-sysvinit-devel mailing list