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

Dmitrijs Ledkovs launchpad at surgut.co.uk
Mon Dec 10 15:19:28 UTC 2012


brahms.debian.org is running / on xfs [1] and sees hence upstart test
suite fails. [2]

I can confirm that the attach fix solves the problem with /tmp using XFS
on both raring/ubuntu and stable/debian.

To reproduce the problem: simply mount /tmp as xfs.

[1] https://buildd.debian.org/status/fetch.php?pkg=procenv&arch=amd64&ver=0.18-1&stamp=1355134790
[2] https://buildd.debian.org/status/logs.php?pkg=upstart&arch=amd64

** Also affects: libnih (Ubuntu)
   Importance: Undecided
       Status: New

-- 
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:
  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