Re: Who moved my journald.conf?

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

 



On Wed, 2024-05-08 at 01:12 +0200, Michael Schwendt wrote:
> On Tue, 07 May 2024 23:22:53 +0100, Patrick O'Callaghan wrote:
> 
> > In that case I assume it was put there under F39. Seems very odd
> > that
> > the upgrade just kept it in addition to the one in
> > /usr/lib/systemd.
> 
> Depends.
> 
> You cannot rely on just "rpm -qf ..." since that only queries the
> package
> file list regardless of what the file contents are. And that includes
> %ghost files which possibly don't exist. Also, it is not only a
> %ghost
> file but also still marked as %config, and if it has been modified by
> you,
> RPM package upgrades would handle it like a config file.

As stated earlier, it hasn't been modified by me.

> What is in your /etc/systemd/journald.conf file compared with the
> default in /usr/lib/systemd/journald.conf?

They are identical except for comments:

$ diff /etc/systemd/journald.conf /usr/lib/systemd/journald.conf
9,11c9,13
< # should be created by either modifying this file, or by creating "drop-ins" in
< # the journald.conf.d/ subdirectory. The latter is generally recommended.
< # Defaults can be restored by simply deleting this file and all drop-ins.
---
> # should be created by either modifying this file (or a copy of it placed in
> # /etc/ if the original file is shipped in /usr/), or by creating "drop-ins" in
> # the /etc/systemd/journald.conf.d/ directory. The latter is generally
> # recommended. Defaults can be restored by simply deleting the main
> # configuration file and all drop-ins located in /etc/.

poc
--
_______________________________________________
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, report it: https://pagure.io/fedora-infrastructure/new_issue



[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