[Bug 430224] Re: misc: packages cannot be upgraded in a chroot

2010-02-26 Thread Scott James Remnant
You can only have one init daemon on a system, so having a separate Upstart per-chroot doesn't work - the prime system's init daemon would get the SIGCHLDs, etc. (unless you use pid namespaces and a kernel patch that Lennart once wrote to redirect init behaviour to other pids) For me, the right

[Bug 430224] Re: misc: packages cannot be upgraded in a chroot

2010-02-26 Thread Evan Broder
initctl blocks on Upstart returning, right? Could you do something clever with /proc/$INITCTL_PID/root? -- misc: packages cannot be upgraded in a chroot https://bugs.launchpad.net/bugs/430224 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct

[Bug 430224] Re: misc: packages cannot be upgraded in a chroot

2010-02-26 Thread Scott James Remnant
initctl doesn't have to block, no (--no-wait) -- misc: packages cannot be upgraded in a chroot https://bugs.launchpad.net/bugs/430224 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list

[Bug 430224] Re: misc: packages cannot be upgraded in a chroot

2010-02-04 Thread Lawrence Tsang
** Visibility changed to: Private ** This bug has been flagged as a security vulnerability -- misc: packages cannot be upgraded in a chroot https://bugs.launchpad.net/bugs/430224 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. --

[Bug 430224] Re: misc: packages cannot be upgraded in a chroot

2010-02-04 Thread Martin Pitt
** Visibility changed to: Public ** This bug is no longer flagged as a security vulnerability -- misc: packages cannot be upgraded in a chroot https://bugs.launchpad.net/bugs/430224 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. --

[Bug 430224] Re: misc: packages cannot be upgraded in a chroot

2010-02-02 Thread Loïc Minier
My understanding is that this bug is marked incomplete because it's currently lacking discussion on how we should handle this. I propose that the way to resolve this is to implement chroot awareness to upstart and its commands. Perhaps either of these is possible: - allow starting a separate

[Bug 430224] Re: misc: packages cannot be upgraded in a chroot

2010-01-16 Thread Paul Donohue
I just noticed this problem has broken cron in some of my chroots. There needs to be some standard way to run services such as cron within a chroot. If nothing else, at least a convenience script that can start and stop services outside of upstart supervision. -- misc: packages cannot be

[Bug 430224] Re: misc: packages cannot be upgraded in a chroot

2009-12-18 Thread Cody A.W. Somerville
I'm marking this as invalid as its only actually sysvinit scripts when policy-rc.d hasn't been configured correctly that causes problems; native upstart jobs seem to just ignore not being able to connect to upstart regardless. ** Changed in: upstart (Ubuntu) Status: Incomplete = Invalid

[Bug 430224] Re: misc: packages cannot be upgraded in a chroot

2009-12-18 Thread Steve Langasek
native upstart jobs seem to just ignore not being able to connect to upstart No, they do not. There are various stock maintainer script snippets that will ignore these failures on the maintainer script's behalf, but: a) this removes an important feedback channel about other problems that cause

[Bug 430224] Re: misc: packages cannot be upgraded in a chroot

2009-12-08 Thread Erick Brunzell
Running: rm /sbin/initctl dpkg-divert --local --remove /sbin/initctl breaks gdm in both Karmic and mint Helena. Which leaves egg on my face since I'd included it in my chroot script for some time! How can I fix gdm? -- misc: packages cannot be upgraded in a chroot

[Bug 430224] Re: misc: packages cannot be upgraded in a chroot

2009-12-08 Thread Erick Brunzell
In regards to that last post, the problem was easily fixed just by an install --reinstall upstart. -- misc: packages cannot be upgraded in a chroot https://bugs.launchpad.net/bugs/430224 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 430224] Re: misc: packages cannot be upgraded in a chroot

2009-11-16 Thread Erick Brunzell
I started a discussion regarding this at Ubuntu Forums in Lucid testing: http://ubuntuforums.org/showthread.php?t=1326721 Already one question I can't answer. Following: dpkg-divert --local --rename --add /sbin/initctl ln -s /bin/true /sbin/initctl and completing the upgrade or other

Re: [Bug 430224] Re: misc: packages cannot be upgraded in a chroot

2009-11-16 Thread Evan Broder
If you're running a chroot or some other environment where you never want upstart jobs to run, you shouldn't un-divert the initctl. On Mon, Nov 16, 2009 at 9:04 AM, Erick Brunzell lbsol...@yahoo.com wrote: I started a discussion regarding this at Ubuntu Forums in Lucid testing:

[Bug 430224] Re: misc: packages cannot be upgraded in a chroot

