Re: [systemd-devel] Starting programs before udev is running

2025-09-02 Thread Barry Scott
> On 2 Sep 2025, at 10:09, Demi Marie Obenour wrote: > > The reason I ask is that I'm using systemd-udevd with a > non-systemd service manager (s6 + s6-rc) and it has an > incompatible method for readiness notification (writing > a newline to a file descriptor). Two thoughts. Wrap in a progra

Re: [systemd-devel] Stopping service manually, kills all dependencies but starting it again doesn't start dependencies

2025-08-11 Thread Barry Scott
> On 11 Aug 2025, at 10:42, Eliasson, Erik wrote: > > But when we start service A after stopping it manually, it doesn't restart B > and C as previously seen in version 244. I would not expect B or C to start if I start A unless A Wants=/Requires= B or C. Barry

Re: [systemd-devel] How to lock two instances of a templated service against each other

2025-07-30 Thread Barry Scott
> On 30 Jul 2025, at 09:00, Marc Haber wrote: > > I find the entire Before/After and Wants/Requires incredibly powerful but > also hard to grasp. I am not a newbie to systemd but this is something that I > have not fully understood yet. The description in `man systemd.unit` seem to describe

Re: [systemd-devel] How to lock two instances of a templated service against each other

2025-07-29 Thread Barry Scott
> On 29 Jul 2025, at 09:30, Marc Haber wrote: > > Hi, > > I have a template service unit which runs a oneshot service that generates > both high CPU and high I/O load for a couple of minutes. The service is > templated a couple of times and runs from an, also templated timer. > > In anothe

Re: [systemd-devel] Documentation on 'run0' command in Systemd >256

2025-06-27 Thread Barry Scott
> On 26 Jun 2025, at 17:58, SCOTT FIELDS wrote: > > I never said it was a drop-in replacement. > > But if the goal is to use this instead of "sudo", some migration > documentation would help quite a bit. > > I know the implementation will not work with current "sudoers" > configurations, no

Re: [systemd-devel] systemd-networkd: IPv6 prefix delegation disabled by ipv6forwarding=true

2025-02-03 Thread Barry Scott
> On 14 Jan 2025, at 09:04, Max Gautier wrote: > > I have similar setup (PPPoE, /48 delegation) here are my network files: > (It's been a while, I don't remember the reason for everything) > Thanks to all of you that responded. I now have every working with the information you provided. Thi

[systemd-devel] systemd-networkd: IPv6 prefix delegation disabled by ipv6forwarding=true

2025-01-13 Thread Barry Scott
I'm building a router for my home using Fedora server as the base. I have a ISP that provides me with a IPv4 and Ipv6 over PPPoE. The IPv6 is a /48. I have the IPv4 all working well. But the IPv6 configuration I cannot figure out. I have two interface named internal and external. In /etc/syst

Re: [systemd-devel] Scheduling 3 periodic jobs using systemd

2024-07-12 Thread Barry Scott
> On 12 Jul 2024, at 11:08, t.schnei...@disroot.org wrote: > > Could you please explain the idea behind this proposal? > I assume you run three different services to do the backups. Each with different parameters, month, weeek, day config. flock allows you serialise the access to a resource,

Re: [systemd-devel] Scheduling 3 periodic jobs using systemd

2024-07-12 Thread Barry Scott
> <https://wiki.archlinux.org/title/Systemd/Timers> involved. > You can change the ExecStart= to use flock, see man flock for details. Off the top of my head something like: ExecStart=flock --exclusive mylock rsnapshot Add in full paths to make it robust. Barry > > Am 2024-07

Re: [systemd-devel] Scheduling 3 periodic jobs using systemd

2024-07-12 Thread Barry Scott
> On 12 Jul 2024, at 08:34, t.schnei...@disroot.org wrote: > > Setting the time of day requires detailed knowledge about the runtime of each > job. > > But this forecast is not accurate and this means any setting could result in > same error. > Agreed that is a problem with this approach.

Re: [systemd-devel] Fastest way to dump last X Mo of logs from the journal ?

2024-04-24 Thread Barry Scott
> On 24 Apr 2024, at 19:48, Etienne Champetier > wrote: > > Anyone have other ideas to do fast exports without having all logs in > memory or twice on disk ? Maybe base on time not size? Then you can use the --since option. Barry

Re: [systemd-devel] Random freeze at booting Fedora 38

