On Sat, Jan 15, 2011 at 01:49:49PM -0600, Steve Langasek wrote: > > In fact, I used to relly on "mount -a" exit status to know if I have > > everything mounted or not, and with this bug you cannot issue a "mount -a" > > as you'll get all the cifs shares mounted again.
> I believe this is only the case when the path written to /etc/mtab differs > from that in /etc/fstab - most commonly because of the extra / that gets > appended to the /etc/mtab entry with recent versions of mount.cifs. This is > a behavior change that doesn't make much sense (it's inconsistent with NFS > mtab handling, for instance), but I'm not sure we're going to get it > reverted soon enough to make a difference. Oh; looking at the last few messages, I see that there's another case where this bug can occur - when using 'smbfs' as the filesystem type in /etc/fstab instead of 'cifs'. The only way to correct for this, AFAICS, is to drop the mount.smbfs compatibility wrapper entirely. If you're using smbfs in your /etc/fstab and are not happy with the resulting behavior, please switch your entries over to 'cifs' which is what you should use anyway now. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
signature.asc
Description: Digital signature