You are not logged in.
Hello, so I after i updated my system...
[2023-03-09T18:38:24+0100] [ALPM] upgraded hwdata (0.367-1 -> 0.368-1)
[2023-03-09T18:38:24+0100] [ALPM] upgraded systemd-libs (253.1-2 -> 253.1-3)
[2023-03-09T18:38:24+0100] [ALPM] upgraded systemd (253.1-2 -> 253.1-3)
[2023-03-09T18:38:25+0100] [ALPM] upgraded systemd-sysvcompat (253.1-2 -> 253.1-3)
[2023-03-09T18:38:25+0100] [ALPM] upgraded alsa-plugins (1:1.2.7.1-1 -> 1:1.2.7.1-2)
[2023-03-09T18:38:25+0100] [ALPM] upgraded tinycompress (1.2.8-1 -> 1.2.8-2)
[2023-03-09T18:38:25+0100] [ALPM] installed libopenmpt (0.6.9-1)
[2023-03-09T18:38:25+0100] [ALPM] upgraded ffmpeg (2:5.1.2-2 -> 2:6.0-3)
[2023-03-09T18:38:26+0100] [ALPM] upgraded firefox (110.0.1-1 -> 110.0.1-2)
[2023-03-09T18:38:26+0100] [ALPM] upgraded gegl (0.4.42-2 -> 0.4.42-3)
[2023-03-09T18:38:26+0100] [ALPM] upgraded gstreamer (1.22.0-4 -> 1.22.1-1)
[2023-03-09T18:38:26+0100] [ALPM] upgraded gst-plugins-base-libs (1.22.0-4 -> 1.22.1-1)
[2023-03-09T18:38:26+0100] [ALPM] upgraded gst-libav (1.22.0-4 -> 1.22.1-1)
[2023-03-09T18:38:26+0100] [ALPM] upgraded gst-plugins-bad-libs (1.22.0-4 -> 1.22.1-1)
[2023-03-09T18:38:26+0100] [ALPM] upgraded gst-plugins-base (1.22.0-4 -> 1.22.1-1)
[2023-03-09T18:38:26+0100] [ALPM] upgraded gst-plugins-good (1.22.0-4 -> 1.22.1-1)
[2023-03-09T18:38:26+0100] [ALPM] upgraded gstreamer-vaapi (1.22.0-4 -> 1.22.1-1)
[2023-03-09T18:38:26+0100] [ALPM] upgraded libde265 (1.0.11-1 -> 1.0.11-2)
[2023-03-09T18:38:26+0100] [ALPM] upgraded openal (1.23.0-1 -> 1.23.0-2)
[2023-03-09T18:38:26+0100] [ALPM] upgraded openvpn (2.6.0-1 -> 2.6.1-1)
[2023-03-09T18:38:27+0100] [ALPM] upgraded qt5-webengine (5.15.12-3 -> 5.15.13-1)
[2023-03-09T18:38:27+0100] [ALPM] upgraded qt6-multimedia-ffmpeg (6.4.2-1 -> 6.4.2-2)
[2023-03-09T18:38:27+0100] [ALPM] upgraded qt6-multimedia (6.4.2-1 -> 6.4.2-2)
[2023-03-09T18:38:27+0100] [ALPM] upgraded qt6-webengine (6.4.2-3 -> 6.4.2-4)
[2023-03-09T18:38:27+0100] [ALPM] upgraded aubio (0.4.9-14 -> 0.4.9-15)
[2023-03-09T18:38:27+0100] [ALPM] upgraded pcsclite (1.9.9-2 -> 1.9.9-3)
[2023-03-09T18:38:27+0100] [ALPM] upgraded freerdp (2:2.10.0-1 -> 2:2.10.0-2)
[2023-03-09T18:38:27+0100] [ALPM] upgraded guvcview-common (2.0.8-1 -> 2.0.8-2)
[2023-03-09T18:38:27+0100] [ALPM] upgraded guvcview (2.0.8-1 -> 2.0.8-2)
[2023-03-09T18:38:27+0100] [ALPM] upgraded mpv (1:0.35.1-2 -> 1:0.35.1-3)
[2023-03-09T18:38:27+0100] [ALPM] upgraded notcurses (3.0.9-1 -> 3.0.9-2)
[2023-03-09T18:38:28+0100] [ALPM] upgraded obs-studio (29.0.2-1 -> 29.0.2-2)
[2023-03-09T18:38:28+0100] [ALPM] upgraded python-pydantic (1.10.5-1 -> 1.10.6-1)
[2023-03-09T18:38:29+0100] [ALPM] upgraded tensorflow (2.11.0-2 -> 2.12.0rc1-1)
[2023-03-09T18:38:31+0100] [ALPM] upgraded python-tensorflow (2.11.0-2 -> 2.12.0rc1-1)
[2023-03-09T18:38:32+0100] [ALPM] upgraded signal-desktop (6.8.0-1 -> 6.9.0-1)
[2023-03-09T18:38:32+0100] [ALPM] upgraded telegram-desktop (4.6.5-2 -> 4.6.5-3)
my screen lock stopped working.
I am running sway.
When i run
loginctl lock-session
in terminal, it works, but running
swaymsg exec "loginctl lock-session"
produces this error in the log:
Error creating textual authentication agent: Error opening current controlling terminal for the process (`/dev/tty'): No such device or address (polkit-error-quark, 0)
Failed to issue method call: Unknown object '/org/freedesktop/login1/session/auto'.
It's also probably worth mentioning that authentication agent fails with
(polkit-gnome-authentication-agent-1:2105): polkit-gnome-1-WARNING **: 22:09:13.479: Unable to determine the session we are in: No session for pid 2105
Any help would be appreciated.
Offline
I don't think the udpate caused this.
loginctl session-status | head -32
echo $DBUS_SESSION_BUS_ADDRESS
The error message tries to invoke a polkit-agent, the built-in thing is fubar, https://bbs.archlinux.org/viewtopic.php … 5#p2028455
=> https://wiki.archlinux.org/title/Polkit … ion_agents
Offline
1 - maxim (1000)
Since: Fri 2023-03-10 12:25:14 CET; 1min 21s ago
Leader: 1222 (login)
Seat: seat0; vc1
TTY: tty1
Service: login; type wayland; class user
State: active
Unit: session-1.scope
├─1222 "login -- maxim"
└─1752 swaybg -o "*" -i /home/maxim/Pictures/static/bg.png -m fill
bře 10 12:25:14 thonkped login[1222]: LOGIN ON tty1 BY maxim
bře 10 12:25:14 thonkped systemd[1]: Started Session 1 of User maxim.
unix:path=/run/user/1000/bus
Yes, I got the root shell.
Offline
Yes, I got the root shell.
No
The suggestion was to install a polkit agent, the link just to reference the hoops you've to jump through to use the console agent.
The session status lists your login and swaybg, but not sway itself??
ps aux | grep sway
Offline
Oh, well i have gnome polkit agent autostarted with sway, but it fails too.
It is weird, I start sway in .bash_profile.
maxim 1628 2.1 1.5 5072116 230328 tty1 Ssl+ 12:25 2:52 sway
maxim 1752 0.0 0.0 17772 8408 tty1 S+ 12:25 0:00 swaybg -o * -i /home/maxim/Pictures/static/bg.png -m fill
maxim 1885 0.0 0.0 6440 3468 ? S 12:25 0:00 swayidle -w timeout 120 loginctl lock-session timeout 180 swaymsg "output * power off" resume swaymsg "output * power on" before-sleep loginctl lock-session lock swaylock
maxim 1887 0.0 0.2 49280 31812 ? S 12:25 0:00 /usr/bin/python3 /usr/lib/sway-systemd/assign-cgroups.py
maxim 1889 0.0 0.0 10012 3876 ? S 12:25 0:00 /bin/sh /usr/lib/sway-systemd/session.sh --with-cleanup
maxim 1952 0.0 0.0 2576 1428 ? S 12:25 0:00 swaymsg -t subscribe ["shutdown"]
maxim 2357 0.0 0.0 10012 3696 ? S 12:25 0:00 sh -c wofi | xargs swaymsg exec --
maxim 2359 0.0 0.0 8312 1968 ? S 12:25 0:00 xargs swaymsg exec --
maxim 7853 0.0 0.0 10012 3652 ? S 12:42 0:00 sh -c wofi | xargs swaymsg exec --
maxim 7855 0.0 0.0 8312 1968 ? S 12:42 0:00 xargs swaymsg exec --
maxim 39365 0.0 0.0 10012 3656 ? S 13:11 0:00 sh -c wofi | xargs swaymsg exec --
maxim 39367 0.0 0.0 8312 2108 ? S 13:11 0:00 xargs swaymsg exec --
maxim 39982 0.0 0.0 10012 3720 ? S 13:13 0:00 sh -c wofi | xargs swaymsg exec --
maxim 39984 0.0 0.0 8312 2116 ? S 13:13 0:00 xargs swaymsg exec --
maxim 43098 0.0 0.0 10012 3712 ? S 13:48 0:00 sh -c wofi | xargs swaymsg exec --
maxim 43100 0.0 0.0 8312 1880 ? S 13:48 0:00 xargs swaymsg exec --
maxim 52109 0.0 0.0 9104 2540 pts/5 S+ 14:36 0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox sway
Offline
dbus-monitor --system 2>&1 | grep -i lock
Try to lock the session directly and from swaymsg and see whether they want to lock the same session.
You can try to downgrade systemd, but the rebuild should™ only address https://bbs.archlinux.org/viewtopic.php?id=284034
Offline
When from sway (doesn't work):
signal time=1678462531.566449 sender=org.freedesktop.DBus -> destination=(null destination) serial=1196 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.118"
string ""
string ":1.118"
signal time=1678462531.569055 sender=org.freedesktop.DBus -> destination=(null destination) serial=1197 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.118"
string ":1.118"
string ""
signal time=1678462531.569441 sender=org.freedesktop.DBus -> destination=(null destination) serial=1198 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.119"
string ""
string ":1.119"
signal time=1678462531.571084 sender=org.freedesktop.DBus -> destination=(null destination) serial=1199 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.119"
string ":1.119"
string ""
loginctl lock-session in terminal:
signal time=1678462575.744567 sender=org.freedesktop.DBus -> destination=(null destination) serial=1200 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.120"
string ""
string ":1.120"
signal time=1678462575.748077 sender=:1.16 -> destination=(null destination) serial=1271 path=/org/freedesktop/PolicyKit1/Authority; interface=org.freedesktop.PolicyKit1.Authority; member=Changed
signal time=1678462575.748472 sender=org.freedesktop.DBus -> destination=(null destination) serial=1206 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.121"
string ""
string ":1.121"
signal time=1678462575.749045 sender=:1.5 -> destination=(null destination) serial=213 path=/org/freedesktop/login1/session/_31; interface=org.freedesktop.login1.Session; member=Lock
signal time=1678462575.749190 sender=org.freedesktop.DBus -> destination=(null destination) serial=1207 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.121"
string ":1.121"
string ""
signal time=1678462575.749603 sender=org.freedesktop.DBus -> destination=(null destination) serial=1208 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.120"
string ":1.120"
string ""
signal time=1678462575.750008 sender=:1.16 -> destination=(null destination) serial=1274 path=/org/freedesktop/PolicyKit1/Authority; interface=org.freedesktop.PolicyKit1.Authority; member=Changed
signal time=1678462579.943069 sender=org.freedesktop.DBus -> destination=(null destination) serial=1210 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.122"
string ""
string ":1.122"
signal time=1678462579.943419 sender=:1.3 -> destination=(null destination) serial=1940 path=/org/freedesktop/systemd1; interface=org.freedesktop.systemd1.Manager; member=UnitNew
string "dbus-org.freedesktop.home1.service"
object path "/org/freedesktop/systemd1/unit/dbus_2dorg_2efreedesktop_2ehome1_2eservice"
signal time=1678462579.943456 sender=:1.3 -> destination=(null destination) serial=1941 path=/org/freedesktop/systemd1; interface=org.freedesktop.systemd1.Manager; member=UnitRemoved
string "dbus-org.freedesktop.home1.service"
object path "/org/freedesktop/systemd1/unit/dbus_2dorg_2efreedesktop_2ehome1_2eservice"
signal time=1678462579.964240 sender=org.freedesktop.DBus -> destination=(null destination) serial=1211 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.122"
string ":1.122"
string ""
with grep the first one gives nothing and the second one says
signal time=1678462615.921835 sender=:1.5 -> destination=(null destination) serial=217 path=/org/freedesktop/login1/session/_31; interface=org.freedesktop.login1.Session; member=Lock
Also I have checked my cmd history and realized, that it broke down before the update.
Offline
loginctl doesn't seem to connect to the system bus at all, there's not even an authority issue…
How exactly do you invoke sway from the bashrc and what if you
dbus-run-session sway
it?
Offline
Hmm, I found the problem. After I disabled Docker everything works, weird thing is why, because i have default everything, except storage driver, which is set to btrfs.
Offline
When docker is running, does "swaymsg exec foot" work?
Offline
yes
Offline
When and how do you start docker?
Do you have a static hostname?
Can you
dbus-send --session --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.ListNames
dbus-send --system --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.ListNames
while docker is running?
Offline
enabled default systemd service file
i got hostname in /etc/hostname and nothing in /etc/hosts
method return time=1678567253.464689 sender=org.freedesktop.DBus -> destination=:1.164 serial=3 reply_serial=2
array [
string "org.freedesktop.DBus"
string "org.freedesktop.Notifications"
string ":1.128"
string ":1.7"
string ":1.8"
string "org.freedesktop.network-manager-applet"
string "org.keepassxc.KeePassXC.MainWindow"
string ":1.9"
string "org.freedesktop.portal.Desktop"
string "org.mpris.MediaPlayer2.chromium.instance8188"
string "org.freedesktop.systemd1"
string "org.gtk.vfs.Daemon"
string "org.pulseaudio.Server"
string "org.kde.StatusNotifierHost-1943-0"
string "org.kde.StatusNotifierHost-1943-1"
string "fr.arouillard.waybar"
string "org.freedesktop.impl.portal.desktop.gtk"
string "org.a11y.Bus"
string ":1.152"
string ":1.22"
string "org.gnome.keyring"
string ":1.153"
string ":1.23"
string ":1.24"
string ":1.25"
string ":1.26"
string ":1.135"
string ":1.27"
string ":1.28"
string "ca.desrt.dconf"
string "org.freedesktop.portal.Documents"
string ":1.29"
string "org.freedesktop.ReserveDevice1.Audio0"
string "org.freedesktop.ReserveDevice1.Audio1"
string "org.mozilla.firefox.bWF4aW0_"
string "org.freedesktop.impl.portal.desktop.wlr"
string ":1.30"
string ":1.31"
string ":1.10"
string "org.freedesktop.impl.portal.PermissionStore"
string ":1.32"
string ":1.11"
string ":1.33"
string ":1.164"
string ":1.12"
string "org.kde.StatusNotifierWatcher"
string ":1.34"
string ":1.143"
string ":1.13"
string ":1.144"
string ":1.14"
string ":1.2"
string ":1.15"
string "org.freedesktop.secrets"
string ":1.124"
string ":1.16"
string ":1.125"
string ":1.4"
string ":1.17"
string ":1.18"
string ":1.149"
string ":1.6"
string ":1.19"
]
method return time=1678567253.469196 sender=org.freedesktop.DBus -> destination=:1.90 serial=3 reply_serial=2
array [
string "org.freedesktop.DBus"
string ":1.7"
string "org.freedesktop.timesync1"
string ":1.8"
string "org.freedesktop.systemd1"
string "org.fedoraproject.FirewallD1"
string "org.freedesktop.NetworkManager"
string "org.freedesktop.resolve1"
string "org.freedesktop.RealtimeKit1"
string "org.freedesktop.machine1"
string ":1.40"
string "org.freedesktop.PolicyKit1"
string "org.bluez"
string ":1.43"
string ":1.44"
string ":1.45"
string ":1.24"
string ":1.46"
string ":1.47"
string ":1.48"
string ":1.49"
string ":1.28"
string "org.freedesktop.Avahi"
string "org.freedesktop.UDisks2"
string ":1.90"
string "fi.w1.wpa_supplicant1"
string "org.freedesktop.login1"
string "org.freedesktop.ColorManager"
string ":1.74"
string ":1.52"
string ":1.53"
string ":1.32"
string ":1.54"
string ":1.11"
string ":1.33"
string ":1.12"
string ":1.34"
string "org.freedesktop.UPower"
string ":1.0"
string ":1.35"
string ":1.58"
string ":1.1"
string ":1.2"
string ":1.37"
string ":1.3"
string ":1.16"
string ":1.38"
string ":1.4"
string ":1.39"
string ":1.5"
string ":1.6"
]
Last edited by MaximMaximS (2023-03-11 20:41:11)
Offline
enabled default systemd service file
What if you disable it and start it explcitly after entering the sway session?
dbus is there - your static hostname isn't sth. stupid like "localhost"?
Offline
if i start it in sway its everything works, yes my hostname is fine
Offline
Simply delaying the service could be a viable workaround, https://wiki.archlinux.org/title/Iwd#Re … after_boot (you might need more than 2s and obviously not on iwd
Other than that, compare "printenv" and (less likely) "ip a; ip r" between early and late docker starts.
Offline
Hello again,
I kinda forgot about the problem, but now that I need to use Docker, it resurfaced.
So I have made some test, and i delayed it by 1 minute, so I had time to log in, and i realized that the problem occurs even before Docker itself gets started.
Edit: the envy don't show any difference and ip just the docker0 interface
Last edited by MaximMaximS (2023-05-01 12:17:40)
Offline
How does
i realized that the problem occurs even before Docker itself gets started
square with
After I disabled Docker everything works
?
There's no problem w/o docker, but if you enable docker, the problem starts before docker "starts"
Does the problem arise before docker "starts" but after the docker0 NIC shows up?
Offline
The problem was the I cannot do things around polkit like locking screen or changing brightness, because docker service was enabled. After disabling docker, those issues do not occur. But I need to use Docker. When i start it from sway manually everything is ok. So I added the delay to the unit and enabled it as you have said, which gave me enough time to log in before the sleep finishes. So i reboot, but after logging in i realized that i cannot lock or change brightness even before the delay ends and docker starts. So the issues seems to be caused by enabling the unit but not by docker itself.
Offline
Please post the unit file (systemctl show docker.service)
Do you maybe get away w/ the docker.socket?
Offline
Type=notify
ExitType=main
Restart=always
NotifyAccess=main
RestartUSec=2s
TimeoutStartUSec=infinity
TimeoutStopUSec=1min 30s
TimeoutAbortUSec=1min 30s
TimeoutStartFailureMode=terminate
TimeoutStopFailureMode=terminate
RuntimeMaxUSec=infinity
RuntimeRandomizedExtraUSec=0
WatchdogUSec=infinity
WatchdogTimestampMonotonic=0
RootDirectoryStartOnly=no
RemainAfterExit=no
GuessMainPID=yes
MainPID=0
ControlPID=0
FileDescriptorStoreMax=0
NFileDescriptorStore=0
StatusErrno=0
Result=success
ReloadResult=success
CleanResult=success
UID=[not set]
GID=[not set]
NRestarts=0
OOMPolicy=continue
ReloadSignal=1
ExecMainStartTimestampMonotonic=0
ExecMainExitTimestampMonotonic=0
ExecMainPID=0
ExecMainCode=0
ExecMainStatus=0
ExecStartPre={ path=/usr/bin/sleep ; argv[]=/usr/bin/sleep 60 ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }
ExecStartPreEx={ path=/usr/bin/sleep ; argv[]=/usr/bin/sleep 60 ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }
ExecStart={ path=/usr/bin/dockerd ; argv[]=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }
ExecStartEx={ path=/usr/bin/dockerd ; argv[]=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }
ExecReload={ path=/bin/kill ; argv[]=/bin/kill -s HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }
ExecReloadEx={ path=/bin/kill ; argv[]=/bin/kill -s HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }
Slice=system.slice
ControlGroupId=0
MemoryCurrent=[not set]
MemoryAvailable=infinity
CPUUsageNSec=[not set]
TasksCurrent=[not set]
IPIngressBytes=[no data]
IPIngressPackets=[no data]
IPEgressBytes=[no data]
IPEgressPackets=[no data]
IOReadBytes=18446744073709551615
IOReadOperations=18446744073709551615
IOWriteBytes=18446744073709551615
IOWriteOperations=18446744073709551615
Delegate=yes
DelegateControllers=cpu cpuacct cpuset io blkio memory devices pids bpf-firewall bpf-devices bpf-foreign bpf-socket-bind bpf-restrict-network-interfaces
CPUAccounting=yes
CPUWeight=[not set]
StartupCPUWeight=[not set]
CPUShares=[not set]
StartupCPUShares=[not set]
CPUQuotaPerSecUSec=infinity
CPUQuotaPeriodUSec=infinity
IOAccounting=no
IOWeight=[not set]
StartupIOWeight=[not set]
BlockIOAccounting=no
BlockIOWeight=[not set]
StartupBlockIOWeight=[not set]
MemoryAccounting=yes
DefaultMemoryLow=0
DefaultMemoryMin=0
MemoryMin=0
MemoryLow=0
MemoryHigh=infinity
MemoryMax=infinity
MemorySwapMax=infinity
MemoryZSwapMax=infinity
MemoryLimit=infinity
DevicePolicy=auto
TasksAccounting=yes
TasksMax=infinity
IPAccounting=no
ManagedOOMSwap=auto
ManagedOOMMemoryPressure=auto
ManagedOOMMemoryPressureLimit=0
ManagedOOMPreference=none
UMask=0022
LimitCPU=infinity
LimitCPUSoft=infinity
LimitFSIZE=infinity
LimitFSIZESoft=infinity
LimitDATA=infinity
LimitDATASoft=infinity
LimitSTACK=infinity
LimitSTACKSoft=8388608
LimitCORE=infinity
LimitCORESoft=infinity
LimitRSS=infinity
LimitRSSSoft=infinity
LimitNOFILE=infinity
LimitNOFILESoft=infinity
LimitAS=infinity
LimitASSoft=infinity
LimitNPROC=infinity
LimitNPROCSoft=infinity
LimitMEMLOCK=8388608
LimitMEMLOCKSoft=8388608
LimitLOCKS=infinity
LimitLOCKSSoft=infinity
LimitSIGPENDING=58954
LimitSIGPENDINGSoft=58954
LimitMSGQUEUE=819200
LimitMSGQUEUESoft=819200
LimitNICE=30
LimitNICESoft=30
LimitRTPRIO=0
LimitRTPRIOSoft=0
LimitRTTIME=infinity
LimitRTTIMESoft=infinity
OOMScoreAdjust=-500
CoredumpFilter=0x33
Nice=0
IOSchedulingClass=2
IOSchedulingPriority=4
CPUSchedulingPolicy=0
CPUSchedulingPriority=0
CPUAffinityFromNUMA=no
NUMAPolicy=n/a
TimerSlackNSec=50000
CPUSchedulingResetOnFork=no
NonBlocking=no
StandardInput=null
StandardOutput=journal
StandardError=inherit
TTYReset=no
TTYVHangup=no
TTYVTDisallocate=no
SyslogPriority=30
SyslogLevelPrefix=yes
SyslogLevel=6
SyslogFacility=3
LogLevelMax=-1
LogRateLimitIntervalUSec=0
LogRateLimitBurst=0
SecureBits=0
CapabilityBoundingSet=cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore
DynamicUser=no
RemoveIPC=no
PrivateTmp=no
PrivateDevices=no
ProtectClock=no
ProtectKernelTunables=no
ProtectKernelModules=no
ProtectKernelLogs=no
ProtectControlGroups=no
PrivateNetwork=no
PrivateUsers=no
PrivateMounts=no
PrivateIPC=no
ProtectHome=no
ProtectSystem=no
SameProcessGroup=no
UtmpMode=init
IgnoreSIGPIPE=yes
NoNewPrivileges=no
SystemCallErrorNumber=2147483646
LockPersonality=no
RuntimeDirectoryPreserve=no
RuntimeDirectoryMode=0755
StateDirectoryMode=0755
CacheDirectoryMode=0755
LogsDirectoryMode=0755
ConfigurationDirectoryMode=0755
TimeoutCleanUSec=infinity
MemoryDenyWriteExecute=no
RestrictRealtime=no
RestrictSUIDSGID=no
RestrictNamespaces=no
MountAPIVFS=no
KeyringMode=private
ProtectProc=default
ProcSubset=all
ProtectHostname=no
KillMode=process
KillSignal=15
RestartKillSignal=15
FinalKillSignal=9
SendSIGKILL=yes
SendSIGHUP=no
WatchdogSignal=6
Id=docker.service
Names=docker.service
Requires=sysinit.target system.slice docker.socket
Wants=containerd.service network-online.target
Conflicts=shutdown.target
Before=shutdown.target
After=network-online.target containerd.service time-set.target sysinit.target basic.target systemd-journald.socket system.slice docker.socket firewalld.service
TriggeredBy=docker.socket
Documentation=https://docs.docker.com
Description=Docker Application Container Engine
LoadState=loaded
ActiveState=inactive
FreezerState=running
SubState=dead
FragmentPath=/usr/lib/systemd/system/docker.service
DropInPaths=/etc/systemd/system/docker.service.d/delay.conf
UnitFileState=disabled
UnitFilePreset=disabled
StateChangeTimestampMonotonic=0
InactiveExitTimestampMonotonic=0
ActiveEnterTimestampMonotonic=0
ActiveExitTimestampMonotonic=0
InactiveEnterTimestampMonotonic=0
CanStart=yes
CanStop=yes
CanReload=yes
CanIsolate=no
CanFreeze=yes
StopWhenUnneeded=no
RefuseManualStart=no
RefuseManualStop=no
AllowIsolate=no
DefaultDependencies=yes
OnSuccessJobMode=fail
OnFailureJobMode=replace
IgnoreOnIsolate=no
NeedDaemonReload=no
JobTimeoutUSec=infinity
JobRunningTimeoutUSec=infinity
JobTimeoutAction=none
ConditionResult=no
AssertResult=no
ConditionTimestampMonotonic=0
AssertTimestampMonotonic=0
Transient=no
Perpetual=no
StartLimitIntervalUSec=1min
StartLimitBurst=3
StartLimitAction=none
FailureAction=none
SuccessAction=none
CollectMode=inactive
the socket is disabled
Offline
The plan would be to disable the service and enable the socket to have docker started on demand.
Though the problem is likely the containerd.service (which gets pulled by the docker.service immediately), therefore either the containerd process or the overlay kernel module (where I doubt the latter)
Offline
It is really weird, I have added overlay to my modules-load, and there is no issue with it. I have delayed containerd service as well, and the issue occurs even before the delay runs out, but i can!t see anything else ind the unit that could be causing it.
systemctl show containerd.service
Type=notify
ExitType=main
Restart=always
NotifyAccess=main
RestartUSec=5s
TimeoutStartUSec=1min 30s
TimeoutStopUSec=1min 30s
TimeoutAbortUSec=1min 30s
TimeoutStartFailureMode=terminate
TimeoutStopFailureMode=terminate
RuntimeMaxUSec=infinity
RuntimeRandomizedExtraUSec=0
WatchdogUSec=0
WatchdogTimestampMonotonic=0
RootDirectoryStartOnly=no
RemainAfterExit=no
GuessMainPID=yes
MainPID=2270
ControlPID=0
FileDescriptorStoreMax=0
NFileDescriptorStore=0
StatusErrno=0
Result=success
ReloadResult=success
CleanResult=success
UID=[not set]
GID=[not set]
NRestarts=0
OOMPolicy=continue
ReloadSignal=1
ExecMainStartTimestamp=Thu 2023-05-11 08:52:15 CEST
ExecMainStartTimestampMonotonic=90977219
ExecMainExitTimestampMonotonic=0
ExecMainPID=2270
ExecMainCode=0
ExecMainStatus=0
ExecStartPre={ path=/usr/bin/modprobe ; argv[]=/usr/bin/modprobe overlay ; ignore_errors=yes ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }
ExecStartPreEx={ path=/usr/bin/modprobe ; argv[]=/usr/bin/modprobe overlay ; flags=ignore-failure ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }
ExecStart={ path=/usr/bin/containerd ; argv[]=/usr/bin/containerd ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }
ExecStartEx={ path=/usr/bin/containerd ; argv[]=/usr/bin/containerd ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }
Slice=system.slice
ControlGroup=/system.slice/containerd.service
ControlGroupId=4797
MemoryCurrent=69648384
MemoryAvailable=infinity
CPUUsageNSec=486529000
EffectiveCPUs=0-15
EffectiveMemoryNodes=0
TasksCurrent=16
IPIngressBytes=[no data]
IPIngressPackets=[no data]
IPEgressBytes=[no data]
IPEgressPackets=[no data]
IOReadBytes=18446744073709551615
IOReadOperations=18446744073709551615
IOWriteBytes=18446744073709551615
IOWriteOperations=18446744073709551615
Delegate=yes
DelegateControllers=cpu cpuacct cpuset io blkio memory devices pids bpf-firewall bpf-devices bpf-foreign bpf-socket-bind bpf-restrict-network-interfaces
CPUAccounting=yes
CPUWeight=[not set]
StartupCPUWeight=[not set]
CPUShares=[not set]
StartupCPUShares=[not set]
CPUQuotaPerSecUSec=infinity
CPUQuotaPeriodUSec=infinity
IOAccounting=no
IOWeight=[not set]
StartupIOWeight=[not set]
BlockIOAccounting=no
BlockIOWeight=[not set]
StartupBlockIOWeight=[not set]
MemoryAccounting=yes
DefaultMemoryLow=0
DefaultMemoryMin=0
MemoryMin=0
MemoryLow=0
MemoryHigh=infinity
MemoryMax=infinity
MemorySwapMax=infinity
MemoryZSwapMax=infinity
MemoryLimit=infinity
DevicePolicy=auto
TasksAccounting=yes
TasksMax=infinity
IPAccounting=no
ManagedOOMSwap=auto
ManagedOOMMemoryPressure=auto
ManagedOOMMemoryPressureLimit=0
ManagedOOMPreference=none
UMask=0022
LimitCPU=infinity
LimitCPUSoft=infinity
LimitFSIZE=infinity
LimitFSIZESoft=infinity
LimitDATA=infinity
LimitDATASoft=infinity
LimitSTACK=infinity
LimitSTACKSoft=8388608
LimitCORE=infinity
LimitCORESoft=infinity
LimitRSS=infinity
LimitRSSSoft=infinity
LimitNOFILE=infinity
LimitNOFILESoft=infinity
LimitAS=infinity
LimitASSoft=infinity
LimitNPROC=infinity
LimitNPROCSoft=infinity
LimitMEMLOCK=8388608
LimitMEMLOCKSoft=8388608
LimitLOCKS=infinity
LimitLOCKSSoft=infinity
LimitSIGPENDING=58953
LimitSIGPENDINGSoft=58953
LimitMSGQUEUE=819200
LimitMSGQUEUESoft=819200
LimitNICE=30
LimitNICESoft=30
LimitRTPRIO=0
LimitRTPRIOSoft=0
LimitRTTIME=infinity
LimitRTTIMESoft=infinity
OOMScoreAdjust=-999
CoredumpFilter=0x33
Nice=0
IOSchedulingClass=2
IOSchedulingPriority=4
CPUSchedulingPolicy=0
CPUSchedulingPriority=0
CPUAffinityFromNUMA=no
NUMAPolicy=n/a
TimerSlackNSec=50000
CPUSchedulingResetOnFork=no
NonBlocking=no
StandardInput=null
StandardOutput=journal
StandardError=inherit
TTYReset=no
TTYVHangup=no
TTYVTDisallocate=no
SyslogPriority=30
SyslogLevelPrefix=yes
SyslogLevel=6
SyslogFacility=3
LogLevelMax=-1
LogRateLimitIntervalUSec=0
LogRateLimitBurst=0
SecureBits=0
CapabilityBoundingSet=cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore
DynamicUser=no
RemoveIPC=no
PrivateTmp=no
PrivateDevices=no
ProtectClock=no
ProtectKernelTunables=no
ProtectKernelModules=no
ProtectKernelLogs=no
ProtectControlGroups=no
PrivateNetwork=no
PrivateUsers=no
PrivateMounts=no
PrivateIPC=no
ProtectHome=no
ProtectSystem=no
SameProcessGroup=no
UtmpMode=init
IgnoreSIGPIPE=yes
NoNewPrivileges=no
SystemCallErrorNumber=2147483646
LockPersonality=no
RuntimeDirectoryPreserve=no
RuntimeDirectoryMode=0755
StateDirectoryMode=0755
CacheDirectoryMode=0755
LogsDirectoryMode=0755
ConfigurationDirectoryMode=0755
TimeoutCleanUSec=infinity
MemoryDenyWriteExecute=no
RestrictRealtime=no
RestrictSUIDSGID=no
RestrictNamespaces=no
MountAPIVFS=no
KeyringMode=private
ProtectProc=default
ProcSubset=all
ProtectHostname=no
KillMode=process
KillSignal=15
RestartKillSignal=15
FinalKillSignal=9
SendSIGKILL=yes
SendSIGHUP=no
WatchdogSignal=6
Id=containerd.service
Names=containerd.service
Requires=system.slice sysinit.target
WantedBy=docker.service
Conflicts=shutdown.target
Before=shutdown.target docker.service
After=sysinit.target local-fs.target system.slice network.target systemd-journald.socket basic.target
Documentation=https://containerd.io
Description=containerd container runtime
LoadState=loaded
ActiveState=active
FreezerState=running
SubState=running
FragmentPath=/usr/lib/systemd/system/containerd.service
DropInPaths=/etc/systemd/system/containerd.service.d/delay.conf
UnitFileState=disabled
UnitFilePreset=disabled
StateChangeTimestamp=Thu 2023-05-11 08:52:15 CEST
StateChangeTimestampMonotonic=91063346
InactiveExitTimestamp=Thu 2023-05-11 08:51:15 CEST
InactiveExitTimestampMonotonic=30926140
ActiveEnterTimestamp=Thu 2023-05-11 08:52:15 CEST
ActiveEnterTimestampMonotonic=91063346
ActiveExitTimestampMonotonic=0
InactiveEnterTimestampMonotonic=0
CanStart=yes
CanStop=yes
CanReload=no
CanIsolate=no
CanFreeze=yes
StopWhenUnneeded=no
RefuseManualStart=no
RefuseManualStop=no
AllowIsolate=no
DefaultDependencies=yes
OnSuccessJobMode=fail
OnFailureJobMode=replace
IgnoreOnIsolate=no
NeedDaemonReload=no
JobTimeoutUSec=infinity
JobRunningTimeoutUSec=infinity
JobTimeoutAction=none
ConditionResult=yes
AssertResult=yes
ConditionTimestamp=Thu 2023-05-11 08:51:15 CEST
ConditionTimestampMonotonic=30924603
AssertTimestamp=Thu 2023-05-11 08:51:15 CEST
AssertTimestampMonotonic=30924609
Transient=no
Perpetual=no
StartLimitIntervalUSec=10s
StartLimitBurst=5
StartLimitAction=none
FailureAction=none
SuccessAction=none
InvocationID=7763c5bbce704f49b8f1a647f4e5be68
CollectMode=inactive
Offline
I have delayed containerd service as well
Not according to the posted "systemctl show containerd.service" - there's just "/usr/bin/modprobe overlay"
Offline
i did, i removed the drop-in before dumping the unit
Offline