2023-07-20 Thread Barry Scott
> On 18 Jul 2023, at 13:37, Georges Leichtmann wrote: > > Hi, > > After upgrading Fedora 37 Workstation (which was fine) to Fedora 38 WS, I > see occasional (random) freezing when booting. The freeze occurs generally in > the screen where to select the user, where nothing is possible, only

[systemd-devel] network interface stuck in configuring

2023-03-21 Thread Barry Scott
I just found that one of my systems that uses systemd-networkd did not have DNS setup. Below is the all the commands I ran to debug this problem that showed up after the system was dnf updated and rebooted. This is what I found: $ host google.com Host google.com not found: 2(SERVFAIL) $ more /

Re: [systemd-devel] mkosi dnf install packages failed

2023-03-19 Thread Barry Scott
> On 17 Mar 2023, at 21:54, William Roberts wrote: > > I am on Fedora 37, I did a dnf up and rebooted to make sure that's not > the issue. > > With the mkosi from the pkg manager, I am getting: > mkosi > mkosi: error: unrecognized arguments: > --kernel-command-line-extra=systemd.crash_shell >

Re: [systemd-devel] Extend systemd-resolved service to override DNS response

2023-02-15 Thread Barry Scott
> On 15 Feb 2023, at 10:31, Aditya Sharma wrote: > > Hi Kevin, > > When the TTLs expire, those records in the cache become 'stale', and are > normally purged. Your request is to have an option in systemd-resolved to > *not* purge those records, but to continue serving them in case it is unab

Re: [systemd-devel] systemd-cgtop doesn't show Input/Output

2022-12-06 Thread Barry Scott
> On 6 Dec 2022, at 06:45, Vladimir Mokrozub wrote: > > Thank you, I added "systemd.unified_cgroup_hierarchy=1 " to the kernel's > command line and systemd-cgtop now shows Input/Output. > However, I ran into a problem with LXC containers after switching to unified > mode and though I managed

Re: [systemd-devel] can't start shell script in the background

2022-12-02 Thread Barry Scott
> On 2 Dec 2022, at 14:56, Lentes, Bernd > wrote: > > [Service] > ExecStart=/root/skripte/dev_shm_inotifywait.sh > Type=exec > # ExecStart=/usr/bin/inotifywait "-e delete -d -o /var/log/monitordev_shm.log > -r --timefmt %d.%m.%Y-%H:%M:%S --format %w%f:%e:%T /dev/shm" > # Restart=always The T

Re: [systemd-devel] systemd-resolved/NetworkManager resolv.conf handling

2022-11-07 Thread Barry Scott
> On 7 Nov 2022, at 10:24, Thomas HUMMEL wrote: > > > > On 11/6/22 22:30, Barry wrote: > > >> So a dirty hack is to replace /sbin/resolvconf with a script that >> does-the-right-thing. >> Uses resolvectl on the correct interface etc. But only when called by F5. > > Hello, > > thanks for

Re: [systemd-devel] MaxRetentionSec does not delete entries older than the specified time

2022-05-29 Thread Barry Scott
> On 29 May 2022, at 12:36, baba wrote: > > - Mail original - > De: "Andrei Borzenkov" > >> In which case? Current active journal file gets archived when it is >> full. Retention policies apply only to these archived files. > > In the case where MaxRetentionSec=3day. > And what do y

Re: [systemd-devel] certificate and trust store feature for systemd

2022-05-25 Thread Barry Scott
not using the keyring then that a problem with the app surely, not the API? > > This just seems a good match to have available within systemd I do not speak for systemd, just curious about why you think this is needed. Barry > > From: Barry Scott mailto:ba...@barrys-emacs.org>>

Re: [systemd-devel] certificate and trust store feature for systemd

2022-05-25 Thread Barry Scott
asy to add the CA to Fedora's trust store. > > Having this available as a core service within systemd using like APIs either > in (mostly deprecated) CAPI or the new CNG Barry > > > Scott Fields > IBM/Kyndryl > SRE – BNSF > 817-593-5038 (BNSF) > scott.fie..

Re: [systemd-devel] Query degraded state

2022-04-28 Thread Barry Scott
On 28/04/2022 16:15, Alvin Šipraga wrote: Hi, On Thu, Apr 28, 2022 at 04:03:01PM +0100, Barry Scott wrote: Is there a command I can use to test for the degraded state? I could parsing the output of systemctl-failed or syetemctl status but was looking for something less fragile. I think the

