Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #184322 > unrolled thread
| Started by | kjonca@poczta.onet.pl (Kamil Jońca) |
|---|---|
| First post | 2017-07-27 19:30 +0200 |
| Last post | 2017-07-28 16:50 +0200 |
| Articles | 10 — 3 participants |
Back to article view | Back to linux.debian.user
systemd autocompletion does not work kjonca@poczta.onet.pl (Kamil Jońca) - 2017-07-27 19:30 +0200
Re: systemd autocompletion does not work Michael Biebl <biebl@debian.org> - 2017-07-27 19:50 +0200
Re: systemd autocompletion does not work kjonca@poczta.onet.pl (Kamil Jońca) - 2017-07-27 22:50 +0200
Re: systemd autocompletion does not work Michael Biebl <biebl@debian.org> - 2017-07-27 23:20 +0200
Re: systemd autocompletion does not work kjonca@poczta.onet.pl (Kamil Jońca) - 2017-07-28 00:10 +0200
Re: systemd autocompletion does not work Michael Biebl <biebl@debian.org> - 2017-07-28 02:20 +0200
Re: systemd autocompletion does not work kjonca@poczta.onet.pl (Kamil Jońca) - 2017-07-28 06:40 +0200
Re: systemd autocompletion does not work Michael Biebl <biebl@debian.org> - 2017-07-28 08:40 +0200
Re: systemd autocompletion does not work kjonca@poczta.onet.pl (Kamil Jońca) - 2017-07-28 16:00 +0200
Re: systemd autocompletion does not work Henrique de Moraes Holschuh <hmh@debian.org> - 2017-07-28 16:50 +0200
| From | kjonca@poczta.onet.pl (Kamil Jońca) |
|---|---|
| Date | 2017-07-27 19:30 +0200 |
| Subject | systemd autocompletion does not work |
| Message-ID | <u7ULL-w9-13@gated-at.bofh.it> |
1. Box with debian sid, updated frequently 2. Recently I realized that completion of systemd units does not work, ie. $sudo systemd restart <TAB> gives me "@" sign only. I noticed that, at the moment of pressing tab I got in /var/log/auth.log --8<---------------cut here---------------start------------->8--- 2017-07-27T19:01:37.228534+02:00 alfa dbus[685]: [system] Rejected send message, 4 matched rules; type="method_call", sender=":1.507" (uid=1000 pid=10335 comm="systemctl --full --no-legend --no-pager list-unit-") interface="org.freedesktop.systemd1.Manager" member="ListUnitFilesByPatterns" error name="(unset)" requested_reply="0" destination="org.freedesktop.systemd1" (uid=0 pid=1 comm="/sbin/init ") 2017-07-27T19:01:37.235178+02:00 alfa dbus[685]: [system] Rejected send message, 4 matched rules; type="method_call", sender=":1.508" (uid=1000 pid=10337 comm="systemctl --full --no-legend --no-pager list-units") interface="org.freedesktop.systemd1.Manager" member="ListUnitsByPatterns" error name="(unset)" requested_reply="0" destination="org.freedesktop.systemd1" (uid=0 pid=1 comm="/sbin/init ") 2017-07-27T19:01:37.235466+02:00 alfa dbus[685]: [system] Rejected send message, 4 matched rules; type="method_call", sender=":1.508" (uid=1000 pid=10337 comm="systemctl --full --no-legend --no-pager list-units") interface="org.freedesktop.systemd1.Manager" member="ListUnitsFiltered" error name="(unset)" requested_reply="0" destination="org.freedesktop.systemd1" (uid=0 pid=1 comm="/sbin/init ") 2017-07-27T19:01:37.253102+02:00 alfa dbus[685]: [system] Rejected send message, 4 matched rules; type="method_call", sender=":1.510" (uid=1000 pid=10342 comm="systemctl --full --no-legend --no-pager list-unit-") interface="org.freedesktop.systemd1.Manager" member="ListUnitFilesByPatterns" error name="(unset)" requested_reply="0" destination="org.freedesktop.systemd1" (uid=0 pid=1 comm="/sbin/init ") --8<---------------cut here---------------end--------------->8--- What am I missing? KJ -- http://wolnelektury.pl/wesprzyj/teraz/ I have ways of making money that you know nothing of. -- John D. Rockefeller
[toc] | [next] | [standalone]
| From | Michael Biebl <biebl@debian.org> |
|---|---|
| Date | 2017-07-27 19:50 +0200 |
| Message-ID | <u7V57-D1-1@gated-at.bofh.it> |
| In reply to | #184322 |
[Multipart message — attachments visible in raw view] — view raw
Am 27.07.2017 um 19:09 schrieb Kamil Jońca: > > 1. Box with debian sid, updated frequently > 2. Recently I realized that completion of systemd units does not work, > ie. > $sudo systemd restart <TAB> gives me "@" sign only. ... > What am I missing? The tool is called systemctl, not systemd.
[toc] | [prev] | [next] | [standalone]
| From | kjonca@poczta.onet.pl (Kamil Jońca) |
|---|---|
| Date | 2017-07-27 22:50 +0200 |
| Message-ID | <u7XTk-2wS-11@gated-at.bofh.it> |
| In reply to | #184323 |
Michael Biebl <biebl@debian.org> writes: > Am 27.07.2017 um 19:09 schrieb Kamil Jońca: >> >> 1. Box with debian sid, updated frequently >> 2. Recently I realized that completion of systemd units does not work, >> ie. >> $sudo systemd restart <TAB> gives me "@" sign only. > > ... > >> What am I missing? > > The tool is called systemctl, not systemd. You're right, my typo. But what am I missing? KJ -- http://wolnelektury.pl/wesprzyj/teraz/ Beware the one behind you.
[toc] | [prev] | [next] | [standalone]
| From | Michael Biebl <biebl@debian.org> |
|---|---|
| Date | 2017-07-27 23:20 +0200 |
| Message-ID | <u7Yml-2WL-1@gated-at.bofh.it> |
| In reply to | #184331 |
[Multipart message — attachments visible in raw view] — view raw
Am 27.07.2017 um 22:20 schrieb Kamil Jońca: > Michael Biebl <biebl@debian.org> writes: > >> Am 27.07.2017 um 19:09 schrieb Kamil Jońca: >>> >>> 1. Box with debian sid, updated frequently >>> 2. Recently I realized that completion of systemd units does not work, >>> ie. >>> $sudo systemd restart <TAB> gives me "@" sign only. >> >> ... >> >>> What am I missing? >> >> The tool is called systemctl, not systemd. > > You're right, my typo. > But what am I missing? > KJ > Are you sure you are using systemd as PID 1? Is systemd-sysv installed and have you rebooted since installing that package?
[toc] | [prev] | [next] | [standalone]
| From | kjonca@poczta.onet.pl (Kamil Jońca) |
|---|---|
| Date | 2017-07-28 00:10 +0200 |
| Message-ID | <u7Z8K-3v1-25@gated-at.bofh.it> |
| In reply to | #184332 |
Michael Biebl <biebl@debian.org> writes: [...] > > Are you sure you are using systemd as PID 1? Is systemd-sysv installed > and have you rebooted since installing that package? > hm. $ps ax shows [..stripped..] 1 ? Ss 0:33 /sbin/init then $ll /sbin/init lrwxrwxrwx 1 root root 20 Jul 20 15:13 /sbin/init -> /lib/systemd/systemd $dpkg -l systemd-sysv Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-====================================-=======================-=======================-============================================================================= ii systemd-sysv 234-2 amd64 system and service manager - SysV links Yes, computer was restarted. KJ -- http://wolnelektury.pl/wesprzyj/teraz/ If it's worth doing, it's worth doing for money.
[toc] | [prev] | [next] | [standalone]
| From | Michael Biebl <biebl@debian.org> |
|---|---|
| Date | 2017-07-28 02:20 +0200 |
| Message-ID | <u81ay-4HI-13@gated-at.bofh.it> |
| In reply to | #184322 |
[Multipart message — attachments visible in raw view] — view raw
Am 27.07.2017 um 19:09 schrieb Kamil Jońca: > > 1. Box with debian sid, updated frequently > 2. Recently I realized that completion of systemd units does not work, > ie. > $sudo systemd restart <TAB> gives me "@" sign only. > I noticed that, at the moment of pressing tab I got in /var/log/auth.log > --8<---------------cut here---------------start------------->8--- > 2017-07-27T19:01:37.228534+02:00 alfa dbus[685]: [system] Rejected send message, 4 matched rules; type="method_call", sender=":1.507" (uid=1000 pid=10335 comm="systemctl --full --no-legend --no-pager list-unit-") interface="org.freedesktop.systemd1.Manager" member="ListUnitFilesByPatterns" error name="(unset)" requested_reply="0" destination="org.freedesktop.systemd1" (uid=0 pid=1 comm="/sbin/init ") Can you provide the systemd and dbus version and the output of ls -la /etc/dbus-1/system.d/ /usr/share/dbus-1/system.d/ -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
[toc] | [prev] | [next] | [standalone]
| From | kjonca@poczta.onet.pl (Kamil Jońca) |
|---|---|
| Date | 2017-07-28 06:40 +0200 |
| Message-ID | <u85e9-7ox-1@gated-at.bofh.it> |
| In reply to | #184340 |
Michael Biebl <biebl@debian.org> writes: > Am 27.07.2017 um 19:09 schrieb Kamil Jońca: >> >> 1. Box with debian sid, updated frequently >> 2. Recently I realized that completion of systemd units does not work, >> ie. >> $sudo systemd restart <TAB> gives me "@" sign only. >> I noticed that, at the moment of pressing tab I got in /var/log/auth.log >> --8<---------------cut here---------------start------------->8--- >> 2017-07-27T19:01:37.228534+02:00 alfa dbus[685]: [system] Rejected >> send message, 4 matched rules; type="method_call", sender=":1.507" >> (uid=1000 pid=10335 comm="systemctl --full --no-legend --no-pager >> list-unit-") interface="org.freedesktop.systemd1.Manager" >> member="ListUnitFilesByPatterns" error name="(unset)" >> requested_reply="0" destination="org.freedesktop.systemd1" (uid=0 >> pid=1 comm="/sbin/init ") > > Can you provide the systemd and dbus version and the output of > ls -la /etc/dbus-1/system.d/ /usr/share/dbus-1/system.d/ $dpkg -l systemd dbus Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-====================================-=======================-=======================-============================================================================= ii dbus 1.10.20-1 amd64 simple interprocess messaging system (daemon and utilities) ii systemd 234-2 amd64 system and service manager $ls -la /etc/dbus-1/system.d/ /usr/share/dbus-1/system.d/ /etc/dbus-1/system.d/: total 36 drwxr-xr-x 2 root root 4096 Jul 27 19:11 . drwxr-xr-x 4 root root 4096 Jul 2 07:19 .. -rw-r--r-- 1 root root 1144 Dec 9 2014 avahi-dbus.conf -rw-r--r-- 1 root root 1630 Aug 18 2015 bluetooth.conf -rw-r--r-- 1 root root 1569 Jun 5 2014 org.freedesktop.ColorManager.conf -rw-r--r-- 1 root root 632 May 22 2014 org.freedesktop.PolicyKit1.conf -rw-r--r-- 1 root root 1075 Nov 16 2014 org.freedesktop.RealtimeKit1.conf -rw-r--r-- 1 root root 3947 Apr 29 2014 org.freedesktop.systemd-shim.conf -rw-r--r-- 1 root root 1084 Apr 27 2015 pulseaudio-system.conf /usr/share/dbus-1/system.d/: total 60 drwxr-xr-x 2 root root 4096 Jul 22 11:17 . drwxr-xr-x 6 root root 4096 Jul 2 07:18 .. -rw-r--r-- 1 root root 947 Jul 12 16:01 org.freedesktop.hostname1.conf -rw-r--r-- 1 root root 937 Jul 12 16:01 org.freedesktop.locale1.conf -rw-r--r-- 1 root root 12499 Jul 12 16:01 org.freedesktop.login1.conf -rw-r--r-- 1 root root 1604 Jul 12 16:01 org.freedesktop.network1.conf -rw-r--r-- 1 root root 953 Jul 12 16:01 org.freedesktop.resolve1.conf -rw-r--r-- 1 root root 12654 Jul 12 16:01 org.freedesktop.systemd1.conf -rw-r--r-- 1 root root 947 Jul 12 16:01 org.freedesktop.timedate1.conf KJ -- http://wolnelektury.pl/wesprzyj/teraz/ It is the wise bird who builds his nest in a tree.
[toc] | [prev] | [next] | [standalone]
| From | Michael Biebl <biebl@debian.org> |
|---|---|
| Date | 2017-07-28 08:40 +0200 |
| Message-ID | <u876h-9S-1@gated-at.bofh.it> |
| In reply to | #184341 |
[Multipart message — attachments visible in raw view] — view raw
Am 28.07.2017 um 06:14 schrieb Kamil Jońca: > /etc/dbus-1/system.d/: > -rw-r--r-- 1 root root 3947 Apr 29 2014 org.freedesktop.systemd-shim.conf Purge the systemd-shim package. This file from systemd-shim is breaking systemd.
[toc] | [prev] | [next] | [standalone]
| From | kjonca@poczta.onet.pl (Kamil Jońca) |
|---|---|
| Date | 2017-07-28 16:00 +0200 |
| Message-ID | <u8dY5-4rR-15@gated-at.bofh.it> |
| In reply to | #184342 |
Michael Biebl <biebl@debian.org> writes: > Am 28.07.2017 um 06:14 schrieb Kamil Jońca: > >> /etc/dbus-1/system.d/: >> -rw-r--r-- 1 root root 3947 Apr 29 2014 org.freedesktop.systemd-shim.conf > > Purge the systemd-shim package. This file from systemd-shim is breaking > systemd. > Touche. Thank you. KJ -- http://stopstopnop.pl/stop_stopnop.pl_o_nas.html Regardless of whether a mission expands or contracts, administrative overhead continues to grow at a steady rate.
[toc] | [prev] | [next] | [standalone]
| From | Henrique de Moraes Holschuh <hmh@debian.org> |
|---|---|
| Date | 2017-07-28 16:50 +0200 |
| Message-ID | <u8eKu-4ZB-7@gated-at.bofh.it> |
| In reply to | #184342 |
On Fri, 28 Jul 2017, Michael Biebl wrote: > Am 28.07.2017 um 06:14 schrieb Kamil Jońca: > > /etc/dbus-1/system.d/: > > -rw-r--r-- 1 root root 3947 Apr 29 2014 org.freedesktop.systemd-shim.conf > > Purge the systemd-shim package. This file from systemd-shim is breaking > systemd. Hmm, we lack a way to fix this kind of issue cleanly and easily in Debian :-( There isn't a "conflicts-like" package relation that forbids even conffiles from existing. The cleaner alternative I know of is to switch from conffile to config file management (using ucf) in systemd-shim, so that the systemd-shim package could *stash* org.freedesktop.systemd-shim.conf away on remove, and preserve it if reinstalled... -- Henrique Holschuh
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web