* Re: [uml-devel] [Pkg-uml-devel] Are you aware to 386945 and lkml 0609.2/1537.html [not found] ` <20061108081924.GA13080@SteX> @ 2006-11-12 22:43 ` Stefano Melchior 2006-11-17 22:09 ` Blaisorblade 0 siblings, 1 reply; 2+ messages in thread From: Stefano Melchior @ 2006-11-12 22:43 UTC (permalink / raw) To: user-mode-linux-devel, shaulka; +Cc: pkg-uml-devel [-- Attachment #1.1: Type: text/plain, Size: 2345 bytes --] On Wed, Nov 08, 2006 at 09:19:24AM +0100, Stefano Melchior wrote: Dear UML developer, it was reported by Debian users that the new convention in sysvinit package to prevent shm to be exec breaks some application. For this moment, I mean in order to allow the upcoming stable release Etch to be released, the changes to the package were reverted only to avoid dosemu and u-m-l package related not to be broken. As mentioned in the following mail [*], it would be possible to provide a kernel side support for this sysvinit security need: the patch linked at the http://uwsg.iu.edu/hypermail/linux/kernel/0609.2/1537.html can come in help. Would it be possible to manage this issue/need in order to introduce this patch in the kernel? What do you think it would be good to fix this issue? Thank you in advance SteX [*] > On Wed, Nov 08, 2006 at 01:57:36AM +0200, shaulka@012.net.il wrote: > Dear, > > I can't run rootstrap. I believe the reason is > > > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=386945 > > > > Just want to make sure you are aware of that. > > > > While searching about it, I came across > > http://uwsg.iu.edu/hypermail/linux/kernel/0609.2/1537.html. > > please, have a look at the #396506 which reported the same question, and > Mattia answered that it was already fixed in "sysvinit-2.86.ds1-28". This > should be ready for etch. > Anyway you cann temporaily add a line in the /etc/fstab such as the > following: > > shm /dev/shm tmpfs nodev,nosuid 0 0 > > and mount it. > Try again rootstrap. > > Cheers > > SteX > > -- > Stefano Melchior, GPG key = D52DF829 - <stefano.melchior@openlabs.it> > http://www.openlabs.it/~stex -- <stefano.melchior@openlabs.it> > http://etinarcadiaego.dyndns.org -- <ste@etinarcadiaego.dyndns.org> > Skype ID "stefanomelchior" > _______________________________________________ > Pkg-uml-devel mailing list > Pkg-uml-devel@lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/pkg-uml-devel -- Stefano Melchior, GPG key = D52DF829 - <stefano.melchior@openlabs.it> http://www.openlabs.it/~stex -- <stefano.melchior@openlabs.it> http://etinarcadiaego.dyndns.org -- <ste@etinarcadiaego.dyndns.org> Skype ID "stefanomelchior" [-- Attachment #1.2: Digital signature --] [-- Type: application/pgp-signature, Size: 307 bytes --] [-- Attachment #2: Type: text/plain, Size: 373 bytes --] ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 [-- Attachment #3: Type: text/plain, Size: 194 bytes --] _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [uml-devel] [Pkg-uml-devel] Are you aware to 386945 and lkml 0609.2/1537.html 2006-11-12 22:43 ` [uml-devel] [Pkg-uml-devel] Are you aware to 386945 and lkml 0609.2/1537.html Stefano Melchior @ 2006-11-17 22:09 ` Blaisorblade 0 siblings, 0 replies; 2+ messages in thread From: Blaisorblade @ 2006-11-17 22:09 UTC (permalink / raw) To: user-mode-linux-devel, stefano.melchior, Jeff Dike; +Cc: pkg-uml-devel, shaulka On Sunday 12 November 2006 23:43, Stefano Melchior wrote: > On Wed, Nov 08, 2006 at 09:19:24AM +0100, Stefano Melchior wrote: > Dear UML developer, > it was reported by Debian users that the new convention in sysvinit > package to prevent shm to be exec breaks some application. > For this moment, I mean in order to allow the upcoming stable release > Etch to be released, the changes to the package were reverted only to > avoid dosemu and u-m-l package related not to be broken. > > As mentioned in the following mail [*], it would be possible to provide a > kernel side support for this sysvinit security need: the patch linked at > the > > http://uwsg.iu.edu/hypermail/linux/kernel/0609.2/1537.html > > can come in help. Yes, the reasoning of that patch seems correct, and merging it would fix the problem also IMHO. I've just looked at reasoning behind patch refusal. I've followed the link on the email, and found the containing thread. Reading the thread from this point onwards may explain a bit more: http://marc.theaimsgroup.com/?l=full-disclosure&m=107451398723595&w=2 So, allowing /lib/ld-linux.so.2 /tmp/foo to work is bad (right) and that questionable patch to fix it was merged. A more proper patch would be needed to fix that. One of the strongest technical reasons for the patch to do that is that mapping with PROT_READ and remapping with PROT_EXEC is allowed. However, this also shows a possible horrible workaround for both UML and dosemu, i.e. exploiting this missing check. Both trivial to implement and kludgy to do. What do you think? > Would it be possible to manage this issue/need in order > to introduce this patch in the kernel? We can fix this issue by trying to merge the patch, if you mean this (I do not understand well your sentence), but it seems difficult to merge it. > What do you think it would be good to fix this issue? > Thank you in advance > > SteX > > [*] > > > On Wed, Nov 08, 2006 at 01:57:36AM +0200, shaulka@012.net.il wrote: > > Dear, > > > > > I can't run rootstrap. I believe the reason is > > > > > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=386945 > > > > > > Just want to make sure you are aware of that. > > > > > > While searching about it, I came across > > > http://uwsg.iu.edu/hypermail/linux/kernel/0609.2/1537.html. > > > > please, have a look at the #396506 which reported the same question, and > > Mattia answered that it was already fixed in "sysvinit-2.86.ds1-28". This > > should be ready for etch. -- Inform me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-11-17 22:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <335f7ed41.45513990@default.domain>
[not found] ` <20061108081924.GA13080@SteX>
2006-11-12 22:43 ` [uml-devel] [Pkg-uml-devel] Are you aware to 386945 and lkml 0609.2/1537.html Stefano Melchior
2006-11-17 22:09 ` Blaisorblade
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox