You are not logged in.

#1 2019-05-09 14:30:29

fluancefg
Member
Registered: 2014-03-23
Posts: 32

Systemd failed to restart [Solved]

I've updated the system with pacman -Suy, which has installed systemd-242.19-1.
During the update, I get a message

Failed to reload daemon: Access denied

I was force to downgrade systemd to 239.0-2, otherwise I was not able to restart or shutdown the machine anymore.

Does anyone know how to investigate or fix this issue ?

Last edited by fluancefg (2019-05-10 14:21:10)

Offline

#2 2019-05-09 14:50:53

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,532
Website

Re: Systemd failed to restart [Solved]

Please post the full output - out of context that message doesn't say much.  Post your pacman.log if you don't have the output anymore.

As for restarting/shutting down, what do you mean you are not able to?  What error or output does that produce?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2019-05-09 15:04:59

fluancefg
Member
Registered: 2014-03-23
Posts: 32

Re: Systemd failed to restart [Solved]

Here's what inside pacman.log.

[2019-05-09 16:58] [ALPM] transaction started
[2019-05-09 16:58] [ALPM] upgraded libidn (1.34-2 -> 1.35-1)
[2019-05-09 16:58] [ALPM] upgraded systemd (239.0-2 -> 242.19-1)
[2019-05-09 16:58] [ALPM-SCRIPTLET] Failed to reload daemon: Access denied
[2019-05-09 16:58] [ALPM] upgraded systemd-sysvcompat (239.0-2 -> 242.19-1)
[2019-05-09 16:58] [ALPM] transaction completed

When I try to run shutdown or reboot, I get the following message:

Failed to power off system via logind: Unit systemd-poweroff.service has a bad unit file setting.
Failed to talk to init daemon.

or

Failed to reboot system via logind: Unit systemd-reboot.service has a bad unit file setting.
Failed to talk to init daemon.

Offline

#4 2019-05-09 17:37:25

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Systemd failed to restart [Solved]

Post the full pacman log, not a tiny excerpt: https://bbs.archlinux.org/viewtopic.php?id=57855


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2019-05-10 06:48:03

fluancefg
Member
Registered: 2014-03-23
Posts: 32

Re: Systemd failed to restart [Solved]

Offline

#6 2019-05-10 12:26:01

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,532
Website

Re: Systemd failed to restart [Solved]

That is still not the full log.  But the most likely problem is readily apparent: you have a long history of partial upgrades.

Please post your full pacman log and your pacman.conf


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2019-05-10 12:43:49

fluancefg
Member
Registered: 2014-03-23
Posts: 32

Re: Systemd failed to restart [Solved]

I don't know what you mean with "you have a long history of partial upgrades".

pacman.log: http://ix.io/1IAN
pacman.conf: http://ix.io/1IAO

Offline

#8 2019-05-10 12:49:06

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,532
Website

Re: Systemd failed to restart [Solved]

Your log is litterally littered with them along with evidence that pacman (or yaourt in your case) frequently fails an you repeatedly retry over and over again.

https://wiki.archlinux.org/index.php/Sy … nsupported

You are also using a completely broken repo.  I'd like to help, but frankly you've dug yourself in such a hole I'm not sure where to start.  As a hail mary, I'd remove archlinux.fr and everything from that repo, do a full and proper upgrade, then restart with a hard poweroff if necessary and see if you're back in functional shape.  If not, reinstall and partial upgrade no more.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#9 2019-05-10 14:20:21

fluancefg
Member
Registered: 2014-03-23
Posts: 32

Re: Systemd failed to restart [Solved]

I've removed the archlinux.fr repo and the yaourt tool btw. Then I've done a full upgrade and everything is working fine.

Offline

#10 2019-05-10 15:16:46

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,532
Website

Re: Systemd failed to restart [Solved]

That's a good outcome.  I'm glad it panned out that way.  Going forward, please never use the -Sy flag to pacman without also including a 'u'.  Additionally, while it will not harm your system, needless use of two 'y's is just a waste of mirror resources for no purpose.  The proper command for regular updates is simply `pacman -Syu`.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB