[arch-general] Can't start mariadb and avahi anymore, cannot connect users

leoutation at gmx.fr leoutation at gmx.fr
Tue Feb 19 16:29:25 UTC 2019


Hi
Yesterday, it seems i broke something in my system:
Arch is updated. Linux-lts kernel.
I can't connect users in tty. Mariadb and avahi-daemon don't start at 
boot. I can't start them manually too using systemctl.
But I can connect as root.
Other services are started normally: ntpd, connmand, bumblebeed, 
syslog-ng or metalog, sshd.
I don't use any login manager like gdm.
I don't use X, i use only tty, wayland and enlightenment-git.
I remember i killed by hand yesterday in the evening ssh-agent 
processes. Problem came after that but may be a coincidence...
It's a permission issue. I don't find any solution to debug it.

I have good symlinks in /var
ls /var -1 -p
cache/
db/
empty/
games/
lib/
local/
lock -> /run/lock
log/
mail -> spool/mail
net-snmp/
opt/
run -> /run
spool/
tmp/

Syslog message

Feb 19 14:54:27 nalik systemd[965]: mariadb.service: Failed to connect 
stdout to the journal socket, ignoring: Permission denied
Feb 19 14:54:27 nalik systemd[966]: mariadb.service: Failed to connect 
stdout to the journal socket, ignoring: Permission denied
Feb 19 14:54:27 nalik systemd[980]: mariadb.service: Failed to connect 
stdout to the journal socket, ignoring: Permission denied
Feb 19 14:54:27 nalik systemd[1]: mariadb.service: Main process exited, 
code=exited, status=200/CHDIR
Feb 19 14:54:27 nalik systemd[1]: mariadb.service: Failed with result 
'exit-code'.
Feb 19 14:54:27 nalik kernel: audit: type=1130 audit(1550584467.632:72): 
pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mariadb 
comm="systemd" exe="/usr/lib/systemd/systemd
" hostname=? addr=? terminal=? res=failed'
Feb 19 14:54:51 nalik systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
Feb 19 14:54:51 nalik avahi-daemon[989]: Found user 'avahi' (UID 84) and 
group 'avahi' (GID 84).
Feb 19 14:54:51 nalik avahi-daemon[989]: Successfully dropped root 
privileges.
Feb 19 14:54:51 nalik systemd[1]: avahi-daemon.service: Main process 
exited, code=exited, status=255/EXCEPTION
Feb 19 14:54:51 nalik systemd[1]: avahi-daemon.service: Failed with 
result 'exit-code'.
Feb 19 14:54:51 nalik kernel: audit: type=1130 audit(1550584491.312:73): 
pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=avahi-daemon 
comm="systemd" exe="/usr/lib/systemd/sy
stemd" hostname=? addr=? terminal=? res=failed'
Feb 19 14:55:20 nalik systemd[1]: Created slice User Slice of UID 1000.
Feb 19 14:55:20 nalik systemd[1]: Starting User Runtime Directory 
/run/user/1000...
Feb 19 14:55:20 nalik kernel: audit: type=1006 audit(1550584520.233:74): 
pid=642 uid=0 old-auid=4294967295 auid=1000 tty=tty1 old-ses=4294967295 
ses=8 res=1
Feb 19 14:55:20 nalik systemd[1]: Started User Runtime Directory 
/run/user/1000.
Feb 19 14:55:20 nalik systemd[1]: Starting User Manager for UID 1000...
Feb 19 14:55:20 nalik systemd[996]: user at 1000.service: Failed to connect 
stdout to the journal socket, ignoring: Permission denied
Feb 19 14:55:20 nalik kernel: audit: type=1130 audit(1550584520.243:75): 
pid=1 uid=0 auid=4294967295 ses=4294967295 
msg='unit=user-runtime-dir at 1000 comm="systemd" exe="/usr/lib/s
ystemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 19 14:55:20 nalik kernel: audit: type=1006 audit(1550584520.253:76): 
pid=996 uid=0 old-auid=4294967295 auid=1000 tty=(none) 
old-ses=4294967295 ses=9 res=1
Feb 19 14:55:20 nalik kernel: audit: type=1130 audit(1550584520.263:77): 
pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user at 1000 
comm="systemd" exe="/usr/lib/systemd/syste
md" hostname=? addr=? terminal=? res=failed'
Feb 19 14:55:20 nalik kernel: audit: type=1131 audit(1550584520.273:78): 
pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty at tty1 
comm="systemd" exe="/usr/lib/systemd/syst
emd" hostname=? addr=? terminal=? res=success'
Feb 19 14:55:20 nalik kernel: audit: type=1130 audit(1550584520.273:79): 
pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty at tty1 
comm="systemd" exe="/usr/lib/systemd/syst
emd" hostname=? addr=? terminal=? res=success'
Feb 19 14:55:20 nalik kernel: audit: type=1131 audit(1550584520.273:80): 
pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty at tty1 
comm="systemd" exe="/usr/lib/systemd/syst
emd" hostname=? addr=? terminal=? res=success'
Feb 19 14:55:20 nalik kernel: audit: type=1130 audit(1550584520.283:81): 
pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty at tty1 
comm="systemd" exe="/usr/lib/systemd/syst
emd" hostname=? addr=? terminal=? res=success'
Feb 19 14:55:20 nalik kernel: audit: type=1131 audit(1550584520.333:82): 
pid=1 uid=0 auid=4294967295 ses=4294967295 
msg='unit=user-runtime-dir at 1000 comm="systemd" exe="/usr/lib/s
ystemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 19 14:55:20 nalik systemd[1]: user at 1000.service: Failed with result 
'protocol'.
Feb 19 14:55:20 nalik systemd[1]: Started Session 8 of user fre.
Feb 19 14:55:20 nalik systemd[1]: getty at tty1.service: Succeeded.
Feb 19 14:55:20 nalik systemd[1]: getty at tty1.service: Service has no 
hold-off time (RestartSec=0), scheduling restart.
Feb 19 14:55:20 nalik systemd[1]: getty at tty1.service: Scheduled restart 
job, restart counter is at 2.
Feb 19 14:55:20 nalik systemd[1]: Stopped Getty on tty1.
Feb 19 14:55:20 nalik systemd[1]: Started Getty on tty1.
Feb 19 14:55:20 nalik systemd[1]: session-8.scope: Succeeded.
Feb 19 14:55:20 nalik systemd[1]: Stopping User Runtime Directory 
/run/user/1000...
Feb 19 14:55:20 nalik systemd[475]: run-user-1000.mount: Succeeded.
Feb 19 14:55:20 nalik systemd[1]: run-user-1000.mount: Succeeded.
Feb 19 14:55:20 nalik systemd[1]: user-runtime-dir at 1000.service: Succeeded.
Feb 19 14:55:20 nalik systemd[1]: Stopped User Runtime Directory 
/run/user/1000.
Feb 19 14:55:20 nalik systemd[1]: Removed slice User Slice of UID 1000.

-- 
Maderios


More information about the arch-general mailing list