[systemd-devel] Query degraded state

2022-04-28 Thread Barry Scott
Is there a command I can use to test for the degraded state? I could parsing the output of systemctl-failed or syetemctl status but was looking for something less fragile. Barry

Re: [systemd-devel] Waiting for all jobs to finish

2022-04-28 Thread Barry Scott
> On 28 Apr 2022, at 09:47, Lennart Poettering wrote: > > On Mi, 27.04.22 18:29, Barry Scott (ba...@barrys-emacs.org > <mailto:ba...@barrys-emacs.org>) wrote: > >> I have two target files that I use. >> >> prod.target is used to start up all the produ

[systemd-devel] Waiting for all jobs to finish

2022-04-27 Thread Barry Scott
I have two target files that I use. prod.target is used to start up all the production services. When I use systemctl start prod.target it blocks until all the services are running. I also have prod-upgrade.target that is used to stop service via Conflicts=. When I use systemctl start prod-upgrad

[systemd-devel] Add LUKS disk to an Raspberry Pi 4 install

2021-09-25 Thread Barry Scott
[I originally ask this question on the Fedora ARM list, but got no reply] I'm trying to build a RPi4 system that uses a LUKS encrypted disk. But I cannot get the volume to be unlocked when the system boots. I have installed Fedora-Minimal-34-1.2.aarch64.raw.xz to with arm-image-installer --targe

Re: [systemd-devel] systemd-ask-password causes systemd to use very high CPU

2021-02-17 Thread Barry Scott
Is there any work around that I can use? Barry > On 23 Jan 2021, at 14:32, Barry Scott wrote: > > I opened this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1919538 > <https://bugzilla.redhat.com/show_bug.cgi?id=1919538> > > I'd love to know if there is a wo

Re: [systemd-devel] systemd-ask-password causes systemd to use very high CPU

2021-01-23 Thread Barry Scott
I opened this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1919538 <https://bugzilla.redhat.com/show_bug.cgi?id=1919538> I'd love to know if there is a work around until you have time to make a fix. Barry > On 16 Jan 2021, at 15:42, Barry Scott wrote: > > I have a

[systemd-devel] systemd-ask-password causes systemd to use very high CPU

2021-01-16 Thread Barry Scott
I have a reproducible problem with systemd-ask-password. # rpm -q systemd systemd-246.7-2.fc33.x86_64 1. boot fedora 33 2. login to KDE 3. start a terminal and run top 4. start a terminal and run: systemctl >before systemd-ask-password 'testing: ' p 5. Observe that top is showing systemd us

Re: [systemd-devel] Workaround for system upgrade bug suggestions

2020-11-03 Thread Barry Scott
> On 3 Nov 2020, at 15:00, Lennart Poettering wrote: > > On Mo, 02.11.20 22:20, Barry (ba...@barrys-emacs.org) wrote: > >> What is the work around until the bug is fixed? > > First step is to understand the bug. I still don't. > > At very early boot-up systemd-tmpfiles.service creates the f

[systemd-devel] Workaround for system upgrade bug suggestions

2020-10-29 Thread Barry Scott
There is a bug with the system upgrade of fedora that user services run while the system is doing the upgrade. https://bugzilla.redhat.com/show_bug.cgi?id=1829799 Clearly I do not want to have my user's user services running when I do the F33 upgrade. What workaround do you suggest that I use wh

Re: [systemd-devel] How to stop systemctl --user processes before backup runs then restart

2018-01-04 Thread Barry Scott
On Thursday, 4 January 2018 13:08:33 GMT Colin Guthrie wrote: > Barry Scott wrote on 31/12/17 17:41: > > I think that for my backups to run for a user I will need to stop their > > systemd user services. > Out of curiosity, why do you think that the process needs to be stopped &g

[systemd-devel] How to stop systemctl --user processes before backup runs then restart

2017-12-31 Thread Barry Scott
I think that for my backups to run for a user I will need to stop their systemd user services. How do you recommend that I do that and after the backup has completed how do I startup the syetemd user services again, just as happened at system boot? Barry ___

Re: [systemd-devel] why does bootctl default to /boot and not to /boot/efi?

2016-05-31 Thread Barry Scott
On Monday 30 May 2016 18:47:22 Lennart Poettering wrote: > On Sun, 29.05.16 19:39, Barry Scott (ba...@barrys-emacs.org) wrote: > > I just came across the bootctl command. Atleast on Fedora 23 and 24 > > it errors out because /boot is not FAT EFI. I thought that if you are EFI >

[systemd-devel] why does bootctl default to /boot and not to /boot/efi?

2016-05-29 Thread Barry Scott
I just came across the bootctl command. Atleast on Fedora 23 and 24 it errors out because /boot is not FAT EFI. I thought that if you are EFI then the EFI was always in /boot/efi. Is there something I'm missing or is the default path wrong on Fedora? Barry ___

Re: [systemd-devel] systemd-udevd seems to kill mount.ntfs started in rules scripts?

2014-04-04 Thread Barry Scott
On Thu 03 Apr 2014 17:27:44 Thomas Bächler wrote: > Am 03.04.2014 17:13, schrieb Barry Scott: > > But as soon as the script exits the mount.ntfs process is killed off by > > something? systemd-udevd maybe? > > From man udev's section on RUN: > > "

[systemd-devel] systemd-udevd seems to kill mount.ntfs started in rules scripts?

2014-04-03 Thread Barry Scott
More of my porting from F16 to F20. I have the following in /etc/udev/rules.d ACTION=="add", SUBSYSTEM=="block", SUBSYSTEMS=="usb", RUN+="/usr/local/onelan/ntb/bin/ntb_mount_usb" ACTION=="remove", SUBSYSTEM=="block", SUBSYSTEMS=="usb", RUN+="/usr/local/onelan/ntb/bin/ntb_mount_usb" This run th

Re: [systemd-devel] StartTransientService problems

2014-03-05 Thread Barry Scott
On Wed 05 Mar 2014 04:47:13 Lennart Poettering wrote: > On Tue, 25.02.14 17:59, Barry Scott (barry.sc...@onelan.co.uk) wrote: > > > Which should make them available via the bus for transient units. If you > > > need other props like this, just let me know and I'll add t

Re: [systemd-devel] StartTransientService problems

2014-02-25 Thread Barry Scott
On Wed 05 Feb 2014 02:07:33 Lennart Poettering wrote: > On Fri, 31.01.14 16:42, Barry Scott (barry.sc...@onelan.co.uk) wrote: > > I have finally managed to get StartTransientService to run a process for > > me > > but I'm encountering issues: > >

Re: [systemd-devel] StartTransientService problems

2014-02-05 Thread Barry Scott
On Wed 05 Feb 2014 02:07:33 Lennart Poettering wrote: > On Fri, 31.01.14 16:42, Barry Scott (barry.sc...@onelan.co.uk) wrote: > > I have finally managed to get StartTransientService to run a process for > > me > > but I'm encountering issues: > >

Re: [systemd-devel] [PATCH] Use normal English elide in place of ellipsize

2014-02-04 Thread Barry Scott
On Tue 04 Feb 2014 16:15:52 Colin Guthrie wrote: > If we do want to describe the action taken rather than the effect, then > I would use the word "truncate" here, rather than elide as this is > really what happens now as implemented. But the output is not truncated. Here is example from my system:

[systemd-devel] [PATCH] Use normal English elide in place of ellipsize

2014-02-04 Thread Barry Scott
Change the messages output and also all internal function names and variables to match. --- man/journalctl.xml | 2 +- man/loginctl.xml | 2 +- man/machinectl.xml | 2 +- man/systemctl.xml | 4 ++-- man/systemd-cgls.xml | 2 +- src/

Re: [systemd-devel] [PATCH] Use normal English elide in place of ellipsize

2014-02-04 Thread Barry Scott
On Tue 04 Feb 2014 19:36:34 Andrey Borzenkov wrote: > В Tue, 4 Feb 2014 15:31:58 + > > Barry Scott пишет: > > Change the messages output and also all internal > > function names and variables to match. > > As a non-native English speaker I must admit ellipsize w

[systemd-devel] [PATCH] Use normal English elide in place of ellipsize

2014-02-04 Thread Barry Scott
Change the messages output and also all internal function names and variables to match. --- man/journalctl.xml | 2 +- man/loginctl.xml | 2 +- man/machinectl.xml | 2 +- man/systemctl.xml | 4 ++-- man/systemd-cgls.xml | 2 +- src/

[systemd-devel] StartTransientService problems

