Bug#993957: (no subject)
Package: schroot
Version: 1.6.10-12
Severity: important
schroot 1.6.10 (04 May 2014) fails with a continuous attempt to read
a non-existent subdirectory, /run/systemd/userdb, when operating a
type "directory" schroot.
a type "plain" does not have this same issue.
creating the missing subdirectory manually "allows" the schroot to "proceed"
without errors.
please - do not summarily dismiss this bugreport "just because systemd is
not installed". it is a *CHROOT*. it is *INAPPROPRIATE* to install
systemd or expect systemd to be a critical dependency within a MINIMALIST
chroot.
-- System Information:
(REMOVED DUE TO NOT BEING ON THE TARGET SYSTEM)
Kernel: Linux 5.6.0-1-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-- no debconf information
openat(AT_FDCWD, "/run/systemd/userdb/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/run/systemd/userdb/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
mmap(NULL, 34359742464, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6239d9f000
munmap(0x7f6a39da0000, 17179873280) = 0
openat(AT_FDCWD, "/etc/group", O_RDONLY|O_CLOEXEC) = 5
lseek(5, 0, SEEK_CUR) = 0
fstat(5, {st_mode=S_IFREG|0644, st_size=660, ...}) = 0
read(5, "root:x:0:\ndaemon:x:1:\nbin:x:2:\ns"..., 4096) = 660
lseek(5, 0, SEEK_CUR) = 660
read(5, "", 4096) = 0
close(5) = 0
rt_sigprocmask(SIG_BLOCK, [HUP USR1 USR2 PIPE ALRM CHLD TSTP URG VTALRM PROF WINCH IO], [], 8) = 0
openat(AT_FDCWD, "/run/systemd/userdb/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/run/systemd/userdb/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
mmap(NULL, 68719480832, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5239d9e000
munmap(0x7f6239d9f000, 34359742464) = 0
openat(AT_FDCWD, "/etc/group", O_RDONLY|O_CLOEXEC) = 5
lseek(5, 0, SEEK_CUR) = 0
fstat(5, {st_mode=S_IFREG|0644, st_size=660, ...}) = 0
read(5, "root:x:0:\ndaemon:x:1:\nbin:x:2:\ns"..., 4096) = 660
lseek(5, 0, SEEK_CUR) = 660
read(5, "", 4096) = 0
close(5) = 0
rt_sigprocmask(SIG_BLOCK, [HUP USR1 USR2 PIPE ALRM CHLD TSTP URG VTALRM PROF WINCH IO], [], 8) = 0
openat(AT_FDCWD, "/run/systemd/userdb/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/run/systemd/userdb/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
mmap(NULL, 137438957568, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
brk(0x564c49ed1000) = 0x562c49ed1000
mmap(NULL, 137439088640, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
futex(0x7f723a5af1a0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
munmap(0x7f5239d9e000, 68719480832) = 0
write(2, "E: ", 3) = 3
write(2, "std::bad_alloc", 14) = 14
write(2, "\n", 1) = 1
close(4) = 0
close(3) = 0
exit_group(1) = ?
+++ exited with 1 +++
Reply to:
- Follow-Ups:
- Bug#993957:
- From: "Adam D. Barratt" <adam@adam-barratt.org.uk>