[systemd-devel] Is there a way to recover from a crashed systemd without rebooting?

2017-10-31 Thread Daniel Wang
I hit a bug in systemd-232 and it crashed. Anything I tried to do with `systemctl`, including `systemctl daemon-reexec` seemed to rely on the systemd dbus service, which all resulted in `Failed to activate service 'org.freedesktop.systemd1': timed out`. systemd runs as PID 1. Is there any way to r

Re: [systemd-devel] udev

2017-10-31 Thread David Henderson
Good afternoon all. So is there another place I can get help for this problem? Thanks, Dave On 10/30/17, David Henderson wrote: > Good morning all! Just following up with this! > > Thanks, > Dave > > > On 10/26/17, David Henderson wrote: >> On 10/26/17, David Henderson wrote: >>> So I am us

Re: [systemd-devel] one shot service exit-code

2017-10-31 Thread Matt Zagrabelny
On Tue, Oct 31, 2017 at 11:21 AM, Reindl Harald wrote: > > > Am 31.10.2017 um 17:06 schrieb Matt Zagrabelny: > >> I have phone that I plug into my computer and have a udev rule to fire >> off a systemd service. Things work well, but the journal indicates that the >> command isn't terminating clea

Re: [systemd-devel] one shot service exit-code

2017-10-31 Thread Reindl Harald
Am 31.10.2017 um 17:26 schrieb Matt Zagrabelny: On Tue, Oct 31, 2017 at 11:21 AM, Reindl Harald > wrote: Am 31.10.2017 um 17:06 schrieb Matt Zagrabelny: I have phone that I plug into my computer and have a udev rule to fire off a systemd se

Re: [systemd-devel] one shot service exit-code

2017-10-31 Thread Matt Zagrabelny
On Tue, Oct 31, 2017 at 11:29 AM, Reindl Harald wrote: > > >> Any ideas why the terminal exit code is 0 from another terminal, but when >> systemd spawns it, it is 255? >> > > that's a question for gnome developers and i din't touch anything from > them until i am forced so, they probalby don't g

Re: [systemd-devel] one shot service exit-code

2017-10-31 Thread Reindl Harald
Am 31.10.2017 um 17:06 schrieb Matt Zagrabelny: I have phone that I plug into my computer and have a udev rule to fire off a systemd service. Things work well, but the journal indicates that the command isn't terminating cleanly. However here is the journal when I plug in the phone: Oct 31

[systemd-devel] one shot service exit-code

2017-10-31 Thread Matt Zagrabelny
Greetings, I have phone that I plug into my computer and have a udev rule to fire off a systemd service. Things work well, but the journal indicates that the command isn't terminating cleanly. Here is the udev rules. Added for completeness: % cat /etc/udev/rules.d/90-galaxy-note-3.rules # Downloa

Re: [systemd-devel] Is there a way to override the "Where" option in mount units?

2017-10-31 Thread Dennis Jacobfeuerborn
On 31.10.2017 11:33, Jérémy Rosen wrote: > you could mask the original unit and symlink it with a new name in /etc > > you could probably use Alias= in the [Install] section to have that > automated at install time... not sure if that would work, some testing > is needed. > > On 31/10/2017 11:19,

Re: [systemd-devel] Is there a way to override the "Where" option in mount units?

2017-10-31 Thread Jérémy Rosen
you could mask the original unit and symlink it with a new name in /etc you could probably use Alias= in the [Install] section to have that automated at install time... not sure if that would work, some testing is needed. On 31/10/2017 11:19, Dennis Jacobfeuerborn wrote: Hi, I'm trying to se

[systemd-devel] Is there a way to override the "Where" option in mount units?

2017-10-31 Thread Dennis Jacobfeuerborn
Hi, I'm trying to set up a redundant nfs server but the problem I'm currently running into is that I need to move the /var/lib/nfs/rpc_pipefs mountpoint outside of /var/lib/nfs. The original mountpoint is handled by /usr/lib/systemd/system/var-lib-nfs-rpc_pipefs.mount which comes as part of the nfs

[systemd-devel] ?????? ?????? ?????? ?????? ?????? [systemd-d e vel] sys temctl can't execute stopactually,whenservice isstarted by other way

2017-10-31 Thread ????
Hi Lennart, Is there a way to get hard ulimit in systemd.unit. Because I want to set soft ulimit to hard ulimit value by LimitCORE. Thank you. -- -- ??: "Lennart Poettering"; : 2017??10??28??(??) 7:09 ??: ""<624001...@