2014-01-31 Thread Barry Scott
I have finally managed to get StartTransientService to run a process for me but I'm encountering issues: we start a daemon that calls StartTransientService as required. The daemon does not run as root, it runs as "onelan". We configure dbus to allow "onelan" to call all systemd Manager APIs. I wa

Re: [systemd-devel] What do I need to do to force systemd to create folders in the cgroups tree?

2014-01-28 Thread Barry Scott
On Tue 28 Jan 2014 08:23:35 David Timothy Strauss wrote: > You're using both onelan-player.slice and onelan-players.slice in your > example. Correct this first. Doh! Fixing that mistake makes the cgroup appear. Thanks for taking the time to look at this. systemd does not report an issue with the

[systemd-devel] What do I need to do to force systemd to create folders in the cgroups tree?

2014-01-27 Thread Barry Scott
For my application I have three slices. Two of these are working, onelan.slice and onelan-screen.slice, but onelan-player.slice is not causing the cgroup folders to come into existence. I put a dependency on workaround-systemd-cgroup-limitations-onelan-player- slice.service to cause onelan-player.

Re: [systemd-devel] Set cgroup attributes not supported by systemd - what do you recommend?

2014-01-24 Thread Barry Scott
On Fri 24 Jan 2014 11:37:49 Lennart Poettering wrote: > On Thu, 23.01.14 11:55, Barry Scott (barry.sc...@onelan.co.uk) wrote: > > I am running systemd 208 on Fedora 20. > > > > There are 2 cpu cgroup attributes that I need to set to allow realtime for > > some da

[systemd-devel] Set cgroup attributes not supported by systemd - what do you recommend?

2014-01-23 Thread Barry Scott
I am running systemd 208 on Fedora 20. There are 2 cpu cgroup attributes that I need to set to allow realtime for some daemons: cpu.rt_period_us and cpu.rt_runtime_us. For the memory cgroup I need to set memory.memsw.limit_in_bytes for one of my slices. Do you plan to add support for setting th

Re: [systemd-devel] systemd hangs after Welcome message when LogLevel=debug

2014-01-20 Thread Barry Scott
I drafted this last week, sorry for the delay. On Wed 15 Jan 2014 16:44:21 Holger Schurig wrote: > Educated guess (!) > > With LogLevel=debug, you generate huge amounts of output. With LogTarget=syslog-or-kmsg and kernel not quiet I would expect to see the first few debug messages before it hun

Re: [systemd-devel] systemd hangs after Welcome message when LogLevel=debug

2014-01-20 Thread Barry Scott
On Mon 20 Jan 2014 13:21:14 Lennart Poettering wrote: > On Mon, 20.01.14 11:22, Barry Scott (barry.sc...@onelan.co.uk) wrote: > > On Fri 17 Jan 2014 21:17:04 Lennart Poettering wrote: > > > On Tue, 14.01.14 13:31, Barry Scott (barry.sc...@onelan.co.uk) wrote: > > >

Re: [systemd-devel] systemd hangs after Welcome message when LogLevel=debug

2014-01-20 Thread Barry Scott
On Fri 17 Jan 2014 21:17:04 Lennart Poettering wrote: > On Tue, 14.01.14 13:31, Barry Scott (barry.sc...@onelan.co.uk) wrote: > > systemd-208-9.fc20.x86_64 > > > > We have been porting a working configuration from fedora 19 to fedora 20. > > After systemd prints the We

[systemd-devel] systemd hangs after Welcome message when LogLevel=debug

2014-01-14 Thread Barry Scott
systemd-208-9.fc20.x86_64 We have been porting a working configuration from fedora 19 to fedora 20. After systemd prints the Welcome message it then hangs. We found that changing the LogLevel from debug to info fixes the hang. As does setting LogTarget=console. It would seem that the default Log

Re: [systemd-devel] systemd hangs on shutdown

2011-10-14 Thread Barry Scott
On Thursday 13 October 2011 20:02:48 Daniel Drake wrote: > On Tue, Oct 11, 2011 at 1:44 AM, Lennart Poettering > wrote: > > So this is a the big issue here I believe. If you look at 87.293308 > > you'll see that tmp.mount is suddenly mounted again for some reason, > > which systemd then takes as h

Re: [systemd-devel] Seeking Advice on debugging failure to reboot

