Bug#633845: initscripts: unupgradeable on vserver

2012-06-26 Thread Roger Leigh
On Thu, Jul 14, 2011 at 04:27:16PM +0100, Roger Leigh wrote: On Thu, Jul 14, 2011 at 03:11:12PM +, Clint Adams wrote: On Thu, Jul 14, 2011 at 02:04:15PM +0100, Roger Leigh wrote: CCing Clint and Aurelien: Does this type of check belong in ischroot, or would it need adding to a

Bug#633845: initscripts: unupgradeable on vserver

2012-06-26 Thread Adam Borowski
On Tue, Jun 26, 2012 at 10:14:03PM +0100, Roger Leigh wrote: Just a quick ping on this bug. Are vservers now working OK with the current ischroot implementation, or is further work needed here? According to exhaustive testing by upgrading a single random vserver from squeeze to unstable,

Bug#633845: initscripts: unupgradeable on vserver

2011-07-14 Thread Adam Borowski
Package: initscripts Version: 2.88dsf-13.11 Severity: important In containers like vserver, even root cannot mount things from the inside, for obvious security reasons. This makes the new postinst fail: Setting up initscripts (2.88dsf-13.11) ... insserv: warning: current start runlevel(s)

Bug#633845: initscripts: unupgradeable on vserver

2011-07-14 Thread Roger Leigh
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. This makes the new postinst fail: dpkg: error processing initscripts (--configure): subprocess installed post-installation

Bug#633845: initscripts: unupgradeable on vserver

2011-07-14 Thread Adam Borowski
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

Bug#633845: initscripts: unupgradeable on vserver

2011-07-14 Thread Roger Leigh
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

Bug#633845: initscripts: unupgradeable on vserver

2011-07-14 Thread Adam Borowski
On Thu, Jul 14, 2011 at 11:57:29AM +0100, Roger Leigh wrote: What is the return value of ischroot in the vserver (when run as root)? 2 (failure to detect) -- 1KB // Yo momma uses IPv4! -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of

Bug#633845: initscripts: unupgradeable on vserver

2011-07-14 Thread Roger Leigh
On Thu, Jul 14, 2011 at 01:01:20PM +0200, Adam Borowski wrote: On Thu, Jul 14, 2011 at 11:57:29AM +0100, Roger Leigh wrote: What is the return value of ischroot in the vserver (when run as root)? 2 (failure to detect) Does /proc (/proc/1/root) exist inside the vserver? Is /proc available

Bug#633845: initscripts: unupgradeable on vserver

2011-07-14 Thread Adam Borowski
On Thu, Jul 14, 2011 at 12:15:40PM +0100, Roger Leigh wrote: On Thu, Jul 14, 2011 at 01:01:20PM +0200, Adam Borowski wrote: On Thu, Jul 14, 2011 at 11:57:29AM +0100, Roger Leigh wrote: What is the return value of ischroot in the vserver (when run as root)? 2 (failure to detect)

Bug#633845: initscripts: unupgradeable on vserver

2011-07-14 Thread Adam Borowski
On Thu, Jul 14, 2011 at 01:29:44PM +0100, Roger Leigh wrote: On Thu, Jul 14, 2011 at 01:21:54PM +0200, Adam Borowski wrote: On Thu, Jul 14, 2011 at 12:15:40PM +0100, Roger Leigh wrote: On Thu, Jul 14, 2011 at 01:01:20PM +0200, Adam Borowski wrote: On Thu, Jul 14, 2011 at 11:57:29AM

Bug#633845: initscripts: unupgradeable on vserver

2011-07-14 Thread Roger Leigh
On Thu, Jul 14, 2011 at 02:37:20PM +0200, Adam Borowski wrote: On Thu, Jul 14, 2011 at 01:29:44PM +0100, Roger Leigh wrote: On Thu, Jul 14, 2011 at 01:21:54PM +0200, Adam Borowski wrote: On Thu, Jul 14, 2011 at 12:15:40PM +0100, Roger Leigh wrote: On Thu, Jul 14, 2011 at 01:01:20PM

Bug#633845: initscripts: unupgradeable on vserver

2011-07-14 Thread Roger Leigh
On Thu, Jul 14, 2011 at 01:21:54PM +0200, Adam Borowski wrote: On Thu, Jul 14, 2011 at 12:15:40PM +0100, Roger Leigh wrote: On Thu, Jul 14, 2011 at 01:01:20PM +0200, Adam Borowski wrote: On Thu, Jul 14, 2011 at 11:57:29AM +0100, Roger Leigh wrote: What is the return value of ischroot in

Bug#633845: initscripts: unupgradeable on vserver

2011-07-14 Thread Clint Adams
On Thu, Jul 14, 2011 at 02:04:15PM +0100, Roger Leigh wrote: CCing Clint and Aurelien: Does this type of check belong in ischroot, or would it need adding to a separate (e.g. isvserver) tool? Is the scope of ischroot limited to plain chroot(2) chroots, Is the objective here to find out if one

Bug#633845: initscripts: unupgradeable on vserver

2011-07-14 Thread Roger Leigh
On Thu, Jul 14, 2011 at 03:11:12PM +, Clint Adams wrote: On Thu, Jul 14, 2011 at 02:04:15PM +0100, Roger Leigh wrote: CCing Clint and Aurelien: Does this type of check belong in ischroot, or would it need adding to a separate (e.g. isvserver) tool? Is the scope of ischroot limited to