Bug ID 1223617
Summary systemd-tmpfiles-setup finds configuration in /etc/tmpfiles.d as duplicate instead of overridding base config
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.5
Hardware x86-64
OS openSUSE Leap 15.5
Status NEW
Severity Normal
Priority P5 - None
Component Basesystem
Assignee screening-team-bugs@suse.de
Reporter ethan.bonick@ibm.com
QA Contact qa-bugs@suse.de
Target Milestone ---
Found By ---
Blocker ---

Systemd is not overwriting but marking as duplicate and ignores desired changes
in configuration files. This is also seen on SUSE 15.SP5 as both are using the
same version of systemd.

foobar:~ # rpm -qa |grep systemd
systemd-lang-249.17-150400.8.40.1.noarch
systemd-presets-common-SUSE-15-150500.20.6.1.noarch
systemd-default-settings-branding-openSUSE-0.10-150300.3.7.1.noarch
python3-systemd-234-5.3.5.x86_64
systemd-default-settings-0.10-150300.3.7.1.noarch
systemd-249.17-150400.8.40.1.x86_64
systemd-sysvinit-249.17-150400.8.40.1.x86_64
systemd-rpm-macros-15-150000.7.39.1.noarch
libsystemd0-249.17-150400.8.40.1.x86_64
util-linux-systemd-2.37.4-150500.9.6.1.x86_64
systemd-presets-branding-openSUSE-12.2-lp155.4.5.noarch
systemd-network-249.17-150400.8.40.1.x86_64
grub2-systemd-sleep-plugin-2.06-150500.29.25.12.noarch
systemd-doc-249.17-150400.8.40.1.x86_64

foobar:~ # uname -r
5.14.21-150500.55.59-default


● systemd-tmpfiles-setup.service - Create Volatile Files and Directories
     Loaded: loaded (/usr/lib/systemd/system/systemd-tmpfiles-setup.service;
static)
     Active: active (exited) since Wed 2024-05-01 13:10:13 CDT; 59min ago
       Docs: man:tmpfiles.d(5)
             man:systemd-tmpfiles(8)
    Process: 795 ExecStart=systemd-tmpfiles --create --remove --boot
--exclude-prefix=/dev (code=exited, status=0/SUCCESS)
   Main PID: 795 (code=exited, status=0/SUCCESS)

May 01 13:10:13 foobar systemd[1]: Starting Create Volatile Files and
Directories...
May 01 13:10:13 foobar systemd-tmpfiles[795]:
/usr/lib/tmpfiles.d/systemd-resolve.conf:10: Duplicate line for path
"/etc/resolv.conf", ignoring.
May 01 13:10:13 foobar systemd-tmpfiles[795]: /etc/tmpfiles.d/var.conf:14:
Duplicate line for path "/var/log", ignoring.
May 01 13:10:13 foobar systemd-tmpfiles[795]: /etc/tmpfiles.d/var.conf:15:
Duplicate line for path "/var/log/wtmp", ignoring.
May 01 13:10:13 foobar systemd-tmpfiles[795]: /etc/tmpfiles.d/var.conf:16:
Duplicate line for path "/var/log/btmp", ignoring.
May 01 13:10:13 foobar systemd-tmpfiles[795]: /etc/tmpfiles.d/var.conf:17:
Duplicate line for path "/var/log/lastlog", ignoring.
May 01 13:10:13 foobar systemd-tmpfiles[795]: /etc/tmpfiles.d/var.conf:19:
Duplicate line for path "/var/cache", ignoring.
May 01 13:10:13 foobar systemd-tmpfiles[795]: /etc/tmpfiles.d/var.conf:21:
Duplicate line for path "/var/lib", ignoring.
May 01 13:10:13 foobar systemd-tmpfiles[795]: /etc/tmpfiles.d/var.conf:23:
Duplicate line for path "/var/spool", ignoring.
May 01 13:10:13 foobar systemd[1]: Finished Create Volatile Files and
Directories.


You are receiving this mail because: