[Bug 672643] Re: make test fails on xfs filesystem

Launchpad Bug Tracker 672643 at bugs.launchpad.net
Wed Dec 12 04:55:17 UTC 2012


This bug was fixed in the package libnih - 1.0.3-4ubuntu13

---------------
libnih (1.0.3-4ubuntu13) raring; urgency=low

  [ Petr Lautrbach <plautrba at redhat.com>, Dmitrijs Ledkovs ]
  * Fallback to lstat, if dirent.d_type is not available (not portable)
    (LP: #672643) (Closes: #695604)
 -- Dmitrijs Ledkovs <dmitrij.ledkov at ubuntu.com>   Tue, 11 Dec 2012 17:26:52 +0000

** Changed in: libnih (Ubuntu)
       Status: Triaged => 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:
  New
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