Ethan Bonick changed bug 1223617
What Removed Added
CC   ethan@bonick.us

Comment # 3 on bug 1223617 from Ethan Bonick
My IDP login isn't working and no one responds to emails sent to the bugzilla
admin email address. I just had to create another account using another email
address.

I created /etc/tmpfiles.d/var/conf and it contains
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.

# See tmpfiles.d(5) for details

q /var 0755 - - -

L /var/run - - - - ../run

d /var/log 0755 - - -
f /var/log/wtmp 0640 root utmp -
f /var/log/btmp 0640 root utmp -
f /var/log/lastlog 0640 root utmp -
f /var/log/boot.msg 0640 root root -
f /var/log/boot.omsg 0640 root root -

d /var/cache 0755 - - -

d /var/lib 0755 - - -

d /var/spool 0755 - - -

Below is the output from the opensuse box before reboot and then after reboot.
The files defined in the /etc/tmpfiles.d/var.conf do not have the permissions
defined.

user@foohost:~> date
Wed 12 Jun 2024 07:41:46 AM CDT
user@foohost:~> sudo systemctl status systemd-tmpfiles-setup
● systemd-tmpfiles-setup.service - Create Volatile Files and Directories
     Loaded: loaded (/usr/lib/systemd/system/systemd-tmpfiles-setup.service;
static)
     Active: active (exited) since Thu 2024-05-16 08:19:43 CDT; 3 weeks 5 days
ago
       Docs: man:tmpfiles.d(5)
             man:systemd-tmpfiles(8)
    Process: 793 ExecStart=systemd-tmpfiles --create --remove --boot
--exclude-prefix=/dev (code=exited, status=0/SUCCESS)
   Main PID: 793 (code=exited, status=0/SUCCESS)

May 16 08:19:43 foohost systemd[1]: Starting Create Volatile Files and
Directories...
May 16 08:19:43 foohost systemd-tmpfiles[793]:
/usr/lib/tmpfiles.d/systemd-resolve.conf:10: Duplicate line for path
"/etc/resolv.conf", ignoring.
May 16 08:19:43 foohost systemd-tmpfiles[793]: /etc/tmpfiles.d/var.conf:14:
Duplicate line for path "/var/log", ignoring.
May 16 08:19:43 foohost systemd-tmpfiles[793]: /etc/tmpfiles.d/var.conf:15:
Duplicate line for path "/var/log/wtmp", ignoring.
May 16 08:19:43 foohost systemd-tmpfiles[793]: /etc/tmpfiles.d/var.conf:16:
Duplicate line for path "/var/log/btmp", ignoring.
May 16 08:19:43 foohost systemd-tmpfiles[793]: /etc/tmpfiles.d/var.conf:17:
Duplicate line for path "/var/log/lastlog", ignoring.
May 16 08:19:43 foohost systemd-tmpfiles[793]: /etc/tmpfiles.d/var.conf:19:
Duplicate line for path "/var/cache", ignoring.
May 16 08:19:43 foohost systemd-tmpfiles[793]: /etc/tmpfiles.d/var.conf:21:
Duplicate line for path "/var/lib", ignoring.
May 16 08:19:43 foohost systemd-tmpfiles[793]: /etc/tmpfiles.d/var.conf:23:
Duplicate line for path "/var/spool", ignoring.
May 16 08:19:43 foohost systemd[1]: Finished Create Volatile Files and
Directories.
user@foohost:~> sudo ls -la /var/log/wtmp
-rw-rw-r-- 1 root utmp 82176 Jun 12 07:40 /var/log/wtmp
user@foohost:~> cat /etc/tmpfiles.d/var.conf
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.

# See tmpfiles.d(5) for details

q /var 0755 - - -

L /var/run - - - - ../run

d /var/log 0755 - - -
f /var/log/wtmp 0640 root utmp -
f /var/log/btmp 0640 root utmp -
f /var/log/lastlog 0640 root utmp -

d /var/cache 0755 - - -

d /var/lib 0755 - - -

d /var/spool 0755 - - -

REBOOT

user@foohost:~> date
Wed 12 Jun 2024 07:57:30 AM CDT
user@foohost:~> uptime
 07:57:33  up   0:04,  1 user,  load average: 0.78, 0.91, 0.45
user@foohost:~> sudo ls -la /var/log/wtmp
[sudo] password for user:
-rw-rw-r-- 1 root utmp 84864 Jun 12 07:57 /var/log/wtmp
user@foohost:~> cat /etc/tmpfiles.d/var.conf
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.

# See tmpfiles.d(5) for details

q /var 0755 - - -

L /var/run - - - - ../run

d /var/log 0755 - - -
f /var/log/wtmp 0640 root utmp -
f /var/log/btmp 0640 root utmp -
f /var/log/lastlog 0640 root utmp -

d /var/cache 0755 - - -

d /var/lib 0755 - - -

d /var/spool 0755 - - -
user@foohost:~> sudo systemctl status systemd-tmpfiles-setup
● 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-06-12 07:53:27 CDT; 4min 37s ago
       Docs: man:tmpfiles.d(5)
             man:systemd-tmpfiles(8)
    Process: 811 ExecStart=systemd-tmpfiles --create --remove --boot
--exclude-prefix=/dev (code=exited, status=0/SUCCESS)
   Main PID: 811 (code=exited, status=0/SUCCESS)

Jun 12 07:53:27 foohost systemd[1]: Starting Create Volatile Files and
Directories...
Jun 12 07:53:27 foohost systemd-tmpfiles[811]:
/usr/lib/tmpfiles.d/systemd-resolve.conf:10: Duplicate line for path
"/etc/resolv.conf", ignoring.
Jun 12 07:53:27 foohost systemd-tmpfiles[811]: /etc/tmpfiles.d/var.conf:14:
Duplicate line for path "/var/log", ignoring.
Jun 12 07:53:27 foohost systemd-tmpfiles[811]: /etc/tmpfiles.d/var.conf:15:
Duplicate line for path "/var/log/wtmp", ignoring.
Jun 12 07:53:27 foohost systemd-tmpfiles[811]: /etc/tmpfiles.d/var.conf:16:
Duplicate line for path "/var/log/btmp", ignoring.
Jun 12 07:53:27 foohost systemd-tmpfiles[811]: /etc/tmpfiles.d/var.conf:17:
Duplicate line for path "/var/log/lastlog", ignoring.
Jun 12 07:53:27 foohost systemd-tmpfiles[811]: /etc/tmpfiles.d/var.conf:19:
Duplicate line for path "/var/cache", ignoring.
Jun 12 07:53:27 foohost systemd-tmpfiles[811]: /etc/tmpfiles.d/var.conf:21:
Duplicate line for path "/var/lib", ignoring.
Jun 12 07:53:27 foohost systemd-tmpfiles[811]: /etc/tmpfiles.d/var.conf:23:
Duplicate line for path "/var/spool", ignoring.
Jun 12 07:53:27 foohost systemd[1]: Finished Create Volatile Files and
Directories.
user@foohost:~>


You are receiving this mail because: