You are not logged in.

#1 2012-09-24 06:01:29

oboedad55
Member
From: Baku
Registered: 2011-04-05
Posts: 392

[SOLVED] Two systemd errors

Hi, I'm getting these two errors on bootup with a pure systemd system:

systemctl --failed
UNIT                           LOAD   ACTIVE SUB    JOB DESCRIPTION
dhcpcd@eth0.service            loaded failed failed     dhcpcd on eth0
systemd-tmpfiles-setup.service loaded failed failed     Recreate Volatile Files and Directories 

Wired network works fine as does everything else. Any ideas?

Last edited by oboedad55 (2012-09-25 08:20:45)


Registered Linux user #436067

Offline

#2 2012-09-24 08:04:05

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [SOLVED] Two systemd errors

systemctl status XXX.service

for details


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#3 2012-09-24 20:22:19

oboedad55
Member
From: Baku
Registered: 2011-04-05
Posts: 392

Re: [SOLVED] Two systemd errors

nTia89 wrote:
systemctl status XXX.service

for details

OK, here's what I get:

 ystemctl status systemd-tmpfiles-setup.service 
systemd-tmpfiles-setup.service - Recreate Volatile Files and Directories
          Loaded: loaded (/usr/lib/systemd/system/systemd-tmpfiles-setup.service; static)
          Active: failed (Result: exit-code) since Mon, 24 Sep 2012 16:17:26 -0400; 3min 57s ago
            Docs: man:tmpfiles.d(5)
         Process: 272 ExecStart=/usr/bin/systemd-tmpfiles --create --remove (code=exited, status=1/FAILURE)
          CGroup: name=systemd:/system/systemd-tmpfiles-setup.service 

Here's what I have in /usr/lib/tmpfiles.d:

cd /usr/lib/tmpfiles.d
[root@archdad tmpfiles.d]# ls
apcupsd.conf  consolekit.conf  lvm2.conf    nscd.conf      systemd.conf  uuidd.conf
console.conf  legacy.conf      mysqld.conf  svnserve.conf  tmp.conf      x11.conf

I had no /run/tmpfiles.d directory and and /etc/tmpofiles.d is empty.
Thanks for the help!

Last edited by oboedad55 (2012-09-24 20:27:35)


Registered Linux user #436067

Offline

#4 2012-09-24 22:07:07

tomegun
Developer
From: France
Registered: 2010-05-28
Posts: 661

Re: [SOLVED] Two systemd errors

oboedad55 wrote:
nTia89 wrote:
systemctl status XXX.service

for details

OK, here's what I get:

 ystemctl status systemd-tmpfiles-setup.service 
systemd-tmpfiles-setup.service - Recreate Volatile Files and Directories
          Loaded: loaded (/usr/lib/systemd/system/systemd-tmpfiles-setup.service; static)
          Active: failed (Result: exit-code) since Mon, 24 Sep 2012 16:17:26 -0400; 3min 57s ago
            Docs: man:tmpfiles.d(5)
         Process: 272 ExecStart=/usr/bin/systemd-tmpfiles --create --remove (code=exited, status=1/FAILURE)
          CGroup: name=systemd:/system/systemd-tmpfiles-setup.service 

Make sure to call 'status' as root to get some more logging output. If that does not give you anything useful, try increasing the logging level in /etc/systemd/systemd.conf.

Offline

#5 2012-09-24 22:26:58

oboedad55
Member
From: Baku
Registered: 2011-04-05
Posts: 392

Re: [SOLVED] Two systemd errors

tomegun wrote:
oboedad55 wrote:
nTia89 wrote:
systemctl status XXX.service

for details

OK, here's what I get:

 ystemctl status systemd-tmpfiles-setup.service 
systemd-tmpfiles-setup.service - Recreate Volatile Files and Directories
          Loaded: loaded (/usr/lib/systemd/system/systemd-tmpfiles-setup.service; static)
          Active: failed (Result: exit-code) since Mon, 24 Sep 2012 16:17:26 -0400; 3min 57s ago
            Docs: man:tmpfiles.d(5)
         Process: 272 ExecStart=/usr/bin/systemd-tmpfiles --create --remove (code=exited, status=1/FAILURE)
          CGroup: name=systemd:/system/systemd-tmpfiles-setup.service 

Make sure to call 'status' as root to get some more logging output. If that does not give you anything useful, try increasing the logging level in /etc/systemd/systemd.conf.

That is the output I got as root. Systemd.conf is empty.


Registered Linux user #436067

Offline

#6 2012-09-24 23:13:19

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,144

Re: [SOLVED] Two systemd errors

I wouldn't normally try to correct anything a developer wrote but I think there may have been a typo in tomegun's post and that s/he meant /etc/systemd/system.conf. Change the LogLevel line. See the man page for details of the options.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#7 2012-09-24 23:46:20

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: [SOLVED] Two systemd errors

Do you use any other software to connect to the internet apart from systemd's dhcpcd@eth0.service ? Then it makes sense your internet connection is not affected by the warnings above.

