tech-kern archive

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

Re: Problem with "chown"



And from a recent "build.sh -u release" I have the same thing:

# cd /build/netbsd-local/dest/amd64/
# ls -l sbin/chown usr/sbin/chown
-r-xr-xr-x  1 root  wheel  12629 Jun 24 11:11 sbin/chown
lrwxrwxr-x  1 root  wheel     11 Mar 26 10:52 usr/sbin/chown -> /sbin/chown
#


On Wed, 27 Jun 2012, Paul Goyette wrote:

This is on a 6.99.5 port-amd64 from early April...

# where chown | xargs ls -l
-r-xr-xr-x  1 root  wheel  12629 Apr 20 18:39 /sbin/chown
lrwxrwxr-x  1 root  wheel     11 Mar 26 10:52 /usr/sbin/chown -> /sbin/chown
#



On Wed, 27 Jun 2012, David Lord wrote:


Problem with "chown"

I've found that I have two files on with same name
on several of my systems:


-r-xr-xr-x  2 root  wheel  9256 Feb  2 16:54 /usr/sbin/chown
MD5 (/usr/sbin/chown) = fce92081f7907b04f0063e2f17f7f4e6
 9256  Feb  2  16:54  /usr/sbin/chown
above seems to work as expected


-r-xr-xr-x  1 root  wheel  9193 May 23 06:02 /sbin/chown
MD5 (/sbin/chown) = bd76dbd35bd23c59dbf224c831387a86
 9193  May 23  06:02  /sbin/chown
this gives an error
/sbin/chown: Undefined PLT symbol "_libc_init" (symnum =17)


I've not yet tracked down where the broken version
comes from, cdrom or build from source or other.


Anyone else seen this?


David








-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------

!DSPAM:4feb8c922391410361320!




-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index