(fwd) Bug#270919: Can you test a new version of sysvinit?
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 15 lines · Petter Reinholdtsen
My message was rejected from the mailing list. Perhaps you are interested, so I forward it directly to you.
----- Forwarded message from Petter Reinholdtsen <[email protected]> -----
X-Sieve: CMU Sieve 2.2
Date: Thu, 8 Sep 2005 22:48:00 +0200
From: Petter Reinholdtsen <[email protected]>
To: SE-Linux <[email protected]>
Bcc: Petter Reinholdtsen <[email protected]>
Subject: Re: [[email protected]: Bug#270919: Can you test a new version of sysvinit?]
X-UiO-Spam-info: not spam, SpamAssassin (score=-5.616, required 12,autolearn=disabled, ALL_TRUSTED -2.82, AWL 2.20, UIO_MAIL_IS_INTERNAL -5.00)
Quoted 8 lines
[Luke Kenneth Casson Leighton]
Quoted 3 lines
basically this simple fix - attempting "touch
/etc/mtab" as a test instead of "touch /etc" - stops a debian/selinux system getting into deeper and deeper shit :)The patch I applied just removed the test, it did not change it into a touch
/etc/mtab. Would that be a better fix? Better patches are welcome. :)
*thinks*
this is from memory, from over six months ago when i had the time to look at this stuff.
iirc selinux permissions are granted to initrc_t to write to /etc/mtab but not to /etc.
therefore i believe it is acceptable to allow the test to be "touch /etc/mtab" like wot i believe i wrote in followup messages to bugs.debian.org.
it's generally - no it's totally - bogus to assume that write permission to a directory being banned implies that files _in_ that directory are also banned.
selinux allows far finer grained permissions than the out-of-date [20-year-old] unix filesystem permissions.
anyway: if you think that you can get away with removing the test, _great_.
l.
Quoted 1 line
----- End forwarded message -----
Signature · 8 lines
-- <a href="http://lkcl.net">http://lkcl.net</a> -- -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.