Bug#378283: [Buildd-tools-devel] Bug#378283: Fails with "dpkg
--set-selections failed"
Martin Michlmayr
tbm at cyrius.com
Sat Jul 15 15:42:23 UTC 2006
* Roger Leigh <rleigh at whinlatter.ukfsn.org> [2006-07-15 15:27]:
> It looks like su is not functioning correctly. I don't see why.
>
> In the chroot:
> Does /bin/su exist?
> Does root exist in /etc/passwd?
Hmm, how odd.
342:tbm at prehension: ~/build] sudo chroot chroot-unstable /bin/sh
sh-3.1# ls -l /bin/su
-rwsr-xr-x 1 root root 24952 Jun 10 17:31 /bin/su
sh-3.1# grep root /etc/passwd
root::0:0:root:/root:/bin/bash
sh-3.1# grep root /etc/group
root:*:0:
sh-3.1# /bin/su -c 'ls -la'
total 88
drwxr-xr-x 22 root root 4096 Jul 15 00:59 .
drwxr-xr-x 22 root root 4096 Jul 15 00:59 ..
drwxr-xr-x 2 root root 4096 Jul 14 23:44 bin
...
drwxr-xr-x 13 root root 4096 Jul 14 23:42 var
sh-3.1# /bin/su -p root -c 'ls -la'
sh-3.1#
> Is anything logged to syslog/auth.log?
Nope.
Which version of login do you have installed?
sh-3.1# dpkg -S /bin/su
login: /bin/su
sh-3.1# dpkg -l login
ii login 4.0.16-2 system login tools
Hmm, why do I not have 4.0.17-2 when I'm running sid, odd. OK,
upgrading to 4.0.17-2 didn't help.
--
Martin Michlmayr
http://www.cyrius.com/
More information about the Buildd-tools-devel
mailing list