Re: Root file system skipped when mlocate (updatedb) is run via systemd timer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

On Wed, 18 Aug 2021 16:34:50 +0100 Patrick O'Callaghan wrote:

> On Wed, 2021-08-18 at 15:25 +0000, Jan-Henrik Sorsimo via users wrote:

>> I took a look at the service unit file
>> (/usr/lib/systemd/system/mlocate-updatedb.service). It has some
>> sandboxing features set. When I set the value of "ProtectSystem" to
>> either "false" or "strict", a manual run of the service does include
>> the files under /usr in the database. Other options result in the
>> behavior mentioned.

>> I can't see what sense this makes. That setting is supposed to just
>> cover what gets mounted read-only. A systemd bug?

I see the same behavior since using a btrfs subvol for /

Commenting PRUNE_BIND_MOUNTS = "yes" in /etc/updatedb.conf solves this
problem.

> I have the inverse problem, i.e. locate will find files in the root
> filesystem but not in my /home.

May be the same cause ...

-- 
francis
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux