Red Hat Bugzilla – Bug 64895
Build of ncpfs writes to /sbin directory
Last modified: 2007-04-18 12:42:34 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2)
Description of problem:
In the course of building (not installing) the ncpfs-18.104.22.168-6 package, a file
is written to the /sbin directory. Worse, it is a dangling symlink that
overwrites a valid symlink.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.On a RedHat v7.3 system run this command:
rpm --rebuild ncpfs-22.214.171.124-6.src.rpm
2. When the build is complete you will see a new file in /sbin. I recommend
sort the directory listing by date.
Actual Results: After the build is complete, this file is observed in /sbin:
lrwxrwxrwx 1 root root 45 May 12 06:09 mount.ncp ->
Expected Results: No process should write to /sbin during the build of a SRPM
Additional info: The ncpfs-126.96.36.199-6.src.rpm package was gotten from the
standard RH v7.3 distribution CD.
The build of this packages also writes to /usr/lib. Specifically, the file
"libncp.a" is written to this directory in the course of the build.
Fixed in release 9 or newer rpms.
Florian La Roche