You are not logged in.

#1 2018-07-31 10:10:24

blooddrunk
Member
Registered: 2018-07-31
Posts: 4

Issues with starting and shutting off the computer.

Hello. I recently got Arch installed on my laptop. Worked like a charm. But I have and issue while shutting the computer off and turning it on. I get two different messages.

1. When I boot the computer it says:
A start job is running for dhcpcd on wlp1s0 with a timer.

2. When I shut down it says:
A stop job is running for Session C2 of user <username> with a timer.

How do I resolve this? Anyone got any ideas as to what might be doing this? Wireless works when I boot even though I get that message.

Regards, blooddrunk.

Last edited by blooddrunk (2018-07-31 11:22:02)

Offline

#2 2018-07-31 10:43:03

Vantskruv
Member
Registered: 2018-07-31
Posts: 2

Re: Issues with starting and shutting off the computer.

I am new to Archlinux and have the same problem as you. I have googled it and there was something about a package called Watchdog which service you should enable. Trying to uninstall watchdog (because I believe I do not need it), but it seems it is not installed on the system, though watchdog is mentioned in the shutdown log. Also the package watchdog does not exist in the repos. Not sure what is going on right now. big_smile

Offline

#3 2018-07-31 11:23:00

blooddrunk
Member
Registered: 2018-07-31
Posts: 4

Re: Issues with starting and shutting off the computer.

Okay. I also see the package called watchdog while shutting the system off. Giving me warnings that Watchdog didn't shut off or something. I will have to try and see what I can do to make it go away. If I find a solution I will let you know as well! smile

Offline

#4 2018-07-31 14:18:21

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: Issues with starting and shutting off the computer.

Could both of you post the output of find /etc/systemd
?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2018-07-31 15:30:48

blooddrunk
Member
Registered: 2018-07-31
Posts: 4

Re: Issues with starting and shutting off the computer.

Here's what I got:

/etc/systemd
/etc/systemd/timesyncd.conf
/etc/systemd/journal-upload.conf
/etc/systemd/user
/etc/systemd/user/sockets.target.wants
/etc/systemd/user/sockets.target.wants/gpg-agent-ssh.socket
/etc/systemd/user/sockets.target.wants/gpg-agent.socket
/etc/systemd/user/sockets.target.wants/gpg-agent-browser.socket
/etc/systemd/user/sockets.target.wants/gpg-agent-extra.socket
/etc/systemd/user/sockets.target.wants/pulseaudio.socket
/etc/systemd/user/sockets.target.wants/dirmngr.socket
/etc/systemd/user/sockets.target.wants/pipewire.socket
/etc/systemd/journal-remote.conf
/etc/systemd/system
/etc/systemd/system/network-online.target.wants
/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service
/etc/systemd/system/getty.target.wants
/etc/systemd/system/getty.target.wants/getty@tty1.service
/etc/systemd/system/display-manager.service
/etc/systemd/system/dbus-org.freedesktop.NetworkManager.service
/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service
/etc/systemd/system/multi-user.target.wants
/etc/systemd/system/multi-user.target.wants/dhcpcd@wlp1s0.service
/etc/systemd/system/multi-user.target.wants/ufw.service
/etc/systemd/system/multi-user.target.wants/NetworkManager.service
/etc/systemd/system/multi-user.target.wants/iptables.service
/etc/systemd/system/multi-user.target.wants/remote-fs.target
/etc/systemd/system/timers.target.wants
/etc/systemd/system/timers.target.wants/fstrim.timer
/etc/systemd/resolved.conf
/etc/systemd/network
/etc/systemd/journald.conf
/etc/systemd/user.conf
/etc/systemd/system.conf
/etc/systemd/coredump.conf
/etc/systemd/logind.conf

Offline

#6 2018-07-31 16:10:19

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: Issues with starting and shutting off the computer.

You probably do not want both NetworkManager.service and dhcpcd@wlp1s0.service to both be enabled -- unless you have specifically configured NetworkManager to not to control the DHCP client for your wireless interface.
Generally, NetworkManager invokes and controls a DHCP client when it needs it.  The dhcpcd@wlp1s0.service is fighting with it for control.  Stop and disable dhcpcd@wlp1s0.service

It appears that your timer has something to do with trim.  I know little about trim; sorry.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2018-07-31 20:21:19

blooddrunk
Member
Registered: 2018-07-31
Posts: 4

Re: Issues with starting and shutting off the computer.