2011-10-13 Thread Barry Scott
On Wednesday 12 October 2011 17:54:27 Barry Scott wrote: > On Wednesday 12 October 2011 16:42:38 Michal Schmidt wrote: > > On 10/12/2011 04:54 PM, Barry Scott wrote: > > > What dependency is supposed to cause the swapoff to be after the > > > production > > >

Re: [systemd-devel] Seeking Advice on debugging failure to reboot

2011-10-12 Thread Barry Scott
On Wednesday 12 October 2011 16:42:38 Michal Schmidt wrote: > On 10/12/2011 04:54 PM, Barry Scott wrote: > > What dependency is supposed to cause the swapoff to be after the production > > processes are stopped? > > The units' ordering should be something like this: >

Re: [systemd-devel] Seeking Advice on debugging failure to reboot

2011-10-12 Thread Barry Scott
On Wednesday 12 October 2011 15:27:10 Michal Schmidt wrote: > On 10/12/2011 03:46 PM, Barry Scott wrote: > > Thanks to Michal's observation that swapoff failed we have now found the > > root cause. > > > > swapoff is called while all our production processes are

Re: [systemd-devel] Seeking Advice on debugging failure to reboot

2011-10-12 Thread Barry Scott
Thanks to Michal's observation that swapoff failed we have now found the root cause. swapoff is called while all our production processes are still running. We would have expected systemd to turn off swap after stopping most if not all processes and thus freeing up as much memory as possible. sw

Re: [systemd-devel] Seeking Advice on debugging failure to reboot

2011-10-11 Thread Barry Scott
On Tuesday 11 October 2011 16:35:00 Michal Schmidt wrote: > On 10/11/2011 05:09 PM, Barry Scott wrote: > > I have uploaded full netconsole logs with the options you suggested: > > > > http://onelanftp.co.uk/bscott/netconsole.noreboot.txt > > http://onelanftp.co.uk/b

Re: [systemd-devel] Seeking Advice on debugging failure to reboot

2011-10-11 Thread Barry Scott
On Tuesday 11 October 2011 12:37:23 Michal Schmidt wrote: > On 10/11/2011 12:44 PM, Barry Scott wrote: > > The full log is here: > > > > http://onelanftp.co.uk/bscott/ntb10117.netconsole.txt > > > > The first boot sequence from lines 1-182 works. > > >

Re: [systemd-devel] Seeking Advice on debugging failure to reboot

2011-10-11 Thread Barry Scott
On Friday 07 October 2011 09:48:52 Michal Schmidt wrote: > On 10/06/2011 07:26 PM, Barry Scott wrote: > > On Thursday 06 October 2011 15:56:43 Barry Scott wrote: > > > We can reproducably get an F15 system in a state that it fails to > > > complete a reboot. >

Re: [systemd-devel] Seeking Advice on debugging failure to reboot

2011-10-06 Thread Barry Scott
On Thursday 06 October 2011 15:56:43 Barry Scott wrote: > We can reproducably get an F15 system in a state that it fails to > complete a reboot. > > Becuase all the logging, network and getty's has been stopped all > we can see is the kernel messages on the console. > &g

[systemd-devel] Seeking Advice on debugging failure to reboot

2011-10-06 Thread Barry Scott
We can reproducably get an F15 system in a state that it fails to complete a reboot. Becuase all the logging, network and getty's has been stopped all we can see is the kernel messages on the console. What we need to know is why systemd is not completing the reboot. What advice do you have on ho

[systemd-devel] [PATCH 1/2-V2] For ExecStart= provide more details on env var substitution and how that turns into arguments.

2011-10-03 Thread Barry Scott
For EnvironmentFile= explain that double quotes can be used to protect whitespace. Signed-off-by: Barry Scott --- Change since V1: * fix wording to be normal english man/systemd.exec.xml|5 + man/systemd.service.xml | 23 --- 2 files changed, 17 insertions

[systemd-devel] [PATCH 2/2] .include directive does not include as textual include it includes by parsing the include file.

2011-10-03 Thread Barry Scott
This means that section headers must be used inside of a .include file otherwise all the lines are ignored. Signed-off-by: Barry Scott --- man/systemd.unit.xml |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index bf8de32

Re: [systemd-devel] start service only on specific exit status of some prog