Offline

#8 2012-09-25 02:04:15

oboedad55
Member
From: Baku
Registered: 2011-04-05
Posts: 392

Re: [SOLVED] Two systemd errors

cfr wrote:

I wouldn't normally try to correct anything a developer wrote but I think there may have been a typo in tomegun's post and that s/he meant /etc/systemd/system.conf. Change the LogLevel line. See the man page for details of the options.

Yes, you are correct. Everything in that file is commented out. What should I look for? To the other poster, yes I only have wired network. That error doesn't concern me, but I'd like to fix the one with the tmpfiles.


Registered Linux user #436067

Offline

#9 2012-09-25 06:29:01

Mait
Member
Registered: 2012-09-12
Posts: 8

Re: [SOLVED] Two systemd errors

Try `jounalctl -f` (like tail -f). Then restart tmpfiles service in another terminal.

Also, `kill -s SIGRTMIN+22 systemd` command change log level to 'debug' at runtime.

Offline

#10 2012-09-25 06:32:22

oboedad55
Member
From: Baku
Registered: 2011-04-05
Posts: 392

Re: [SOLVED] Two systemd errors

Mait wrote:

Try `jounalctl -f` (like tail -f). Then restart tmpfiles service in another terminal.

[/usr/lib/tmpfiles.d/uuidd.conf:1] Unknown user...d'.
Sep 25 02:33:34 archdad systemd-tmpfiles[2395]: stat(/run/user/1000/gvfs) failed: Permission denied
Sep 25 02:33:34 archdad systemd[1]: systemd-tmpfiles-clean.service: main process exited, code=...us=1
Sep 25 02:33:34 archdad systemd[1]: Unit systemd-tmpfiles-clean.service entered failed state.
Sep 25 02:33:34 archdad systemd-tmpfiles[2399]: [/usr/lib/tmpfiles.d/uuidd.conf:1] Unknown user...d'.
Sep 25 02:33:34 archdad systemd[1]: systemd-tmpfiles-setup.service: main process exited, code=...us=1
Sep 25 02:33:34 archdad systemd[1]: Unit systemd-tmpfiles-setup.service entered failed state.

So it seems uuid.conf is the problem? Root owns that file.

Also, `kill -s SIGRTMIN+22 systemd` command change log level to 'debug' at runtime.

ill -s SIGRTMIN+22 systemd
bash: kill: SIGRTMIN+22: invalid signal specification

Last edited by oboedad55 (2012-09-25 06:37:20)


Registered Linux user #436067

Offline

#11 2012-09-25 06:34:41

Mait
Member
Registered: 2012-09-12
Posts: 8

Re: [SOLVED] Two systemd errors

You can filtering journal ouput like this, (-f option for following log)

journalctl -f /usr/bin/systemd-tmpfiles

Or,

journalctl  -f _SYSTEMD_UNIT=systemd-tmpfiles-setup.service

from man systemd, journalctl

Offline

#12 2012-09-25 06:36:09

Mait
Member
Registered: 2012-09-12
Posts: 8

Re: [SOLVED] Two systemd errors

oboedad55 wrote:
Mait wrote:

Try `jounalctl -f` (like tail -f). Then restart tmpfiles service in another terminal.

jounalctl -f
bash: jounalctl: command not found


Also, `kill -s SIGRTMIN+22 systemd` command change log level to 'debug' at runtime.

ill -s SIGRTMIN+22 systemd
bash: kill: SIGRTMIN+22: invalid signal specification

use `sudo`

Offline

#13 2012-09-25 06:37:20

Mait
Member
Registered: 2012-09-12
Posts: 8

Re: [SOLVED] Two systemd errors

Sorry typo.

jounalctl -> journalctl

Last edited by Mait (2012-09-25 06:37:33)

Offline

#14 2012-09-25 06:40:01

oboedad55
Member
From: Baku
Registered: 2011-04-05
Posts: 392

Re: [SOLVED] Two systemd errors

Mait wrote:

Sorry typo.

jounalctl -> journalctl

Sorry, we posted at the same time

: [/usr/lib/tmpfiles.d/uuidd.conf:1] Unknown user...d'.
Sep 23 14:03:30 archdad systemd-tmpfiles[1547]: stat(/run/user/1000/gvfs) failed: Permission denied

Registered Linux user #436067

Offline

#15 2012-09-25 06:41:04

Mait
Member
Registered: 2012-09-12
Posts: 8

Re: [SOLVED] Two systemd errors

Offline

#16 2012-09-25 08:19:59

oboedad55
Member
From: Baku
Registered: 2011-04-05
Posts: 392

Re: [SOLVED] Two systemd errors

Thanks, that fixed it. I reinstalled util-linux and rebooted and the error is gone. Thanks everybody! I have to say, thanks to the excellent Arch community, that this has been the best Linux experience I've ever had. Plus, I've learned a great deal.

Last edited by oboedad55 (2012-09-25 08:20:23)


Registered Linux user #436067

Offline

Board footer

Powered by FluxBB