You are not logged in.

#1 2017-06-20 14:28:11

h454n34
Member
Registered: 2015-01-05
Posts: 40

[SOLVED] user@1000.service failed.!

Hi guys,
I had this problem after I updated the system. I start the service again, and then it gives an error again.

I have some information to share, I have identified.

$ systemctl --all
● user@1000.service                                                                          loaded    failed   failed    User Manager for UID

The password is weird, it was not before.

 $ systemctl reboot
Failed to set wall message, ignoring: Access denied
Failed to reboot system via logind: Access denied
Failed to start reboot.target: Access denied
See system logs and 'systemctl status reboot.target' for details.

 $ echo $XDG_RUNTIME_DIR

 $ echo $XDG_DATA_DIRS
/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
 $ id
uid=1000(h454n) gid=100(users) groups=100(users)

What information do you need?

Last edited by h454n34 (2017-06-20 16:07:22)

Offline

#2 2017-06-20 15:29:30

loqs
Member
Registered: 2014-03-06
Posts: 18,015

Re: [SOLVED] user@1000.service failed.!

Please post the system's pacman.log from the update that caused the issue onwards.

Offline

#3 2017-06-20 15:33:08

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,074

Re: [SOLVED] user@1000.service failed.!

Do you have anything gnupg related in ~/.config/systemd/user/*

Online

#4 2017-06-20 15:43:35

h454n34
Member
Registered: 2015-01-05
Posts: 40

Re: [SOLVED] user@1000.service failed.!

I did not find anything in the log, but I have a few more mistakes.

 $ systemctl --user restart mpd
Failed to connect to bus: No such file or directory
● ARCH-DK
    State: degraded
     Jobs: 0 queued
   Failed: 1 units
    Since: Tue 2017-06-20 18:08:35 +03; 29min ago
   CGroup: /
           ├─user.slice
           │ └─user-1000.slice
           │   └─session-c1.scope
           │     ├─  550 login -- h454n
           │     ├─ 1144 /bin/sh /usr/bin/startx
           │     ├─ 1166 xinit /home/h454n/.xinitrc -- /etc/X11/xinit/xserverrc :0 vt1 -auth /tmp/serverauth.74dMzZpuxY
           │     ├─ 1167 /usr/lib/xorg-server/Xorg -nolisten tcp :0 vt1 -auth /tmp/serverauth.74dMzZpuxY

 $ echo $DBUS_SESSION_BUS_ADDRESS


 $ echo $XAUTHORITY

/home/h454n/.Xauthority

 $  dbus-update-activation-environment --systemd --all

dbus-update-activation-environment: error: unable to connect to D-Bus: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead

 $  sudo systemctl --user import-environment

[sudo] password for h545n: 
Failed to connect to bus: No such file or directory

 $ echo $DISPLAY

:0

Last edited by h454n34 (2017-06-20 15:44:33)

Offline

#5 2017-06-20 15:49:24

h454n34
Member
Registered: 2015-01-05
Posts: 40

Re: [SOLVED] user@1000.service failed.!

Scimmia wrote:

Do you have anything gnupg related in ~/.config/systemd/user/*

Yes, I have some implementations.

$ ls ~/.config/systemd/user
default.target.wants/     mpd.service
default.target         gpg-agent.service

Offline

#6 2017-06-20 15:50:55

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,074

Re: [SOLVED] user@1000.service failed.!

get rid of gpg-agent.service, and if there's a symlink to it in default.target.wants, get rid of that, too.

Online

#7 2017-06-20 16:06:22

h454n34
Member
Registered: 2015-01-05
Posts: 40

Re: [SOLVED] user@1000.service failed.!

Scimmia wrote:

get rid of gpg-agent.service, and if there's a symlink to it in default.target.wants, get rid of that, too.

Thanks @Scimmia. Problem solved.
It was not a problem in the past, but why he did it now?
I want to learn.

Last edited by h454n34 (2017-06-20 16:08:47)

Offline

#8 2017-06-20 16:08:53

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,074

Re: [SOLVED] user@1000.service failed.!

It really shouldn't cause problems, but for some reason, it does.

https://bugs.archlinux.org/task/54396

Online

#9 2017-06-20 16:10:58

h454n34
Member
Registered: 2015-01-05
Posts: 40

Re: [SOLVED] user@1000.service failed.!

Scimmia wrote:

It really shouldn't cause problems, but for some reason, it does.

https://bugs.archlinux.org/task/54396

Thanks for everything.
Now I understand better.

Offline

Board footer

Powered by FluxBB