Am 27.05.2016 um 06:48 schrieb Thomas Güttler:
OK, I understand that I need different tool to restart a service
if a check-script fails.
In my case the check script will be custom code. But the restart stuff
is very general and reusable:
Step1: Call check-script
Step2: If exit 0 (meaning se
Hello,
I wish systemd would let me control the dumbest of services via the
dumbest way possible, which would be the presence or lack of a file in
the filesystem. It looks like all the machinery required is already
there in the .path and .service logic.
Regards
Yanko
_
Am 22.05.2016 um 00:51 schrieb Zbigniew Jędrzejewski-Szmek:
* systemd-logind will now by default terminate user processes that are
part of the user session scope unit (session-XX.scope) when the user
logs out. This behavior is controlled by the KillUserProcesses=
Am 27.05.2016 um 12:10 schrieb Reindl Harald:
Am 22.05.2016 um 00:51 schrieb Zbigniew Jędrzejewski-Szmek:
* systemd-logind will now by default terminate user processes
that are
part of the user session scope unit (session-XX.scope) when
the user
logs out. This beh
On Fri, May 27, 2016 at 1:16 PM, Reindl Harald
wrote:
>
>
> Am 27.05.2016 um 12:10 schrieb Reindl Harald:
>
>>
>>
>> Am 22.05.2016 um 00:51 schrieb Zbigniew Jędrzejewski-Szmek:
>>
>>> * systemd-logind will now by default terminate user processes
>>> that are
>>> part of the user
Am 27.05.2016 um 12:45 schrieb Mantas Mikulėnas:
On Fri, May 27, 2016 at 1:16 PM, Reindl Harald mailto:h.rei...@thelounge.net>> wrote:
Am 27.05.2016 um 12:10 schrieb Reindl Harald:
Am 22.05.2016 um 00:51 schrieb Zbigniew Jędrzejewski-Szmek:
* systemd-logind wi
Hello All, hope all is well
On arch linux
Linux X 4.5.3-1-ARCH #1 SMP PREEMPT Sat May 7 20:43:57 CEST 2016 x86_64
GNU/Linux
local/libsystemd 229-3
systemd client libraries
local/systemd 229-3
system and service manager
local/systemd-sysvcompat 229-3 (base)
sysvinit compat for systemd
On Fri, 27.05.16 09:03, jsl6uy js16uy (js1...@gmail.com) wrote:
> systemctl --user set-property foo.scope CPUQuota='5%'
> or
> systemctl set-property --user --runtime foo.scope CPUQuota='5%'
This is not supported with the classic cgroups hierarchy, as resource
controller delegation to unprivilege
Understood
thanks much sir
and now at least I know I'm not crazy for that reason ;)
On Fri, May 27, 2016 at 9:27 AM, Lennart Poettering
wrote:
> On Fri, 27.05.16 09:03, jsl6uy js16uy (js1...@gmail.com) wrote:
>
> > systemctl --user set-property foo.scope CPUQuota='5%'
> > or
> > systemctl set-pr
On Thu, 26.05.16 12:28, Chris Friesen (cbf...@mail.usask.ca) wrote:
> So I've been playing with this a bit, but I've run into another snag. It
> seems that on initial boot even with "net.ifnames=0" the ethernet interface
> ordering isn't consistent.
>
> This means that two systems with identical
Hello, I have encountered a very interesting problem: I have a wired
ipv4 network configured via systemd-network, and an ipv6 sit tunnel.
The problem is it does not start. trying to restart systemd-networkd
gives the error like both local and remote addresses of the tunnel are
incompatible. I assum
On 05/27/2016 08:36 AM, Lennart Poettering wrote:
On Thu, 26.05.16 12:28, Chris Friesen (cbf...@mail.usask.ca) wrote:
So I've been playing with this a bit, but I've run into another snag. It
seems that on initial boot even with "net.ifnames=0" the ethernet interface
ordering isn't consistent.
2016-05-27 17:14 GMT+02:00 Chris Friesen :
> And the annoying thing is that if I turn off the new naming scheme there
> seems to be less determinism than there used to be. I assume this is due to
> the effort to extract more parallelism at boot, but it's causing me grief.
The old network interfac
On 05/27/2016 09:43 AM, Michael Biebl wrote:
2016-05-27 17:14 GMT+02:00 Chris Friesen :
And the annoying thing is that if I turn off the new naming scheme there
seems to be less determinism than there used to be. I assume this is due to
the effort to extract more parallelism at boot, but it's c
Hello,
Is there a way to run systemd-analyze for system shutdown, instead of
boot-up?
I am pretty sure that my system takes way longer than it should to power
off, but the "shutdown-log.txt" technique from
https://freedesktop.org/wiki/Software/systemd/Debugging/#index2h1
doesn't show anything obv
2016-05-27 17:51 GMT+02:00 Chris Friesen :
> The issue is not that the renaming fails (I actually modified the kernel to
> start at eth1000 so there is no possibility of collision).
>
> The problem is that the kernel-assigned "ethX" names are not deterministic.
> If I take two identical systems and
On Fri, May 27, 2016 at 09:14:51AM -0600, Chris Friesen wrote:
> On 05/27/2016 08:36 AM, Lennart Poettering wrote:
> > On Thu, 26.05.16 12:28, Chris Friesen (cbf...@mail.usask.ca) wrote:
> >
> > > So I've been playing with this a bit, but I've run into another snag. It
> > > seems that on initial
On Fri, 27.05.16 09:14, Chris Friesen (cbf...@mail.usask.ca) wrote:
> >Well, udev just modprobes the driver. The driver then probes all
> >devices and that happens in any order it likes.
>
> Looking at the kernel code, the probing order for pci NICs for a given
> driver is pretty well determinist
On Fri, 27.05.16 08:46, Nikolaus Rath (nikol...@rath.org) wrote:
> Hello,
>
> Is there a way to run systemd-analyze for system shutdown, instead of
> boot-up?
>
> I am pretty sure that my system takes way longer than it should to power
> off, but the "shutdown-log.txt" technique from
> https://f
On Thu, 26.05.16 17:12, Mason Loring Bliss (ma...@blisses.org) wrote:
> Traditionally I could edit scripts in /etc/acpi to accomplish things, but on
> EL7 I'm seeing that some combination of upower and systemd/logind appear to
> be the way to control responses to ACPI events.
>
> I want to have c
On Fri, May 27, 2016 at 5:11 PM, Michał Zegan
wrote:
> Hello, I have encountered a very interesting problem: I have a wired
> ipv4 network configured via systemd-network, and an ipv6 sit tunnel.
> The problem is it does not start. trying to restart systemd-networkd
> gives the error like both loc
On Fri, May 27, 2016 at 06:38:05PM +0200, Lennart Poettering wrote:
> See:
>
> https://www.freedesktop.org/wiki/Software/systemd/inhibit/
Thank you!
--
The creatures outside looked from pig to man, and from man to pig, and from pig
to man again; but already it was impossible to say which was w
On Thu, 26.05.16 11:29, Felix Miata (mrma...@earthlink.net) wrote:
> Did this ever get fixed? IOW, sometimes a service will fail to start when a
> system is started, or later, after a session of updating, a previously
> operating service fails to restart, or a newly installed service fails to
> st
On Fri, May 27, 2016 at 7:47 PM, Lennart Poettering
wrote:
> On Thu, 26.05.16 11:29, Felix Miata (mrma...@earthlink.net) wrote:
>
> > Did this ever get fixed? IOW, sometimes a service will fail to start
> when a
> > system is started, or later, after a session of updating, a previously
> > operat
I dig transient services/scopes
I also like interacting with resource limits via systemctl set-property
interface
--easy to list resources that are available and set sans finding and
catting on /sys/fs/cgroup/foo
So...
Basically I have a system up and running. See some processes I want to
corral
it is not large, is it: I will set up the tunnel and attach what you want.
I have set up the tunnel. systemd-networkd configured it immediately
when I issued ip tunnel add with parameters. here is ip addr output:
1: lo: mtu 65536 qdisc noqueue state UNKNOWN
group default qlen 1
link/loopback
26 matches
Mail list logo