Skip to main content
Topic: opentmpfiles-setup failes to start (everything works) (Read 655 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

opentmpfiles-setup failes to start (everything works)

I don't think I've changed anything in my setup to introduce the bug. Just one day I started my computer and I have had those logs, despite them I haven't had a single bug (Chromium, which is not even my main browser, fails to launch videos but it probably has no links)

Important part of the log (I had to copy by hand so I didn't copy everything):

Code: [Select]
Setting up sysusers.d entries...
Setting up tmpfiles.d entries...
/usr/lib/tmpfiles.d/provision.conf:13: Unknown modifierse in command 'f^'
/usr/lib/tmpfiles.d/provision.conf:14: Unknown modifierse in command 'f^'
/usr/lib/tmpfiles.d/provision.conf:17: Unknown modifierse in command 'f^'
/usr/lib/tmpfiles.d/provision.conf:20: Failed to resolve group ':root'
/usr/lib/tmpfiles.d/provision.conf:21: Failed to resolve group ':root'
/usr/lib/tmpfiles.d/provision.conf:22: Unknown modifierse in command 'f^'
ERROR: opentmpfiles-setup failed to start
Saving key mapping...
(...)
Making NetworkManager as inactive. IT will automatically be marked as started after a network connection has been established.
WARNING: NetworkManager has started, but is inactive.
WARNING: netmount will start when NetworkManager has started
Setting up tmpfiles.d entries...
/usr/lib/tmpfiles.d/provision.conf:13: Unknown modifierse in command 'f^'
/usr/lib/tmpfiles.d/provision.conf:14: Unknown modifierse in command 'f^'
/usr/lib/tmpfiles.d/provision.conf:17: Unknown modifierse in command 'f^'
/usr/lib/tmpfiles.d/provision.conf:20: Failed to resolve group ':root'
/usr/lib/tmpfiles.d/provision.conf:21: Failed to resolve group ':root'
/usr/lib/tmpfiles.d/provision.conf:22: Unknown modifierse in command 'f^'
ERROR: opentmpfiles-setup failed to start
Starting local...
(logging in the terminal)

/usr/lib/tmpfiles.d/provision.conf without the comments (never modified it by hand)

Code: [Select]
f^ /etc/motd.d/50-provision.conf - - - - login.motd
f^ /etc/issue.d/50-provision.conf - - - - login.issue
f^ /etc/hosts - - - - network.hosts
d- /root :0700 root :root -
d- /root/.ssh :0700 root :root -
f^ /root/.ssh/authorized_keys :0600 root :root - ssh.authorized_keys.root

neofetch --stdout

Code: [Select]
inlife@inhost
-------------
OS: Artix Linux x86_64
Host: MS-7A38 1.0
Kernel: 6.0.7-artix1-1
Uptime: 17 mins
Packages: 1193 (pacman), 5 (flatpak)
Shell: zsh 5.9
Resolution: 1920x1080
WM: dwm
Theme: Arc-Gruvbox [GTK2/3]
Icons: Adwaita [GTK2/3]
Terminal: st
Terminal Font: NotoColorEmoji
CPU: AMD Ryzen 7 1700 (16) @ 2.999GHz
GPU: NVIDIA GeForce GTX 1060 3GB
Memory: 300MiB / 7897MiB

I used LARBS https://github.com/LukeSmithxyz/LARBS to build my config. It's worked since months and only lately I've had this weird logs when openrc starts.

Re: opentmpfiles-setup failes to start (everything works)

Reply #1
What's the output of pacman -Qkki etmpfiles (the package contaning the tmpfiles binary)?

Re: opentmpfiles-setup failes to start (everything works)

Reply #2
I'm not sure where that provision.conf comes from but I'm pretty sure it is indeed formatted improperly. I don't believe "f^" is valid for tmpfiles.

Re: opentmpfiles-setup failes to start (everything works)

Reply #3
Sorry for the delay to reply, the forum is pretty buggy on my side, it was already a pain to register and I failed to log in back, I had to make a new account

The output of
Code: [Select]
pacman -Qkki etmpfiles

Code: [Select]
Name            : etmpfiles
Version         : 252.2-1
Description     : the tmpfiles.d binary
Architecture    : x86_64
URL             : https://www.github.com/systemd/systemd
Licenses        : GPL2  LGPL2.1
Groups          : base-devel
Provides        : None
Depends On      : acl  libacl.so=1-64  libcap  libcap.so=2-64
Optional Deps   : None
Required By     : artix-archlinux-support  base
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 371.00 KiB
Packager        : Artix Build Bot <[email protected]>
Build Date      : Fri 25 Nov 2022 03:03:07 PM CET
Install Date    : Tue 29 Nov 2022 08:00:55 PM CET
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

etmpfiles: 31 total files, 0 altered files

Re: opentmpfiles-setup failes to start (everything works)

Reply #4
I don't think I've changed anything in my setup to introduce the bug. Just one day I started my computer and I have had those logs, despite them I haven't had a single bug (Chromium, which is not even my main browser, fails to launch videos but it probably has no links)

Important part of the log (I had to copy by hand so I didn't copy everything):

Code: [Select]
Setting up sysusers.d entries...
Setting up tmpfiles.d entries...
/usr/lib/tmpfiles.d/provision.conf:13: Unknown modifierse in command 'f^'
/usr/lib/tmpfiles.d/provision.conf:14: Unknown modifierse in command 'f^'
/usr/lib/tmpfiles.d/provision.conf:17: Unknown modifierse in command 'f^'
/usr/lib/tmpfiles.d/provision.conf:20: Failed to resolve group ':root'
/usr/lib/tmpfiles.d/provision.conf:21: Failed to resolve group ':root'
/usr/lib/tmpfiles.d/provision.conf:22: Unknown modifierse in command 'f^'
ERROR: opentmpfiles-setup failed to start
Saving key mapping...
(...)
Making NetworkManager as inactive. IT will automatically be marked as started after a network connection has been established.
WARNING: NetworkManager has started, but is inactive.
WARNING: netmount will start when NetworkManager has started
Setting up tmpfiles.d entries...
/usr/lib/tmpfiles.d/provision.conf:13: Unknown modifierse in command 'f^'
/usr/lib/tmpfiles.d/provision.conf:14: Unknown modifierse in command 'f^'
/usr/lib/tmpfiles.d/provision.conf:17: Unknown modifierse in command 'f^'
/usr/lib/tmpfiles.d/provision.conf:20: Failed to resolve group ':root'
/usr/lib/tmpfiles.d/provision.conf:21: Failed to resolve group ':root'
/usr/lib/tmpfiles.d/provision.conf:22: Unknown modifierse in command 'f^'
ERROR: opentmpfiles-setup failed to start
Starting local...
(logging in the terminal)

/usr/lib/tmpfiles.d/provision.conf without the comments (never modified it by hand)

Code: [Select]
f^ /etc/motd.d/50-provision.conf - - - - login.motd
f^ /etc/issue.d/50-provision.conf - - - - login.issue
f^ /etc/hosts - - - - network.hosts
d- /root :0700 root :root -
d- /root/.ssh :0700 root :root -
f^ /root/.ssh/authorized_keys :0600 root :root - ssh.authorized_keys.root

neofetch --stdout

Code: [Select]
inlife@inhost
-------------
OS: Artix Linux x86_64
Host: MS-7A38 1.0
Kernel: 6.0.7-artix1-1
Uptime: 17 mins
Packages: 1193 (pacman), 5 (flatpak)
Shell: zsh 5.9
Resolution: 1920x1080
WM: dwm
Theme: Arc-Gruvbox [GTK2/3]
Icons: Adwaita [GTK2/3]
Terminal: st
Terminal Font: NotoColorEmoji
CPU: AMD Ryzen 7 1700 (16) @ 2.999GHz
GPU: NVIDIA GeForce GTX 1060 3GB
Memory: 300MiB / 7897MiB

I used LARBS https://github.com/LukeSmithxyz/LARBS to build my config. It's worked since months and only lately I've had this weird logs when openrc starts.

Something changed, and it looks like maybe filestem corruption? 

Re: opentmpfiles-setup failes to start (everything works)

Reply #5
If it's filesystem corruption, wouldn't other files be corrupted ? Idk.

If it's just a corrupted file, I have a USB stick, can I boot with artix openrc on it and copy-paste the file?