Re: [systemd-devel] Back trace systemd service unit by pid

2017-12-20 Thread aleivag
the simplest way is to use busctl as aleivag@algx:~$ busctl call org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager GetUnitByPID u 28729 o "/org/freedesktop/systemd1/unit/nginx_2eservice" from that you are a awk away of what you want. if you want to get clever yo

[systemd-devel] Back trace systemd service unit by pid

2017-12-20 Thread Kevin Hsu
Hi folks, I am looking for a good way to backtrace systemd service by a process id. The "systemctl status " command is available to do the magic. It will show a full status of the service that creates the pid. But this command gives too many details. The only thing I need is the service unit name.

Re: [systemd-devel] ** server can't find gnu.org: SERVFAIL

2017-12-20 Thread D Gilmore
Thank you for the information about gnu.org nameservers being down. I am so grateful for that advice. Sorry if it's not really a technical matter but it is so frustrating on forums that give such bad suggests. You get lost in that maze for hours without someone with real technical know how helpi

[systemd-devel] Disabling tomcat8

2017-12-20 Thread Jonathan de Boyne Pollard
Cecil Westerhof: Other services I can enable and disable. And with chmod a-x /etc/init.d/tomcat8 you should be able to disable this one, too.  (-: Read https://unix.stackexchange.com/a/394191/5132 for why.

[systemd-devel] Disabling tomcat8

2017-12-20 Thread Jonathan de Boyne Pollard
Tom H: The usual reason for not having a native unit is that you can't force developers to do that work. Psst!  This discussion is predicated upon a falsehood.  There is an abundance of service units for Tomcat, and has been for years. 

Re: [systemd-devel] Custom power off

2017-12-20 Thread Mantas Mikulėnas
On Wed, Dec 20, 2017 at 7:54 PM, Zygmunt Ptak wrote: > Hi systemd devs and users, > > I want to implement custom power off method. > I added to the yocto script: /usr/sbin/halt.local which will power off > my machine. > > But from what I see it is not correct. > Ive got this from my machine: > >

Re: [systemd-devel] Custom power off

2017-12-20 Thread Zygmunt Ptak
Ouch, thanks Doesn't saw that. 2017-12-20 19:19 GMT+01:00 Reindl Harald : > > > Am 20.12.2017 um 18:54 schrieb Zygmunt Ptak: >> >> I want to implement custom power off method. >> I added to the yocto script: /usr/sbin/halt.local which will power off >> my machine. >> >> [ OK ] Reached target Sh

Re: [systemd-devel] Custom power off

2017-12-20 Thread Reindl Harald
Am 20.12.2017 um 18:54 schrieb Zygmunt Ptak: I want to implement custom power off method. I added to the yocto script: /usr/sbin/halt.local which will power off my machine. [ OK ] Reached target Shutdown. Starting /usr/sbin/halt.local Compatibility... My power off [ 76.916101] EX

[systemd-devel] Custom power off

2017-12-20 Thread Zygmunt Ptak
Hi systemd devs and users, I want to implement custom power off method. I added to the yocto script: /usr/sbin/halt.local which will power off my machine. But from what I see it is not correct. Ive got this from my machine: [ OK ] Reached target Shutdown. Starting /usr/sbin/halt.local

Re: [systemd-devel] ** server can't find gnu.org: SERVFAIL

2017-12-20 Thread Mantas Mikulėnas
On Wed, Dec 20, 2017 at 7:11 PM, Reindl Harald wrote: > > > Am 20.12.2017 um 10:05 schrieb D Gilmore: > >> Why is this happening? I am an average user trying to get to the >> www.gnu.org website. I have no problem with any other website at the >> moment. I have spent hours googling and asking que

Re: [systemd-devel] ** server can't find gnu.org: SERVFAIL

2017-12-20 Thread Reindl Harald
Am 20.12.2017 um 10:05 schrieb D Gilmore: Why is this happening? I am an average user trying to get to the www.gnu.org website. I have no problem with any other website at the moment. I have spent hours googling and asking questions on forums trying to solve this problem. But I do not know ho

[systemd-devel] ** server can't find gnu.org: SERVFAIL

2017-12-20 Thread D Gilmore
Why is this happening? I am an average user trying to get to the www.gnu.org website. I have no problem with any other website at the moment. I have spent hours googling and asking questions on forums trying to solve this problem. But I do not know how to resolve this. I have tried different sol

Re: [systemd-devel] Disabling tomcat8

2017-12-20 Thread Tom H
On Tue, Dec 19, 2017 at 2:34 PM, Reindl Harald wrote: > Am 19.12.2017 um 20:05 schrieb Lennart Poettering: >> On Mo, 18.12.17 19:40, Cecil Westerhof (cldwester...@gmail.com) wrote: >>> There is a system with tomcat8 installed and enabled. At the moment it is >>> not used, so I thought it better

Re: [systemd-devel] Disabling tomcat8

2017-12-20 Thread Reindl Harald
Am 20.12.2017 um 14:52 schrieb Tom H: On Tue, Dec 19, 2017 at 2:34 PM, Reindl Harald wrote: Am 19.12.2017 um 20:05 schrieb Lennart Poettering: On Mo, 18.12.17 19:40, Cecil Westerhof (cldwester...@gmail.com) wrote: There is a system with tomcat8 installed and enabled. At the moment it is

Re: [systemd-devel] Disabling tomcat8

2017-12-20 Thread Lennart Poettering
On Di, 19.12.17 20:34, Reindl Harald (h.rei...@thelounge.net) wrote: > > > Am 19.12.2017 um 20:05 schrieb Lennart Poettering: > > On Mo, 18.12.17 19:40, Cecil Westerhof (cldwester...@gmail.com) wrote: > > > > > There is a system with tomcat8 installed and enabled. At the moment it is > > > not

[systemd-devel] systemd-ask-password echoes stars(*) by default

2017-12-20 Thread root kea
Hello! I am using LUKS on Debian Stretch with an encrypted /home and swap partitions. When the system boots `cryptsetup` asks password to decrypt swap. That password doesn't get echoed on terminal at all. Totally expected behavior. [0] But then `systemd-ask-password` asks password to decrypt /ho