Re: [nfs-utils PATCH 1/1] mount: Do not overwrite /etc/mtab if it's symlink

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

 



Hi Steve,

> On 11/20/19 1:35 PM, Petr Vorel wrote:
> > From: Joey Hess <joeyh@xxxxxxxxxx>

> > Some systems have /etc/mtab symlink to /proc/mounts. In that case
> > mount.nfs complains:
> > Can't set permissions on mtab: Operation not permitted

> > See https://bugs.debian.org/476577

> > This change makes mount.nfs handle symlinked /etc/mtab the way
> > umount.nfs and util- linux handle it.

> > Cc: Chuck Lever <chuck.lever@xxxxxxxxxx>
> > Signed-off-by: Joey Hess <joeyh@xxxxxxxxxx>
> > [ pvorel: took patch from Debian, rebased for 2.4.3-rc1 and created commit
> > message. Patch is also used in Gentoo. ]
> > Signed-off-by: Petr Vorel <petr.vorel@xxxxxxxxx>
> Committed... (tag: nfs-utils-2-4-3-rc2)
I'm sorry for introducing a regression.

Send a patch fixing this.
https://patchwork.kernel.org/patch/11258155/

> steved.

Kind regards,
Petr



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux