[buildd-tools-devel] Bug#566513: kfreebsd: file name too long problem?

Jens Thiele karme at berlios.de
Mon Feb 1 20:45:33 UTC 2010


Aurelien Jarno <aurelien at aurel32.net> writes:

> Jens Thiele a écrit :
>> How did you work around the "file name too long" error message when
>> using the nullfs for the bind mount?
>> 
>
> I haven't seen such a problem. Do you have more details about it?

The mount seems to hit a length limit:

I: 10mount: /usr/local/sbuild_squeeze on /var/lib/schroot/mount/stable-kfreebsd-amd64-9fd8ecd7-a5a8-4501-8211-9d39584c27f (nullfs, local)
F: 10mount: mount: proc : File name too long

Two transcripts folow (i should have disabled the german, sorry).
First one failing, second one using schroot -n works - limit not
reached.

io:/var/lib/schroot/session# schroot -p -v -c stable-kfreebsd-amd64
I: »00check setup-start ok« wird gestartet
I: 00check: AUTH_USER=root
I: 00check: AUTH_RUSER=root
I: 00check: AUTH_RGROUP=root
I: 00check: AUTH_UID=0
I: 00check: AUTH_GID=0
I: 00check: AUTH_RUID=0
I: 00check: AUTH_RGID=0
I: 00check: AUTH_HOME=/root
I: 00check: AUTH_SHELL=/bin/bash
I: 00check: AUTH_VERBOSITY=verbose
I: 00check: MOUNT_DIR=/var/lib/schroot/mount
I: 00check: LIBEXEC_DIR=/usr/lib/schroot
I: 00check: PID=1734
I: 00check: SESSION_ID=stable-kfreebsd-amd64-9fd8ecd7-a5a8-4501-8211-9d39584c27f3
I: 00check: CHROOT_TYPE=directory
I: 00check: CHROOT_NAME=stable-kfreebsd-amd64-9fd8ecd7-a5a8-4501-8211-9d39584c27f3
I: 00check: CHROOT_DESCRIPTION=Debian squeeze/kfreebsd-amd64 autobuilder (session chroot)
I: 00check: CHROOT_SCRIPT_CONFIG=/etc/schroot/script-defaults
I: 00check: CHROOT_MOUNT_LOCATION=/var/lib/schroot/mount/stable-kfreebsd-amd64-9fd8ecd7-a5a8-4501-8211-9d39584c27f3
I: 00check: CHROOT_LOCATION=
I: 00check: CHROOT_PATH=/var/lib/schroot/mount/stable-kfreebsd-amd64-9fd8ecd7-a5a8-4501-8211-9d39584c27f3
I: 00check: CHROOT_DIRECTORY=/usr/local/sbuild_squeeze
I: 00check: CHROOT_SESSION_CREATE=false
I: 00check: CHROOT_SESSION_CLONE=false
I: 00check: CHROOT_SESSION_PURGE=false
I: 00check: FSTAB=/etc/schroot/mount-defaults
I: 00check: NSSDATABASES=/etc/schroot/nssdatabases-defaults
I: »05file setup-start ok« wird gestartet
I: »05lvm setup-start ok« wird gestartet
I: »05union setup-start ok« wird gestartet
I: »10mount setup-start ok« wird gestartet
I: 10mount: Mounting /usr/local/sbuild_squeeze on /var/lib/schroot/mount/stable-kfreebsd-amd64-9fd8ecd7-a5a8-4501-8211-9d39584c27f3
I: 10mount: /usr/local/sbuild_squeeze on /var/lib/schroot/mount/stable-kfreebsd-amd64-9fd8ecd7-a5a8-4501-8211-9d39584c27f (nullfs, local)
F: 10mount: mount: proc : File name too long
I: »99check setup-stop fail« wird gestartet
I: 99check: AUTH_USER=root
I: 99check: AUTH_RUSER=root
I: 99check: AUTH_RGROUP=root
I: 99check: AUTH_UID=0
I: 99check: AUTH_GID=0
I: 99check: AUTH_RUID=0
I: 99check: AUTH_RGID=0
I: 99check: AUTH_HOME=/root
I: 99check: AUTH_SHELL=/bin/bash
I: 99check: AUTH_VERBOSITY=verbose
I: 99check: MOUNT_DIR=/var/lib/schroot/mount
I: 99check: LIBEXEC_DIR=/usr/lib/schroot
I: 99check: PID=1734
I: 99check: SESSION_ID=stable-kfreebsd-amd64-9fd8ecd7-a5a8-4501-8211-9d39584c27f3
I: 99check: CHROOT_TYPE=directory
I: 99check: CHROOT_NAME=stable-kfreebsd-amd64-9fd8ecd7-a5a8-4501-8211-9d39584c27f3
I: 99check: CHROOT_DESCRIPTION=Debian squeeze/kfreebsd-amd64 autobuilder (session chroot)
I: 99check: CHROOT_SCRIPT_CONFIG=/etc/schroot/script-defaults
I: 99check: CHROOT_MOUNT_LOCATION=/var/lib/schroot/mount/stable-kfreebsd-amd64-9fd8ecd7-a5a8-4501-8211-9d39584c27f3
I: 99check: CHROOT_LOCATION=
I: 99check: CHROOT_PATH=/var/lib/schroot/mount/stable-kfreebsd-amd64-9fd8ecd7-a5a8-4501-8211-9d39584c27f3
I: 99check: CHROOT_DIRECTORY=/usr/local/sbuild_squeeze
I: 99check: CHROOT_SESSION_CREATE=false
I: 99check: CHROOT_SESSION_CLONE=false
I: 99check: CHROOT_SESSION_PURGE=false
I: 99check: FSTAB=/etc/schroot/mount-defaults
I: 99check: NSSDATABASES=/etc/schroot/nssdatabases-defaults
I: »50chrootname setup-stop fail« wird gestartet
I: »20nssdatabases setup-stop fail« wird gestartet
I: »20copyfiles setup-stop fail« wird gestartet
I: »15killprocs setup-stop fail« wird gestartet
I: 15killprocs: Killing processes run inside /var/lib/schroot/mount/stable-kfreebsd-amd64-9fd8ecd7-a5a8-4501-8211-9d39584c27f3
I: »10mount setup-stop fail« wird gestartet
I: 10mount: Unmounting /var/lib/schroot/mount/stable-kfreebsd-amd64-9fd8ecd7-a5a8-4501-8211-9d39584c27f3
F: 10mount: umount: 
F: stable-kfreebsd-amd64-9fd8ecd7-a5a8-4501-8211-9d39584c27f3: Einrichten des Chroots fehlgeschlagen: Schritt=setup-start


io:/var/lib/schroot/session# schroot -n test -p -v -c stable-kfreebsd-amd64
I: »00check setup-start ok« wird gestartet
I: 00check: AUTH_USER=root
I: 00check: AUTH_RUSER=root
I: 00check: AUTH_RGROUP=root
I: 00check: AUTH_UID=0
I: 00check: AUTH_GID=0
I: 00check: AUTH_RUID=0
I: 00check: AUTH_RGID=0
I: 00check: AUTH_HOME=/root
I: 00check: AUTH_SHELL=/bin/bash
I: 00check: AUTH_VERBOSITY=verbose
I: 00check: MOUNT_DIR=/var/lib/schroot/mount
I: 00check: LIBEXEC_DIR=/usr/lib/schroot
I: 00check: PID=1537
I: 00check: SESSION_ID=test
I: 00check: CHROOT_TYPE=directory
I: 00check: CHROOT_NAME=test
I: 00check: CHROOT_DESCRIPTION=Debian squeeze/kfreebsd-amd64 autobuilder (session chroot)
I: 00check: CHROOT_SCRIPT_CONFIG=/etc/schroot/script-defaults
I: 00check: CHROOT_MOUNT_LOCATION=/var/lib/schroot/mount/test
I: 00check: CHROOT_LOCATION=
I: 00check: CHROOT_PATH=/var/lib/schroot/mount/test
I: 00check: CHROOT_DIRECTORY=/usr/local/sbuild_squeeze
I: 00check: CHROOT_SESSION_CREATE=false
I: 00check: CHROOT_SESSION_CLONE=false
I: 00check: CHROOT_SESSION_PURGE=false
I: 00check: FSTAB=/etc/schroot/mount-defaults
I: 00check: NSSDATABASES=/etc/schroot/nssdatabases-defaults
I: »05file setup-start ok« wird gestartet
I: »05lvm setup-start ok« wird gestartet
I: »05union setup-start ok« wird gestartet
I: »10mount setup-start ok« wird gestartet
I: 10mount: Mounting /usr/local/sbuild_squeeze on /var/lib/schroot/mount/test
I: 10mount: /usr/local/sbuild_squeeze on /var/lib/schroot/mount/test (nullfs, local)
I: 10mount: linprocfs on /var/lib/schroot/mount/test/proc (linprocfs, local)
I: 10mount: devfs on /var/lib/schroot/mount/test/dev (devfs)
I: 10mount: fdescfs on /var/lib/schroot/mount/test/dev/fd (fdescfs)
I: »15killprocs setup-start ok« wird gestartet
I: »20copyfiles setup-start ok« wird gestartet
I: »20nssdatabases setup-start ok« wird gestartet
I: 20nssdatabases: Copying passwd database to /var/lib/schroot/mount/test/etc/passwd
I: 20nssdatabases: Copying shadow database to /var/lib/schroot/mount/test/etc/shadow
I: 20nssdatabases: Copying group database to /var/lib/schroot/mount/test/etc/group
I: 20nssdatabases: Copying services database to /var/lib/schroot/mount/test/etc/services
I: 20nssdatabases: Copying protocols database to /var/lib/schroot/mount/test/etc/protocols
I: 20nssdatabases: Copying networks database to /var/lib/schroot/mount/test/etc/networks
I: 20nssdatabases: Copying hosts database to /var/lib/schroot/mount/test/etc/hosts
I: »50chrootname setup-start ok« wird gestartet
I: 50chrootname: Setting chroot name to test
I: »99check setup-start ok« wird gestartet
W: Wechsel in das Verzeichnis »/var/lib/schroot/session« fehlgeschlagen: No such file or directory
W: Stattdessen wird das Verzeichnis »/root« verwendet
I: [Chroot test] Shell »/bin/bash« gestartet
bash: no job control in this shell
io:~# exit
exit
I: »99check setup-stop ok« wird gestartet
I: 99check: AUTH_USER=root
I: 99check: AUTH_RUSER=root
I: 99check: AUTH_RGROUP=root
I: 99check: AUTH_UID=0
I: 99check: AUTH_GID=0
I: 99check: AUTH_RUID=0
I: 99check: AUTH_RGID=0
I: 99check: AUTH_HOME=/root
I: 99check: AUTH_SHELL=/bin/bash
I: 99check: AUTH_VERBOSITY=verbose
I: 99check: MOUNT_DIR=/var/lib/schroot/mount
I: 99check: LIBEXEC_DIR=/usr/lib/schroot
I: 99check: PID=1537
I: 99check: SESSION_ID=test
I: 99check: CHROOT_TYPE=directory
I: 99check: CHROOT_NAME=test
I: 99check: CHROOT_DESCRIPTION=Debian squeeze/kfreebsd-amd64 autobuilder (session chroot)
I: 99check: CHROOT_SCRIPT_CONFIG=/etc/schroot/script-defaults
I: 99check: CHROOT_MOUNT_LOCATION=/var/lib/schroot/mount/test
I: 99check: CHROOT_LOCATION=
I: 99check: CHROOT_PATH=/var/lib/schroot/mount/test
I: 99check: CHROOT_DIRECTORY=/usr/local/sbuild_squeeze
I: 99check: CHROOT_SESSION_CREATE=false
I: 99check: CHROOT_SESSION_CLONE=false
I: 99check: CHROOT_SESSION_PURGE=false
I: 99check: FSTAB=/etc/schroot/mount-defaults
I: 99check: NSSDATABASES=/etc/schroot/nssdatabases-defaults
I: »50chrootname setup-stop ok« wird gestartet
I: »20nssdatabases setup-stop ok« wird gestartet
I: »20copyfiles setup-stop ok« wird gestartet
I: »15killprocs setup-stop ok« wird gestartet
I: 15killprocs: Killing processes run inside /var/lib/schroot/mount/test
I: »10mount setup-stop ok« wird gestartet
I: 10mount: Unmounting /var/lib/schroot/mount/test/dev/fd
I: 10mount: Unmounting /var/lib/schroot/mount/test/dev
I: 10mount: Unmounting /var/lib/schroot/mount/test/proc
I: 10mount: Unmounting /var/lib/schroot/mount/test
I: »05union setup-stop ok« wird gestartet
I: »05lvm setup-stop ok« wird gestartet
I: »05file setup-stop ok« wird gestartet
I: »00check setup-stop ok« wird gestartet





More information about the Buildd-tools-devel mailing list