Bug 708337

Summary: ncpmount can't update /etc/mtab
Product: [Fedora] Fedora Reporter: vvs <vvs009>
Component: ncpfsAssignee: Orphan Owner <extras-orphan>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: armandsl, mikioma, vcrhonek
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-07 16:11:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description vvs 2011-05-27 10:47:13 UTC
Description of problem:

While trying to mount remote volume from a server over ncp, ncpmount and ncpumount produced some warnings about not being able to update /etc/mtab. Actually it does mount and unmount things, except it can't update /etc/mtab.

Version-Release number of selected component (if applicable):

ncpfs-2.2.6-14

How reproducible:

Always

Steps to Reproduce:
1. ncpmount /some/thing
2. ncpumount /some/thing
  
Actual results:

After ncpmount: "Can't set perms on /etc/mtab"
After ncpumount: "Can't get /etc/mtab~ lock file: File exists"

Expected results:


Additional info:

Looks like it doesn't like the fact that /etc/mtab is a symbolic link now, perhaps it expect it to be a regular file instead.

Comment 1 Miguel Angel 2011-10-07 07:13:12 UTC
Same problem here using Fedora 15 x86_64.

Besides, "suspend" fails if I don't manually "umount" NCPFS mounts before suspending (I'm opening a separate bug for this issue).

Comment 2 Miguel Angel 2012-01-03 12:05:24 UTC
Still happens on Fedora 16.

uname -a: Linux dscpu017 3.1.6-1.fc16.x86_64 #1 SMP Wed Dec 21 22:41:17 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
ncpfs package version: 2.2.6-14.fc15

Comment 3 Armands Liepins 2012-05-15 14:35:19 UTC
It can't update /etc/mtab because starting with fedora 15 it is symlink to read-only /proc/self/mounts. The lock file is left behind due to bug in the source code. Btw, ncplogin (and probably some more utils) is broken too and still not fixed on Fedora 17.

Comment 4 Fedora End Of Life 2012-08-07 16:11:39 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping