[Bug 224185] Re: /var/lib/mlocate does not respect Unix FHS

Thomas Hotz thomas.hotz at gmail.com
Fri Nov 30 10:56:08 UTC 2012


** Changed in: mlocate (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mlocate in Ubuntu.
https://bugs.launchpad.net/bugs/224185

Title:
  /var/lib/mlocate does not respect Unix FHS

Status in “mlocate” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: mlocate

  The package findutils once moved /var/lib/locate to /var/cache/locate,
  witness the following comment in
  /var/lib/dpkg/info/findutils.postinst:

  if [ "$1" = "configure" ]; then
    # up to 4.1.7-2 locatedb was in non-FHS-dir /var/lib/locate
    if dpkg --compare-versions "$2" le-nl "4.1.7-2" ; then
      if [ -f /var/lib/locate/locatedb ]; then
        mv /var/lib/locate/locatedb /var/cache/locate/
        rmdir /var/lib/locate 2>/dev/null || true

  The same should apply to mlocate.
  I'm using 0.18-2ubuntu1 on a system upgraded from Gutsy to Hardy (release).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mlocate/+bug/224185/+subscriptions




More information about the foundations-bugs mailing list