2011-08-25 Thread Barry Scott
On Wednesday 24 August 2011 17:25:40 Marius Tolzmann wrote: > On 24.08.2011 16:01, Lennart Poettering wrote: > > On Tue, 02.08.11 17:06, Marius Tolzmann (tolzm...@molgen.mpg.de) wrote: > >> > >> is there a way to execute a program and take its exit status to > >> evaluate the condition? like Condit

Re: [systemd-devel] Real Time access in a systemd control group

2011-08-01 Thread Barry Scott
On Friday 29 July 2011 13:50:49 Marius Perjeru wrote: > Hi, > > We configured a systemd environment, but we cannot have real time access > when running an application. > > We have defined a xorg.service which starts the X, and every script > runned gets under systemd/xorg.service control group,

Re: [systemd-devel] [PATCH] Documentation: Clarify env var handling

2011-07-20 Thread Barry Scott
Can I have feedback on the patch please? Barry ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] What is the recommended way to replace hald hooks in the systemd world?

2011-07-18 Thread Barry Scott
On Friday 15 July 2011 13:58:16 Lennart Poettering wrote: > On Fri, 15.07.11 11:14, Barry Scott (barry.sc...@onelan.co.uk) wrote: > > > In F13 days we used HAL to call out to our code to handle > > adding and removal of USB storage with this > > /etc/hal/fdi/policy/90-onel

[systemd-devel] What is the recommended way to replace hald hooks in the systemd world?

2011-07-15 Thread Barry Scott
In F13 days we used HAL to call out to our code to handle adding and removal of USB storage with this /etc/hal/fdi/policy/90-onelan-mount.fdi policy file. ntb_mount_usb -v ntb_mount_usb -v Do you recommmend

Re: [systemd-devel] FYI: glibc getaddrinfo problem with boot

2011-07-14 Thread Barry Scott
On Thursday 14 July 2011 12:16:58 Michal Schmidt wrote: > On Thu, 14 Jul 2011 12:03:30 +0100 Barry Scott wrote: > > As systemd is helping get to a fully dynamic > > plug-n-play world this might interest you. > > > > I encounted a problem getting httpd to startup reliab

[systemd-devel] FYI: glibc getaddrinfo problem with boot

2011-07-14 Thread Barry Scott
As systemd is helping get to a fully dynamic plug-n-play world this might interest you. I encounted a problem getting httpd to startup reliably on Fedora 15 because of failures of the getaddrinfo function in glibc. I have raised this bug to track the issue. https://bugzilla.redhat.com/show_bug.c

[systemd-devel] [PATCH] Documentation: Clarify env var handling

2011-07-12 Thread Barry Scott
For ExecStart= provide more details on env var substitution and how that turns into arguments. For EnvironmentFile= explain that double quotes can be used to protect whitespace. Signed-off-by: Barry Scott --- I think the docs could be improved with the extra details you provided in you email

Re: [systemd-devel] Services started realtime exit with 214

2011-07-11 Thread Barry Scott
On Monday 11 July 2011 17:27:26 Lennart Poettering wrote: > On Mon, 11.07.11 12:40, Barry Scott (barry.sc...@onelan.co.uk) wrote: > > > Do we have to configure something else to get this working like cgroup > > stuff? > > Running X under RR privs? That's bold. I

[systemd-devel] systemd environment variable handling and spaces bug?

2011-07-11 Thread Barry Scott
I would like to take advantage of ${var} in the ExecStart lines. However I find that there is a issue with handling of while space. If I code this ExecStart=/myservice --arg ${optional_arg} If option_arg is not defined argv is ['/myservice', '--arg', ''] Is it a bug that you do not stri

[systemd-devel] Services started realtime exit with 214

2011-07-11 Thread Barry Scott
I am trying to run services realtime with systemd on Fedora 15. Here is the Service section that I think we need to do this. [Service] StandardOutput=syslog WorkingDirectory=/data/data/logs LimitCORE=infinity LimitRTPRIO=2 LimitRTTIME=6000 CPUSchedulingPolicy=rr CPUSchedulingPriority=1 Exec

[systemd-devel] Services started realtime exit with 214

2011-07-11 Thread Barry Scott
I am trying to run services realtime with systemd on Fedora 15. Here is the Service section that I think we need to do this. [Service] StandardOutput=syslog WorkingDirectory=/data/data/logs LimitCORE=infinity LimitRTPRIO=2 LimitRTTIME=6000 CPUSchedulingPolicy=rr CPUSchedulingPriority=1 Exec