pbuilder: Rechteprobleme mit /dev/null
Hallo,
ich habe da ein Problem mit pbuilder, das ich überhaupt nicht verstehe:
$ pbuilder update --distribution woody
W: /root/.pbuilderrc does not exist
Upgrading for distribution woody
[...]
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Copying back the cached apt archive contents
-> unmounting proc filesystem
-> unmounting dev/pts filesystem
-> creating base tarball [/var/cache/pbuilder/base.tgz]
-> cleaning the build env
alhambra:/var/cache# pbuilder login
W: /root/.pbuilderrc does not exist
Building the build Environment
-> extracting base tarball [/var/cache/pbuilder/base.tgz]
-> creating local configuration
-> copying local configuration
-> mounting /proc filesystem
-> mounting /dev/pts filesystem
-> entering the shell
File extracted to: /var/cache/pbuilder/build//7887
alhambra:/# ls -l /dev/null
crw-rw-rw- 1 root root 1, 3 Jul 15 14:31 /dev/null
alhambra:/# echo hallo >/dev/null
bin/bash: /dev/null: Permission denied
alhambra:/# cat /dev/null
cat: /dev/null: Permission denied
alhambra:/#
Wieso darf ich da nicht hinschreiben oder von dort lesen? Die
unangenehme Folge ist, dass sämtliche postinst-Skripte mit
if $KOMMANDO >/dev/null 2>&1; then...
natürlich fehlschlagen.
TIA, Frank
--
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie
Reply to: