[Bug 672643] Re: make test fails on xfs filesystem
Bug Watch Updater
672643 at bugs.launchpad.net
Tue Jan 1 01:54:56 UTC 2013
** Changed in: libnih (Debian)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libnih in Ubuntu.
https://bugs.launchpad.net/bugs/672643
Title:
make test fails on xfs filesystem
Status in NIH Utility Library:
Triaged
Status in “libnih” package in Ubuntu:
Fix Released
Status in “libnih” package in Debian:
Fix Released
Status in “upstart” package in Fedora:
Unknown
Bug description:
If there is used xfs fs on /tmp, upstart make check fails on:
BAD: wrong value for block file, got unexpected NULL
at tests/test_conf.c:244 (test_source_reload_job_dir).
It's because in libnih library there is a test if an entity is a directory based on struct dirent returned by
readdir(3):
nih/file.c:644 if (filter && filter (data, subpath, ent->d_type ==
DT_DIR))
but used item d_type is not supported by all filesystem like xfs,
reiserfs and so on.
To manage notifications about this bug go to:
https://bugs.launchpad.net/libnih/+bug/672643/+subscriptions
More information about the foundations-bugs
mailing list