Re: [PATCH] mount: add a search path for mount helpers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 15 January 2010 01:30:27 Kay Sievers wrote:
> On Fri, Jan 15, 2010 at 04:42, Mike Frysinger <vapier@xxxxxxxxxx> wrote:
> > Some mount helpers may live in /usr/sbin, so rewrite the helper function
> > check_special_mountprog() to work off a list of paths.  Now the default
> > search path is /sbin and /usr/sbin, and it should be easy to extend to
> > other locations as well.
> 
> Isn't this the same issue as discussed here? Where we decided not to
> support filesystem related stuff in /usr?
> 
>  "This is also my point of view. It's probably better to follow one
>   simple rule ({mount,mkfs,fsck}.<type> in /sbin) than discuss which
>   filesystem is important for the base system."

multiple issues:
 - i dont interpret that the same way you do
 - even interpreting it the way you do, i dont see it as a ban
 - fsck/mkfs support $PATH search because they arent setuid
 - fsck/mkfs hardcode a bunch of additional search paths
 - mount is the only one that ignores PATH completely and only hardcodes 
/sbin, presumably due to security issues

plus, i see no downside at all for people who ignore / and /usr split setups.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux