[Bug 1891527] Re: systemd unit tests need updates for Linux 5.8 and later
Bug Watch Updater
1891527 at bugs.launchpad.net
Tue Aug 18 02:05:47 UTC 2020
** Changed in: systemd
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1891527
Title:
systemd unit tests need updates for Linux 5.8 and later
Status in systemd:
Fix Released
Status in systemd package in Ubuntu:
New
Bug description:
Linux 5.8 allows unprivileged creation of whiteout devices, causing a
couple of test failures in systemd:
====== test-fs-util =======
/* test_chase_symlinks */
/* test_unlink_noerrno */
/* test_readlink_and_make_absolute */
/* test_var_tmp */
/* test_dot_or_dot_dot */
/* test_access_fd */
/* test_touch_file */
Assertion 'mknod(a, 0775 | S_IFBLK, makedev(0, 0)) >= 0' failed at src/test/test-fs-util.c:637, function test_touch_file(). Aborting.
FAIL: test-fs-util (code: 134)
...
====== test-stat-util =======
Assertion 'stat(path, &st) >= 0' failed at src/test/test-stat-util.c:126, function test_device_path_make_canonical_one(). Aborting.
FAIL: test-stat-util (code: 134)
test-fs-util succeeds in making a character device with major/minor
0,0, and thus assumes it will be able to create other devices, but it
cannot.
test-stat-util assumes that because /run/systemd/inaccessible/chr
exists /run/systemd/inaccessible/blk should also exist, but it does
not for the same reason.
To manage notifications about this bug go to:
https://bugs.launchpad.net/systemd/+bug/1891527/+subscriptions
More information about the foundations-bugs
mailing list