lkml.org 
[lkml]   [2001]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectsmbmount is unfriendly to RO root fs
Hello Samba folks,

I keep my root fs RO.
My /etc/mtab is symlinked to /proc/mounts.

When i try
# mount -t smbfs //host/share /mnt
mount fails trying to modify /etc/mtab.

# mount -n -t smbfs //host/share /mnt
fails too ( -n is unsupported for smbmount)

Moreover, since I use automount, even fixing smbmount
to support -n would not work: automount will not
pass -n to smbmount.

The most sensible way to make smbmount work is to
print some diagnostic ("can't update /etc/mtab")
and continue.

And yes, I verified that with RW root fs it works.
Given amount of troubles I have with RO root,
I think not many people actually trying this
(which is excellent security measure),
and lots of tools break (ldconfig, /dev/log etc etc etc).
--
Best regards, VDA
mailto:VDA@port.imtp.ilyichevsk.odessa.ua


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.085 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site