[arch-general] systemctl problems with enable,disable,start,stop
Hi, I have installed archlinux from zero. And when I enable anything service the command is slow and i get this error: [root@arch-kodi-nas maykel]# systemctl enable network@enp2s0.service Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-er ror-quark, 24) Created symlink from /etc/systemd/system/multi-user.target.wants/network@enp2s0.service to /etc/systemd/system/network@.service. [root@arch-kodi-nas maykel]# systemctl enable sshd Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-er ror-quark, 24) Is the bug in systemctl? I have installed archlinux un my notebook from 4 years ago and no problems. Thanks in advanced.
2016-05-29 12:57 GMT+02:00 Maykel Franco <maykeldebian@gmail.com>:
Hi, I have installed archlinux from zero. And when I enable anything service the command is slow and i get this error:
[root@arch-kodi-nas maykel]# systemctl enable network@enp2s0.service Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-er ror-quark, 24) Created symlink from /etc/systemd/system/multi-user.target.wants/network@enp2s0.service to /etc/systemd/system/network@.service.
[root@arch-kodi-nas maykel]# systemctl enable sshd Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-er ror-quark, 24)
Is the bug in systemctl?
I have installed archlinux un my notebook from 4 years ago and no problems.
Thanks in advanced.
[root@arch-kodi-nas maykel]# loginctl list-sessions SESSION UID USER SEAT c2 1000 maykel c1 0 root seat0 c5 1000 maykel c4 420 kodi seat0
On Sun, 29 May 2016 12:57:54 +0200, Maykel Franco wrote:
I have installed archlinux from zero. And when I enable anything service the command is slow and i get this error:
Is the bug in systemctl?
I don't think so, but perhaps I'm mistaken, OTOH Google doesn't find relevant links [1] ... [rocketmouse@archlinux ~]$ pacman -Qo /usr/bin/systemctl /usr/bin/systemctl is owned by systemd 229-3 ... at least 229-3 works here without such an error. I just tested start/stop. Regarding the speed, it depends on what my network scripts are doing, if I start or stop them. [rocketmouse@archlinux ~]$ sudo systemctl start alice [rocketmouse@archlinux ~]$ sudo systemctl stop alice [...] [rocketmouse@archlinux ~]$ sudo systemctl stop alice-dhcp [rocketmouse@archlinux ~]$ sudo systemctl start alice-dhcp They could finish immediately or take very long, but that is caused by those scripts. Regards, Ralf [1] https://www.google.de/?gws_rd=ssl#q=arch+linux+StartServiceByName+for+org.fr...
2016-05-29 13:19 GMT+02:00 Ralf Mardorf <silver.bullet@zoho.com>:
On Sun, 29 May 2016 12:57:54 +0200, Maykel Franco wrote:
I have installed archlinux from zero. And when I enable anything service the command is slow and i get this error:
Is the bug in systemctl?
I don't think so, but perhaps I'm mistaken, OTOH Google doesn't find relevant links [1] ...
[rocketmouse@archlinux ~]$ pacman -Qo /usr/bin/systemctl /usr/bin/systemctl is owned by systemd 229-3
... at least 229-3 works here without such an error. I just tested start/stop.
Regarding the speed, it depends on what my network scripts are doing, if I start or stop them.
[rocketmouse@archlinux ~]$ sudo systemctl start alice [rocketmouse@archlinux ~]$ sudo systemctl stop alice [...] [rocketmouse@archlinux ~]$ sudo systemctl stop alice-dhcp [rocketmouse@archlinux ~]$ sudo systemctl start alice-dhcp
They could finish immediately or take very long, but that is caused by those scripts.
Regards, Ralf
[1] https://www.google.de/?gws_rd=ssl#q=arch+linux+StartServiceByName+for+org.fr...
Server: [root@arch-kodi-nas maykel]# LANG=C pacman -Qo /usr/bin/systemctl /usr/bin/systemctl is owned by systemd 229-3 In my laptop with the version systemd is the same, no problem with systemd, dbus or avahi. In the server, today install archlinux from zero. I don't understand anything...
2016-05-29 13:42 GMT+02:00 Maykel Franco <maykeldebian@gmail.com>:
2016-05-29 13:19 GMT+02:00 Ralf Mardorf <silver.bullet@zoho.com>:
On Sun, 29 May 2016 12:57:54 +0200, Maykel Franco wrote:
I have installed archlinux from zero. And when I enable anything service the command is slow and i get this error:
Is the bug in systemctl?
I don't think so, but perhaps I'm mistaken, OTOH Google doesn't find relevant links [1] ...
[rocketmouse@archlinux ~]$ pacman -Qo /usr/bin/systemctl /usr/bin/systemctl is owned by systemd 229-3
... at least 229-3 works here without such an error. I just tested start/stop.
Regarding the speed, it depends on what my network scripts are doing, if I start or stop them.
[rocketmouse@archlinux ~]$ sudo systemctl start alice [rocketmouse@archlinux ~]$ sudo systemctl stop alice [...] [rocketmouse@archlinux ~]$ sudo systemctl stop alice-dhcp [rocketmouse@archlinux ~]$ sudo systemctl start alice-dhcp
They could finish immediately or take very long, but that is caused by those scripts.
Regards, Ralf
[1] https://www.google.de/?gws_rd=ssl#q=arch+linux+StartServiceByName+for+org.fr...
Server:
[root@arch-kodi-nas maykel]# LANG=C pacman -Qo /usr/bin/systemctl /usr/bin/systemctl is owned by systemd 229-3
In my laptop with the version systemd is the same, no problem with systemd, dbus or avahi.
In the server, today install archlinux from zero. I don't understand anything...
-- Unit polkit.service has begun starting up. may 29 13:45:05 arch-kodi-nas polkitd[24054]: Started polkitd version 0.113 may 29 13:45:05 arch-kodi-nas polkitd[24054]: Loading rules from directory /etc/polkit-1/rules.d may 29 13:45:05 arch-kodi-nas polkitd[24054]: Loading rules from directory /usr/share/polkit-1/rules.d may 29 13:45:05 arch-kodi-nas polkitd[24054]: Finished loading, compiling and executing 1 rules may 29 13:45:05 arch-kodi-nas polkitd[24054]: Lost the name org.freedesktop.PolicyKit1 - exiting may 29 13:45:05 arch-kodi-nas systemd[1]: Started Authorization Manager. -- Subject: Unit polkit.service has finished start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit polkit.service has finished starting up. -- -- The start-up result is done. may 29 13:45:30 arch-kodi-nas dbus[292]: [system] Failed to activate service 'org.freedesktop.PolicyKit1': timed out may 29 13:45:30 arch-kodi-nas systemd[1]: Stopping Starts instance of Kodi using xinit... -- Subject: Unit kodi.service has begun shutting down
2016-05-29 13:46 GMT+02:00 Maykel Franco <maykeldebian@gmail.com>:
2016-05-29 13:42 GMT+02:00 Maykel Franco <maykeldebian@gmail.com>:
2016-05-29 13:19 GMT+02:00 Ralf Mardorf <silver.bullet@zoho.com>:
On Sun, 29 May 2016 12:57:54 +0200, Maykel Franco wrote:
I have installed archlinux from zero. And when I enable anything service the command is slow and i get this error:
Is the bug in systemctl?
I don't think so, but perhaps I'm mistaken, OTOH Google doesn't find relevant links [1] ...
[rocketmouse@archlinux ~]$ pacman -Qo /usr/bin/systemctl /usr/bin/systemctl is owned by systemd 229-3
... at least 229-3 works here without such an error. I just tested start/stop.
Regarding the speed, it depends on what my network scripts are doing, if I start or stop them.
[rocketmouse@archlinux ~]$ sudo systemctl start alice [rocketmouse@archlinux ~]$ sudo systemctl stop alice [...] [rocketmouse@archlinux ~]$ sudo systemctl stop alice-dhcp [rocketmouse@archlinux ~]$ sudo systemctl start alice-dhcp
They could finish immediately or take very long, but that is caused by those scripts.
Regards, Ralf
[1] https://www.google.de/?gws_rd=ssl#q=arch+linux+StartServiceByName+for+org.fr...
Server:
[root@arch-kodi-nas maykel]# LANG=C pacman -Qo /usr/bin/systemctl /usr/bin/systemctl is owned by systemd 229-3
In my laptop with the version systemd is the same, no problem with systemd, dbus or avahi.
In the server, today install archlinux from zero. I don't understand anything...
-- Unit polkit.service has begun starting up. may 29 13:45:05 arch-kodi-nas polkitd[24054]: Started polkitd version 0.113 may 29 13:45:05 arch-kodi-nas polkitd[24054]: Loading rules from directory /etc/polkit-1/rules.d may 29 13:45:05 arch-kodi-nas polkitd[24054]: Loading rules from directory /usr/share/polkit-1/rules.d may 29 13:45:05 arch-kodi-nas polkitd[24054]: Finished loading, compiling and executing 1 rules may 29 13:45:05 arch-kodi-nas polkitd[24054]: Lost the name org.freedesktop.PolicyKit1 - exiting may 29 13:45:05 arch-kodi-nas systemd[1]: Started Authorization Manager. -- Subject: Unit polkit.service has finished start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit polkit.service has finished starting up. -- -- The start-up result is done. may 29 13:45:30 arch-kodi-nas dbus[292]: [system] Failed to activate service 'org.freedesktop.PolicyKit1': timed out may 29 13:45:30 arch-kodi-nas systemd[1]: Stopping Starts instance of Kodi using xinit... -- Subject: Unit kodi.service has begun shutting down
systemctl restart kodi, for example: ==> /var/log/auth.log <== May 29 15:49:47 arch-kodi-nas dbus[292]: [system] Failed to activate service 'org.freedesktop.PolicyKit1': timed out May 29 15:49:47 arch-kodi-nas polkitd[24167]: Loading rules from directory /etc/polkit-1/rules.d May 29 15:49:47 arch-kodi-nas polkitd[24167]: Loading rules from directory /usr/share/polkit-1/rules.d May 29 15:49:47 arch-kodi-nas polkitd[24167]: Finished loading, compiling and executing 1 rules May 29 15:49:47 arch-kodi-nas polkitd[24167]: Lost the name org.freedesktop.PolicyKit1 - exiting
2016-05-29 13:50 GMT+02:00 Maykel Franco <maykeldebian@gmail.com>:
2016-05-29 13:46 GMT+02:00 Maykel Franco <maykeldebian@gmail.com>:
2016-05-29 13:42 GMT+02:00 Maykel Franco <maykeldebian@gmail.com>:
2016-05-29 13:19 GMT+02:00 Ralf Mardorf <silver.bullet@zoho.com>:
On Sun, 29 May 2016 12:57:54 +0200, Maykel Franco wrote:
I have installed archlinux from zero. And when I enable anything service the command is slow and i get this error:
Is the bug in systemctl?
I don't think so, but perhaps I'm mistaken, OTOH Google doesn't find relevant links [1] ...
[rocketmouse@archlinux ~]$ pacman -Qo /usr/bin/systemctl /usr/bin/systemctl is owned by systemd 229-3
... at least 229-3 works here without such an error. I just tested start/stop.
Regarding the speed, it depends on what my network scripts are doing, if I start or stop them.
[rocketmouse@archlinux ~]$ sudo systemctl start alice [rocketmouse@archlinux ~]$ sudo systemctl stop alice [...] [rocketmouse@archlinux ~]$ sudo systemctl stop alice-dhcp [rocketmouse@archlinux ~]$ sudo systemctl start alice-dhcp
They could finish immediately or take very long, but that is caused by those scripts.
Regards, Ralf
[1] https://www.google.de/?gws_rd=ssl#q=arch+linux+StartServiceByName+for+org.fr...
Server:
[root@arch-kodi-nas maykel]# LANG=C pacman -Qo /usr/bin/systemctl /usr/bin/systemctl is owned by systemd 229-3
In my laptop with the version systemd is the same, no problem with systemd, dbus or avahi.
In the server, today install archlinux from zero. I don't understand anything...
-- Unit polkit.service has begun starting up. may 29 13:45:05 arch-kodi-nas polkitd[24054]: Started polkitd version 0.113 may 29 13:45:05 arch-kodi-nas polkitd[24054]: Loading rules from directory /etc/polkit-1/rules.d may 29 13:45:05 arch-kodi-nas polkitd[24054]: Loading rules from directory /usr/share/polkit-1/rules.d may 29 13:45:05 arch-kodi-nas polkitd[24054]: Finished loading, compiling and executing 1 rules may 29 13:45:05 arch-kodi-nas polkitd[24054]: Lost the name org.freedesktop.PolicyKit1 - exiting may 29 13:45:05 arch-kodi-nas systemd[1]: Started Authorization Manager. -- Subject: Unit polkit.service has finished start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit polkit.service has finished starting up. -- -- The start-up result is done. may 29 13:45:30 arch-kodi-nas dbus[292]: [system] Failed to activate service 'org.freedesktop.PolicyKit1': timed out may 29 13:45:30 arch-kodi-nas systemd[1]: Stopping Starts instance of Kodi using xinit... -- Subject: Unit kodi.service has begun shutting down
systemctl restart kodi, for example:
==> /var/log/auth.log <== May 29 15:49:47 arch-kodi-nas dbus[292]: [system] Failed to activate service 'org.freedesktop.PolicyKit1': timed out May 29 15:49:47 arch-kodi-nas polkitd[24167]: Loading rules from directory /etc/polkit-1/rules.d May 29 15:49:47 arch-kodi-nas polkitd[24167]: Loading rules from directory /usr/share/polkit-1/rules.d May 29 15:49:47 arch-kodi-nas polkitd[24167]: Finished loading, compiling and executing 1 rules May 29 15:49:47 arch-kodi-nas polkitd[24167]: Lost the name org.freedesktop.PolicyKit1 - exiting
I removed a disk 2TB who thought that was faulty because it gave me problems once and it works well. I don't understand anything...
Hmm, this could be caused by a bad interaction between lvm2 and systemd. Please see the linked issue [0]. It seems to be caused by lvm2>=2.02.153 and systemd 229/230. Downgrading to 2.02.150 could help. [0]: https://github.com/systemd/systemd/issues/3353 On 05/29/2016 02:07 PM, Maykel Franco via arch-general wrote:
2016-05-29 13:50 GMT+02:00 Maykel Franco <maykeldebian@gmail.com>:
2016-05-29 13:46 GMT+02:00 Maykel Franco <maykeldebian@gmail.com>:
2016-05-29 13:42 GMT+02:00 Maykel Franco <maykeldebian@gmail.com>:
2016-05-29 13:19 GMT+02:00 Ralf Mardorf <silver.bullet@zoho.com>:
On Sun, 29 May 2016 12:57:54 +0200, Maykel Franco wrote:
I have installed archlinux from zero. And when I enable anything service the command is slow and i get this error:
Is the bug in systemctl?
I don't think so, but perhaps I'm mistaken, OTOH Google doesn't find relevant links [1] ...
[rocketmouse@archlinux ~]$ pacman -Qo /usr/bin/systemctl /usr/bin/systemctl is owned by systemd 229-3
... at least 229-3 works here without such an error. I just tested start/stop.
Regarding the speed, it depends on what my network scripts are doing, if I start or stop them.
[rocketmouse@archlinux ~]$ sudo systemctl start alice [rocketmouse@archlinux ~]$ sudo systemctl stop alice [...] [rocketmouse@archlinux ~]$ sudo systemctl stop alice-dhcp [rocketmouse@archlinux ~]$ sudo systemctl start alice-dhcp
They could finish immediately or take very long, but that is caused by those scripts.
Regards, Ralf
[1] https://www.google.de/?gws_rd=ssl#q=arch+linux+StartServiceByName+for+org.fr...
Server:
[root@arch-kodi-nas maykel]# LANG=C pacman -Qo /usr/bin/systemctl /usr/bin/systemctl is owned by systemd 229-3
In my laptop with the version systemd is the same, no problem with systemd, dbus or avahi.
In the server, today install archlinux from zero. I don't understand anything...
-- Unit polkit.service has begun starting up. may 29 13:45:05 arch-kodi-nas polkitd[24054]: Started polkitd version 0.113 may 29 13:45:05 arch-kodi-nas polkitd[24054]: Loading rules from directory /etc/polkit-1/rules.d may 29 13:45:05 arch-kodi-nas polkitd[24054]: Loading rules from directory /usr/share/polkit-1/rules.d may 29 13:45:05 arch-kodi-nas polkitd[24054]: Finished loading, compiling and executing 1 rules may 29 13:45:05 arch-kodi-nas polkitd[24054]: Lost the name org.freedesktop.PolicyKit1 - exiting may 29 13:45:05 arch-kodi-nas systemd[1]: Started Authorization Manager. -- Subject: Unit polkit.service has finished start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit polkit.service has finished starting up. -- -- The start-up result is done. may 29 13:45:30 arch-kodi-nas dbus[292]: [system] Failed to activate service 'org.freedesktop.PolicyKit1': timed out may 29 13:45:30 arch-kodi-nas systemd[1]: Stopping Starts instance of Kodi using xinit... -- Subject: Unit kodi.service has begun shutting down
systemctl restart kodi, for example:
==> /var/log/auth.log <== May 29 15:49:47 arch-kodi-nas dbus[292]: [system] Failed to activate service 'org.freedesktop.PolicyKit1': timed out May 29 15:49:47 arch-kodi-nas polkitd[24167]: Loading rules from directory /etc/polkit-1/rules.d May 29 15:49:47 arch-kodi-nas polkitd[24167]: Loading rules from directory /usr/share/polkit-1/rules.d May 29 15:49:47 arch-kodi-nas polkitd[24167]: Finished loading, compiling and executing 1 rules May 29 15:49:47 arch-kodi-nas polkitd[24167]: Lost the name org.freedesktop.PolicyKit1 - exiting
I removed a disk 2TB who thought that was faulty because it gave me problems once and it works well. I don't understand anything...
Is polkit ok? [rocketmouse@archlinux ~]$ pgrep -a polk 537 /usr/lib/polkit-1/polkitd --no-debug [rocketmouse@archlinux ~]$ systemctl status polkit ● polkit.service - Authorization Manager Loaded: loaded (/usr/lib/systemd/system/polkit.service; static; vendor preset: disabled) Active: active (running) since Sun 2016-05-29 03:39:04 CEST; 10h ago Docs: man:polkit(8) Main PID: 537 (polkitd) Tasks: 6 (limit: 512) CGroup: /system.slice/polkit.service └─537 /usr/lib/polkit-1/polkitd --no-debug May 29 13:01:23 archlinux polkitd[537]: Registered Authentication Agent for unix-process:17231:3376269 (system bu May 29 13:01:24 archlinux polkitd[537]: Unregistered Authentication Agent for unix-process:17231:3376269 (system May 29 13:01:31 archlinux polkitd[537]: Registered Authentication Agent for unix-process:17255:3377015 (system bu May 29 13:02:01 archlinux polkitd[537]: Unregistered Authentication Agent for unix-process:17255:3377015 (system May 29 13:02:34 archlinux polkitd[537]: Registered Authentication Agent for unix-process:17367:3383323 (system bu May 29 13:02:34 archlinux polkitd[537]: Unregistered Authentication Agent for unix-process:17367:3383323 (system May 29 13:04:01 archlinux polkitd[537]: Registered Authentication Agent for unix-process:17400:3392063 (system bu May 29 13:04:01 archlinux polkitd[537]: Unregistered Authentication Agent for unix-process:17400:3392063 (system May 29 13:04:08 archlinux polkitd[537]: Registered Authentication Agent for unix-process:17417:3392714 (system bu May 29 13:04:15 archlinux polkitd[537]: Unregistered Authentication Agent for unix-process:17417:3392714 (system lines 1-19/19 (END)
On Sun, 2016-05-29 at 12:57 +0200, Maykel Franco via arch-general wrote:
Hi, I have installed archlinux from zero. And when I enable anything service the command is slow and i get this error:
[root@arch-kodi-nas maykel]# systemctl enable network@enp2s0.service Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-er ror-quark, 24) Created symlink from /etc/systemd/system/multi-user.target.wants/network@enp2s0.service to /etc/systemd/system/network@.service.
[root@arch-kodi-nas maykel]# systemctl enable sshd Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-er ror-quark, 24)
Is the bug in systemctl?
I have installed archlinux un my notebook from 4 years ago and no problems.
Thanks in advanced.
https://github.com/systemd/systemd/issues/3353#issuecomment-222283205 Cheers, pid1
Ok many thanks. How to downgrade this version lvm? El 29 may. 2016 5:53 p. m., "Jonathan Roemer" <jroemer@datto.com> escribió:
On Sun, 2016-05-29 at 12:57 +0200, Maykel Franco via arch-general wrote:
Hi, I have installed archlinux from zero. And when I enable anything service the command is slow and i get this error:
[root@arch-kodi-nas maykel]# systemctl enable network@enp2s0.service Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-er ror-quark, 24) Created symlink from /etc/systemd/system/multi-user.target.wants/network@enp2s0.service to /etc/systemd/system/network@.service.
[root@arch-kodi-nas maykel]# systemctl enable sshd Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-er ror-quark, 24)
Is the bug in systemctl?
I have installed archlinux un my notebook from 4 years ago and no problems.
Thanks in advanced.
https://github.com/systemd/systemd/issues/3353#issuecomment-222283205
Cheers, pid1
https://wiki.archlinux.org/index.php/Downgrading_packages On Mon, May 30, 2016 at 7:08 PM, Maykel Franco via arch-general <arch-general@archlinux.org> wrote:
Ok many thanks. How to downgrade this version lvm? El 29 may. 2016 5:53 p. m., "Jonathan Roemer" <jroemer@datto.com> escribió:
On Sun, 2016-05-29 at 12:57 +0200, Maykel Franco via arch-general wrote:
Hi, I have installed archlinux from zero. And when I enable anything service the command is slow and i get this error:
[root@arch-kodi-nas maykel]# systemctl enable network@enp2s0.service Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-er ror-quark, 24) Created symlink from /etc/systemd/system/multi-user.target.wants/network@enp2s0.service to /etc/systemd/system/network@.service.
[root@arch-kodi-nas maykel]# systemctl enable sshd Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-er ror-quark, 24)
Is the bug in systemctl?
I have installed archlinux un my notebook from 4 years ago and no problems.
Thanks in advanced.
https://github.com/systemd/systemd/issues/3353#issuecomment-222283205
Cheers, pid1
participants (5)
-
Ilya Boka
-
Jonathan Roemer
-
Maykel Franco
-
Ralf Mardorf
-
Wilhelm Schuster