On Thu, Jul 14, 2011 at 12:43:53PM +0200, Adam Borowski wrote: > On Thu, Jul 14, 2011 at 11:36:59AM +0100, Roger Leigh wrote: > > On Thu, Jul 14, 2011 at 12:22:52PM +0200, Adam Borowski wrote: > > > In containers like vserver, even root cannot mount things from the inside, > > > for obvious security reasons. > > > IIRC we were explicitly supporting vserver in the postinst prior > > to the switch to ischroot, though I didn't test it myself. If the > > logic in older versions detects vservers correctly for you and > > ischroot does not, we need to get that logic added to ischroot > > (or back in the postinst if that's the best place). > > > > Note that 2.88dsf-13.6 was the last version not using ischroot, so > > I would suggest trying out the postinst logic from that version. > > The system in question upgraded to and worked with 2.88dsf-13.10 correctly, > it's only upgrading to 2.88dsf-13.11 that fails.
That's odd, because the only change to the postinst is creating a directory: diff --git a/debian/initscripts.postinst b/debian/initscripts.postinst index 544c124..1d956bf 100755 --- a/debian/initscripts.postinst +++ b/debian/initscripts.postinst @@ -247,6 +247,9 @@ else echo "Please reboot to complete migration to tmpfs-based /run" > /run/.run-transition fi +# Ensure presence of /run/sendsigs.omit.d +[ -d /run/sendsigs.omit.d ] || { mkdir --mode=755 /run/sendsigs.omit.d ; chown root:root /run/sendsigs.omit.d || [ "$FAKECHROOT" = true ]; } + tmpfs_fstab_migrate # This uses the same logic used in several other places in the postinst. What is the return value of ischroot in the vserver (when run as root)? Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
signature.asc
Description: Digital signature