2009-11-16 Thread Andrew Zajac
But if you are running a chroot where you will want upstart to run, for example, when building a live cd environment from scratch, you do want to remove the diversion before you exit. -- misc: packages cannot be upgraded in a chroot https://bugs.launchpad.net/bugs/430224 You received this bug

[Bug 430224] Re: misc: packages cannot be upgraded in a chroot

2009-11-15 Thread Dr Paul Brewer
This is a problem for builders/testers, not just people using virtual machines. Making it harder to customize/test ubuntu will reduce quality going forward. I build a customized LiveCD for a research group at Caltech, which is also made available to similar groups at other universities. Package

[Bug 430224] Re: misc: packages cannot be upgraded in a chroot

2009-11-02 Thread Evan Broder
Is there a reason that initctl couldn't respect /usr/sbin/policy-rc.d? Especially since any real-world policy-rc.d file just exits 101 (disallowed) 99% of the time, it doesn't seem too problematic if sysadmins have to rewrite theirs to deal with a few more potential arguments from initctl. --

Re: [Bug 430224] Re: misc: packages cannot be upgraded in a chroot

2009-10-26 Thread Scott James Remnant
On Mon, 2009-10-26 at 06:11 +, Daniel Holbach wrote: Do you feel I should file a separate ubuntu-releasenotes / upstart bug about vserver related problems? No, because I'll just mark it Won't Fix - the problems are with vserver, not Upstart Scott -- Scott James Remnant sc...@ubuntu.com

[Bug 430224] Re: misc: packages cannot be upgraded in a chroot

2009-10-26 Thread Daniel Holbach
Do you feel I should file a separate ubuntu-releasenotes / upstart bug about vserver related problems? -- misc: packages cannot be upgraded in a chroot https://bugs.launchpad.net/bugs/430224 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 430224] Re: misc: packages cannot be upgraded in a chroot

2009-10-25 Thread Scott James Remnant
Would you like to begin that discussion? ** Changed in: upstart (Ubuntu) Status: New = Incomplete -- misc: packages cannot be upgraded in a chroot https://bugs.launchpad.net/bugs/430224 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 430224] Re: misc: packages cannot be upgraded in a chroot

2009-10-22 Thread Steve Langasek
Text added at https://wiki.ubuntu.com/KarmicKoala/ReleaseNotes#Upstart%20jobs%20cannot%20be%20run%20in%20a%20chroot: Upstart jobs cannot be started in a chroot because upstart acts as a service supervisor, and processes within the chroot are unable to communicate with the upstart running outside

[Bug 430224] Re: misc: packages cannot be upgraded in a chroot

2009-10-22 Thread Steve Langasek
I don't think release noting this is a very satisfactory solution in the long term. Replacing /sbin/initctl with a symlink to /bin/true is a fairly standard way to disable services in a chroot. No; a) it's an upstart-specific way to disable services in a chroot, and b) this bug isn't about how

[Bug 430224] Re: misc: packages cannot be upgraded in a chroot

2009-10-15 Thread Daniel Holbach
Unfortunately there's the same problem in vservers. Things like this won't work any more: sudo reboot (needs to be restarted from outside the guest) sudo start/stop/restart service (very problematic as there's a few daemons already that don't ship old style init scripts any more: cron,

[Bug 430224] Re: misc: packages cannot be upgraded in a chroot

2009-10-04 Thread Scott James Remnant
** Changed in: upstart (Ubuntu) Status: Triaged = Won't Fix -- misc: packages cannot be upgraded in a chroot https://bugs.launchpad.net/bugs/430224 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 430224] Re: misc: packages cannot be upgraded in a chroot

2009-10-02 Thread Colin Watson
Sounds like we'll need to write a release note to ensure that people are informed of this, since in practice it is a change in behaviour from what people are used to. I've added a bug task for that. ** Also affects: ubuntu-release-notes Importance: Undecided Status: New -- misc:

[Bug 430224] Re: misc: packages cannot be upgraded in a chroot

2009-10-02 Thread Scott James Remnant
Since there's now a Release Notes target, I don't think there's any outstanding fix for this for Upstart ** Changed in: upstart (Ubuntu Karmic) Status: Triaged = Won't Fix -- misc: packages cannot be upgraded in a chroot https://bugs.launchpad.net/bugs/430224 You received this bug

[Bug 430224] Re: misc: packages cannot be upgraded in a chroot

2009-09-22 Thread Scott James Remnant
** Summary changed: - blows up package upgrades in a chroot + misc: packages cannot be upgraded in a chroot ** Changed in: upstart (Ubuntu Karmic) Milestone: ubuntu-9.10-beta = None ** Changed in: upstart (Ubuntu Karmic) Importance: High = Medium -- misc: packages cannot be upgraded in