Re: [systemd-devel] How to pass date/time to OS before Linux starts?

2024-10-25 Thread Barry
rd. > > Do you know of a way to set the time on the Linux kernel command line, that > is passed to systemd/the OS somehow? There is no option as far as I know. Barry > > > Kind regards, > > Paul >

Re: [systemd-devel] [EXT] Re: Re: Re: Understanding the effect of AccuracySec=

2024-08-19 Thread Barry
the rated frequency continuously. Cores will only turbo if there is thermal budget, typically when you do a short spike of work. In the case where the CPU cooling is insufficient for the CPU TDP then it will slow its clock to prevent damage. Barry

Re: [systemd-devel] [EXT] Re: Understanding the effect of AccuracySec=

2024-08-19 Thread Barry
> On 19 Aug 2024, at 08:38, Andrei Borzenkov wrote: > > On Mon, Aug 19, 2024 at 10:11 AM Barry wrote: >> >> >> >> On 19 Aug 2024, at 06:55, Windl, Ulrich wrote: >> >> >> Despite of the fact that my version of systemd does not know t

Re: [systemd-devel] [EXT] Re: Understanding the effect of AccuracySec=

2024-08-19 Thread Barry
thus saving power. Barry

Re: [systemd-devel] Systemd Boot Time Optimization

2024-08-16 Thread Barry
lyse to root cause this. Only you have the hardware and software to investigate this. Barry

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

2024-07-15 Thread Barry
you sure using After= will have any effect for services started from timer units? I have assumed that services started via timers do not use the ordering directives. But I am very unsure what would happen, and I am not never a system to experiment at the moment. Barry

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

2024-07-12 Thread Barry Scott
o a resource, in your case "doing a backup". Read man flock to undertstand what flock does and what the command should be. Barry

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
remental vs. full backup into my hourly backups script. So I only have one timer. Barry

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

2024-07-12 Thread Barry
:00 etc Or you could encode these rules in the script that you run daily. Barry

Re: [systemd-devel] passing additional FDs to service

2024-07-06 Thread Barry
cannot do retries or report errors. This seems a significant problem for your service usability. Barry

Re: [systemd-devel] "Failed to enable unit: Access denied"?

2024-06-14 Thread Barry
nalctl —user about test.service? Not sure there is a default.target for systemd user. But I have not checked. Barry

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] Losing old journal messages after "Journal header limits reached"

2024-01-31 Thread Barry
> On 31 Jan 2024, at 18:44, Vadim Zeitlin wrote: > > I'd like to understand why does this happen and, equally if not more > importantly, how to prevent it from happening and store more logs. What is that value of MaxRetentionSec= in journal.conf? Barry

Re: [systemd-devel] Permanently remove services

2024-01-18 Thread Barry
> On 18 Jan 2024, at 17:30, Morten Bo Johansen wrote: > > How do I get rid of them once and for all? Use systemctl mask? Barry

Re: [systemd-devel] Testing LogFilterPatterns= on user-level services

2024-01-13 Thread Barry
> On 12 Jan 2024, at 20:29, Farblos wrote: > > On 2024-01-12 18:51, Barry wrote: > >> The docs say this means discard any log that contains ritzelbimpf. >> See >> https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#Log

Re: [systemd-devel] Testing LogFilterPatterns= on user-level services

2024-01-12 Thread Barry
> On 12 Jan 2024, at 13:51, Farblos wrote: > > LogFilterPatterns=~ritzelbimpf The docs say this means discard any log that contains ritzelbimpf. See https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#LogFilterPatterns= What where you expecting? Barry

Re: [systemd-devel] Question regarding configuration of SystemMaxUse and SystemKeepFree

2023-09-04 Thread Barry
fig? If you are using a tool like ansible, puppet etc, then you would calculate the value and put into a template. Barry

Re: [systemd-devel] Conditionally reload a service from another service

2023-08-05 Thread Barry
knows how to do this. It has a service and timer that renews the all certs and restarts httpd. You could see how certbot solves the problem or just use certbot if it suitable. Barry

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

2023-07-20 Thread Barry Scott
ask on https://discussion.fedoraproject.org <https://discussion.fedoraproject.org/> that is where lots of poeple helpo users get support. Barry > > GL > 15-22-04.png>

Re: [systemd-devel] One shot service failure on Fedora 37

2023-04-18 Thread Barry
hen you can use ExecStart=${DDC_LIB}/ddcifd $DDCIFD_ARGSNote the use of {} in only one place.BarryOn Apr 18, 2023, at 12:02 AM, Mantas Mikulėnas wrote:On Tue, Apr 18, 2023, 02:59 Bill Steinberg <b...@ponusridge.com> wrote:Hi Barry,Thanks for the response. Answers inline below.On Apr 17, 2023,