Ah man thanks a lot. I disabled dhcpcd@wlp1s0 and rebooted and that startup job didn't appear!
Okay, I will have to look into trim a bit and see f I can find out why that other issue while shutting down is appearing.
Thanks again.

/ blooddrunk

Offline

#8 2018-08-01 08:23:09

Vantskruv
Member
Registered: 2018-07-31
Posts: 2

Re: Issues with starting and shutting off the computer.

/etc/systemd
/etc/systemd/user.conf
/etc/systemd/system
/etc/systemd/system/sysinit.target.wants
/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service
/etc/systemd/system/getty.target.wants
/etc/systemd/system/getty.target.wants/getty@tty1.service
/etc/systemd/system/multi-user.target.wants
/etc/systemd/system/multi-user.target.wants/ntpd.service
/etc/systemd/system/multi-user.target.wants/remote-fs.target
/etc/systemd/system/multi-user.target.wants/dhcpcd.service
/etc/systemd/system/display-manager.service
/etc/systemd/system/dbus-org.freedesktop.timesync1.service
/etc/systemd/resolved.conf
/etc/systemd/timesyncd.conf
/etc/systemd/journal-remote.conf
/etc/systemd/journald.conf
/etc/systemd/user
/etc/systemd/user/sockets.target.wants
/etc/systemd/user/sockets.target.wants/gpg-agent.socket
/etc/systemd/user/sockets.target.wants/gpg-agent-browser.socket
/etc/systemd/user/sockets.target.wants/gpg-agent-extra.socket
/etc/systemd/user/sockets.target.wants/dirmngr.socket
/etc/systemd/user/sockets.target.wants/gpg-agent-ssh.socket
/etc/systemd/user/sockets.target.wants/pulseaudio.socket
/etc/systemd/system.conf
/etc/systemd/journal-upload.conf
/etc/systemd/network
/etc/systemd/coredump.conf
/etc/systemd/logind.conf

Edit: NOTE: dhcpcd.service listed above may note been used a service when I had the problems. systemd snapshot is made after I have made the below changes.

Currently, I have a theory that my problem occured because I yet have not configured dhcpcd. Hence, I have manually initiated network with dhcpcd every time after boot. At this moment I have configured dhcpcd, so I do not need to run it every time I boot. I am guessing this refuses to terminate when shutting down or rebooting if you manually started the daemon.

Why I think so?

....
Jul 31 12:30:42 archskruv-station systemd[1]: Stopped User Manager for UID 1000.
Jul 31 12:30:42 archskruv-station systemd[1]: user-runtime-dir@1000.service: Unit not needed anymore. Stopping.
Jul 31 12:30:42 archskruv-station systemd[1]: Stopping /run/user/1000 mount wrapper...
Jul 31 12:30:42 archskruv-station systemd[1]: Unmounted /run/user/1000.
Jul 31 12:30:42 archskruv-station systemd[1]: Stopped /run/user/1000 mount wrapper.
Jul 31 12:30:42 archskruv-station systemd[1]: Removed slice system-user\x2druntime\x2ddir.slice.
Jul 31 12:30:53 archskruv-station dhcpcd[877]: eno1: no IPv6 Routers available
Jul 31 12:32:10 archskruv-station systemd[1]: session-c2.scope: Stopping timed out. Killing.
Jul 31 12:32:10 archskruv-station systemd[1]: session-c2.scope: Killing process 877 (dhcpcd) with signal SIGKILL.
Jul 31 12:32:10 archskruv-station systemd[1]: session-c2.scope: Failed with result 'timeout'.
Jul 31 12:32:10 archskruv-station systemd[1]: Stopped Session c2 of user johannes.
Jul 31 12:32:10 archskruv-station systemd[1]: Removed slice User Slice of UID 1000.
Jul 31 12:32:10 archskruv-station systemd[1]: Stopping Login Service...
Jul 31 12:32:10 archskruv-station systemd[1]: Stopping Permit User Sessions...
Jul 31 12:32:10 archskruv-station systemd[1]: Stopped Permit User Sessions.
Jul 31 12:32:10 archskruv-station systemd[1]: Stopped target Remote File Systems.
Jul 31 12:32:10 archskruv-station systemd[1]: Stopped Login Service.
Jul 31 12:32:10 archskruv-station systemd[1]: Stopped target Basic System.
Jul 31 12:32:10 archskruv-station systemd[1]: Stopped target Sockets.
....

Last edited by Vantskruv (2018-08-01 08:25:49)

Offline

Board footer

Powered by FluxBB