Re: [systemd-devel] One shot service failure on Fedora 37

2023-04-17 Thread Barry
> On 17 Apr 2023, at 19:05, Bill Steinberg wrote: > > Hello systemd devel, > > I have a systemd service that I’ve run on prior versions of fedora which > fails to start via systemd on Fedora release 37. It is a oneshot service that > starts the distributed checksum clearing house’s dccifd s

Re: [systemd-devel] systemctl daemon-reexec forgets running services and starts everything new

2023-04-04 Thread Barry
u3.3`. The > symptoms were the same. The last working version is version > `245.4-4ubuntu3.19`. > > # Symptoms # > > The `/var/lib/dpkg/info/systemd.postinst` executes a `systemctl > daemon-reexec` and that ended in a disaster. Seems it is a packaging issue that ubuntu or debian n

Re: [systemd-devel] how to let systemd hibernate start/stop the swap area?

2023-03-30 Thread Barry
icient use of all the hardware resources. I work on servers with 400G of ram, but it is all used. Swap is a critical part of tuning the performance with the network heavy work load that disk I/O impacts. Barry >

[systemd-devel] network interface stuck in configuring

2023-03-21 Thread Barry Scott
.x86_64 251.13-5.fc37 will be upgraded ---> Package systemd-udev.x86_64 251.13-6.fc37 will be an upgrade Why was the interface stuck in configuring? Barry

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

2023-03-19 Thread Barry Scott
d-networkd if systemd)' > '(systemd-udev if systemd)'" returned non-zero exit code 1. > That is odd. Where is that "'(systemd-networkd if systemd)" coming from? I would suspect a package install script, mkosi logic, maybe dnf, but not systemd itself. Barry

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

2023-02-15 Thread Barry Scott
solved service to serve the purpose. I would be worried that breaking the TTL caching rules will create more problems then it solves. Isn't the underlying issue that you have unreliable DNS servers that are important to your application? Barry > > Thanks > Aditya > &g

Re: [systemd-devel] mkosi Unable to locate embedded .linux section: Load Error

2023-01-20 Thread Barry
> On 20 Jan 2023, at 20:40, William Roberts wrote: > > On Thu, Jan 19, 2023 at 1:41 PM Barry wrote: >> >> >> >>>> On 19 Jan 2023, at 19:19, Roberts, William C >>>> wrote: >>> >>>  >>> >>>>

Re: [systemd-devel] mkosi Unable to locate embedded .linux section: Load Error

2023-01-19 Thread Barry
t >>> mkosi git, and see if that works) >>> >>> (I guess most mkosi upstreams use fedora, not ubuntu, so this might be >>> less >>> tested) >> >> On mkosi commit 6332528, it used bootctl --root which seems to not be >> available On my Ubuntu 20.04 system (bootctl --version yields system 245) . >> I'll set up a Fedora machine and test there. > > Could anyone recommend a version of Fedora to test on, Ie should I pick 32, > 34, 37, etc? Use 37 its current and you can get support. Note fedora release only have support for a year, so 32 and 34 have been EOL for a while. Barry >

Re: [systemd-devel] service dependencies

2023-01-14 Thread Barry
ut IMHO not optimal). WantedBy may not do what you think, see systemd.unit man page. Note: WantedBy= and RequiredBy= are used in the [Install] section to create symlinks in .wants/ and .requires/ directories. They cannot be used directly as a unit configuration setting. Barry

Re: [systemd-devel] Issue with systemd / journalctl

2022-12-26 Thread Barry
as properly loaded. > > ACTIVE = The high-level unit activation state, i.e. generalization of SUB. > > SUB= The low-level unit activation state, values depend on unit type. > > 9 loaded units listed. > > > I've re-installed systemd-sysv and rebooted, cleaned old journalctl entries > but same issues. Why do you need the sysv package on a systemd system at all? Barry > > Basically, I'm clueless here :/ If someone have an idea :D >

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

2022-12-06 Thread Barry Scott
to fix the issues if you depend on legacy v1 cgroups. The v1 support is being dropped from systemd at some point I think. Barry > > > > On Mon, Dec 5, 2022 at 4:16 PM Michal Koutný <mailto:mkou...@suse.com>> wrote: >> Hello. >> >> On Mon, Dec 05,

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

2022-12-02 Thread Barry Scott
intaining the service harder then is necessary. Barry

Re: [systemd-devel] dependent services status

2022-11-18 Thread Barry
Service gets to set its state explicitly, no need for systemd to guess. What are the shortcomings you are referring to? Barry > > >> On Thu, Nov 17, 2022 at 11:34 AM Alvin Šipraga wrote: >> >> Hi Ted, >> >>> On Thu, Nov 17, 2022 at 08:52:00AM -0600, 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 whe

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

2022-11-06 Thread Barry
> On 2 Nov 2022, at 15:20, Thomas HUMMEL wrote: > > On 10/31/22 12:19, Petr Menšík wrote: > > Hello, thank you and Barry as well for your answers > > >> I would suggest using strace to find what exactly it does and what it tries >> to modify. I expec

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

2022-10-27 Thread Barry
Can you hook into the vpn client and intercept it doing the dns changes? I do that for the vpn client used a work to solve integration issues. In my case its a matter of the right options to use a wrapper around resolvectl that fixes things before calling the real resolvectl. Barry > >

Re: [systemd-devel] limiting NFS activity

2022-10-18 Thread Barry
cgroups v2 support net_prio? Can I set it in a > /etc/systemd/system/*slice.d/*conf file? Maybe you can use traffic shaping? Barry

Re: [systemd-devel] Connect /usr/bin/init to docker container's STDOUT/STDIN

2022-10-02 Thread Barry
> On 30 Sep 2022, at 14:30, Nicola Mori wrote: > > # Save the long-running PID on file > ps aux | grep "sleep infinity" | head -n 1 | awk '{ print $2 }' > > /container-pipes-pid echo $! >/container-pipes-pid See man bash for $! definition. Barry

Re: [systemd-devel] Can /usr/lib/systemd/user/sockets.target.wants be used to autoenable a socket by a vendor package?

2022-09-20 Thread Barry
confusing thing though is: > > $ systemctl --user is-enabled perl-server.socket > disabled Enabled does mean that it will or will not run. It means that it is wanted by the default target. Barry > > And the fact that enable/preset/disable create/remove symlinks in > ~/.config/systemd/user/sockets.target.wants. > > Which doesn't happen with a service (e.g. infinite-tsukuyomi) when the > service is in /usr/lib/systemd/user. > > Regards, > Yuri >

Re: [systemd-devel] systemd-nspawn container not starting on RHEL9.0

2022-08-10 Thread Barry
ence with xfs though, no idea how xfs hooked up reflink > initially. And we never tested that really. I don't think outside RHEL > many people use xfs. Isn’t XFS the default for fedora server? Barry > > If you provide a more complete strace output, you should see the > copy_file_range() stuff there. > > Lennart > > -- > Lennart Poettering, Berlin >

Re: [systemd-devel] Waiting for network routes to appear

2022-06-15 Thread Barry
if a route was working at some point what do you do if the route goes down later? Barry > > I can't use existing systemd facilities to make these services wait, > because there's no mechanism available for BIRD to indicate that any > specific route has been learned, or a way

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

2022-05-29 Thread Barry Scott
e where MaxRetentionSec=3day. > And what do you mean by full?. > There are size limits on the journal files. I think that is what is being referred to. See man journald.conf and the SystemMaxFileSize for example. Barry

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] Antw: [EXT] [systemd‑devel] Query degraded state

2022-04-28 Thread Barry
> On 29 Apr 2022, at 07:06, Ulrich Windl > wrote: > >  >> >>>> Barry Scott schrieb am 28.04.2022 um 17:03 in > Nachricht : >> Is there a command I can use to test for the degraded state? >> >> I could parsing the output of systemct

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'm implementing is to do this on a server upgrade: systemctl start prod-upgrade.target # need to wait for stop jobs to finish dnf update --refresh -y systemctl start prod.target Barry

Re: [systemd-devel] unable to attach pid to service delegated directory in unified mode after restart

2022-02-21 Thread Barry
assume. > An HTC system could run thousands of jobs per second, and doing extra > fork+execs plus waiting for systemd to fill up its internal structures and > manage it all is a no-no. Are you assuming this or did you measure the cost? Barry > > One other option that I am thinking a

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

2021-09-25 Thread Barry Scott
what is missing or not configured? Hmm, just noticed that the kernel command says console is tty0. But when I log in on the console its tty1. Barry

Re: [systemd-devel] Xorg or Wayland Environment

2021-09-19 Thread Barry
the service only if KDE_FULL_SESSION=true? Use ExecCondition to do the test I think. https://www.freedesktop.org/software/systemd/man/systemd.service.html#ExecCondition= Barry > > >> >> Am So., 19. Sept. 2021 um 11:53 Uhr schrieb Mantas Mikulėnas >> : >>>>

Re: [systemd-devel] Xorg or Wayland Environment

2021-09-19 Thread Barry
the service only if KDE_FULL_SESSION=true? Have the service run a script that checks the env var before starting the app? Barry > >> >> Am So., 19. Sept. 2021 um 11:53 Uhr schrieb Mantas Mikulėnas >> : >>>> On Sun, Sep 19, 2021 at 4:05 AM Ed Greshko wrote: &g

Re: [systemd-devel] Exception safety od sd-bus

2021-07-22 Thread Barry
ceptions escaping from any call back function. And remember that your call back functions need to use external “C” declaration. Barry > Thanks, > > Stanislav Angelovič. > ___ > systemd-devel mailing list > systemd-devel@lists.f

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
VM. Is there anything I can do to help debug this? Or just raise a big report? What work around would you suggest I use until this is fixed? Barry ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

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 s

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

2020-11-03 Thread Barry
> On 3 Nov 2020, at 12:39, Colin Guthrie wrote: > > Barry wrote on 02/11/2020 22:20: >> What is the work around until the bug is fixed? > > I'd imagine you could just disable lingering for the users in question > before running the dnf upgrade command? Not ide

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

2020-11-02 Thread Barry
> On 2 Nov 2020, at 14:45, Lennart Poettering wrote: > > On Do, 29.10.20 20:32, Barry Scott (ba...@barrys-emacs.org) wrote: > >> There is a bug with the system upgrade of fedora that >> user services run while the system is doing the upgrade. >> >> http

[systemd-devel] Workaround for system upgrade bug suggestions

2020-10-29 Thread Barry Scott
I use while updating my systems to F33? Barry ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] vt220 default for serial console still relevant?

2020-07-13 Thread Barry
p to Konsole to support > more of VT220 if I want this to work seamlessly (or I switch terminals to > xterm). > No vt220 does not support colour. I used to work on one and it is monochrome hardware. Xterm and konsole support extensions beyond vt220 that add in the colour suppor

[systemd-devel] Umbrella unit for a group of application components

2018-10-13 Thread Kevin Barry
? Sorry for the long email and I appreciate it if anyone takes the time to read it. Thanks. Kevin Barry ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

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?

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
h /usr/local/onelan/ntb/bin/ntb_mount_usb │ ├─14886 /sbin/mount.ntfs /dev/sdb1 /data/data/external/USB_Memory_Stick -... │ └─14890 systemd-cgls But as soon as the script exits the mount.ntfs process is killed off by something? systemd-udevd maybe? How should I be doing this? Barry

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
mple from my system: home-build\x2dvm-de...onelan\x2df16\x2d5-home-bscott.mount loaded active mounted /home/build-vm/dev64-onelan-f16-5/home/bscott The middle has been removed, not the end. Barry ___ systemd-devel mailing list systemd-devel@li

[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
s created or in systemctl status for the transient service. I do not see any messages in the systemd logging. And lastly what do I have to do to remove the transient service from systemd after the last process in the service exits? RemainAfterExit=no Barry

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
issue with the missing .slice file. Is it considered to be valid to refer to a .slice that is not backed up with a .slice file on disk? Barry ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listi

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

2014-01-27 Thread Barry Scott
memory-limits.include [Slice] MemoryLimit=3217719296 #SwapMemoryLimit=5365202944 # systemctl status onelan-player.slice onelan-player.slice Loaded: loaded Active: active since Mon 2014-01-27 10:43:20 GMT; 24min ago Barry ___ systemd-devel mailing

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
these attributes in a future systemd update? Until there is support I could have a .service run code to setup the attributes for the .slice's before services that need the changes. Would that be a suitable workaround until there is support in systemd?

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

2014-01-20 Thread Barry Scott
l output must go to syslog and syslog is not running that systemd will hang. But why does the configuration work if LogLevel=info in that case? Barry ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

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
LogTarget cannot be used to log debug messages. Does the default log target use debug itself and deadlock or loop? Here is the full system.conf: [Manager] LogLevel=debug DumpCore=yes DefaultStandardOutput=syslog JoinControllers= Barry ___ systemd-devel

Re: [systemd-devel] systemd hangs on shutdown

2011-10-14 Thread Barry Scott
> mount table is when that happens. Is this related to the problem I'm seeing with swapoff being called at the wrong time in shutdown? Barry > Thanks for looking carefully at this! > > It looks like the problem is that we had /tmp mounted as tmpfs, then > mounted as tmpfs aga

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
sible. swapoff fails becuase there is not enough ram available to load the pages from swap into. Is this a systemd problem or an issue with the way we wrote our services and targets? Barry ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

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
ve on how to debug this situation please? Barry ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

[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
s > outside of unit files. > snip... Why not have the complex logic run before the system reboots and chaneg the systemd dependancies? For example in our application a TV card is optional. We could check at run time during boot, but it seemed cleaner to us to change the dependancies. Ba

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

2011-08-01 Thread Barry Scott
ControlGroup=cpu:/ cpuacct:/screen LimitRTPRIO=2 LimitRTTIME=6000 CPUSchedulingPolicy=rr CPUSchedulingPriority=1 ExecStartPre=/usr/local/onelan/ntb/bin/ntb_apply_screen_settings /etc/onelan/ntb/x.conf ExecStartPre=-/bin/plymouth quit --retain-splash ExecStart=/usr

  1   2   >