Re: [systemd-devel] How to chain services driven by a timer?

2024-04-11 Thread Dave Howorth
On Wed, 10 Apr 2024 17:07:36 -0400 Brian Reichert wrote: > Hopefully someone here can assure me this is just due to an artifact > of bookkeeping. I'm specifically trying to avoid doing any work > while logrotate is running. I know it's a bodge, but put a short delay at the start of your

Re: [systemd-devel] Permissions problems with systemd-networkd and others.

2024-02-07 Thread Dave Howorth
On Wed, 7 Feb 2024 20:41:40 + "Murrell, Robert A." wrote: > I finally got everything working. Here is what I did to fix the > problem: > > adduser systemd-network root > adduser systemd-resolve root > adduser bind root > find /etc -type d -exec chmod 755 {} + > > I don’t know who does this

Re: [systemd-devel] Why are the priorities of stdout and stderr the same

2023-08-30 Thread Dave Howorth
On Tue, 29 Aug 2023 23:05:28 +0200 Nils Kattenbeck wrote: > No, you can use systemd-cat to then invoke your script which applies > to every output of it. > > Also, you can just use reply-all in gmail (or even set it as the > default in the settings) to have the correct behaviour of sending >

Re: [systemd-devel] Additional Locale Variables for Units and Number Format

2023-08-30 Thread Dave Howorth
On Wed, 30 Aug 2023 00:53:55 + TJ Shipp wrote: > Thank you, I think LC_NUMERIC will work for the number formatting, my > company is also looking for something along the lines of this, and > hoping to use locale/systemd to handle it: > >

Re: [systemd-devel] Normal user can ask status of services

2023-08-26 Thread Dave Howorth
On Sat, 26 Aug 2023 16:17:46 +0300 Andrei Borzenkov wrote: > On 26.08.2023 15:46, Michael Biebl wrote: > > > > Reading system logs is a privileged operation. > > It is not about reading logs but about being able to "systemctl > status some-system-unit" > > > You can grant this privilege to

Re: [systemd-devel] deprecating Forward-Secure Sealing (FSS) in the journal

2023-07-30 Thread Dave Howorth
On Sun, 30 Jul 2023 11:52:34 -0400 Demi Marie Obenour wrote: > On Thu, Jul 27, 2023 at 08:10:41AM +, Zbigniew Jędrzejewski-Szmek > wrote: > > Hi, > > > > I'd like to start $subject. First, we'd just add an entry in NEWS > > and make the key generation code print a warning, but then in a > >

Re: [systemd-devel] systemd-devel Digest, Vol 157, Issue 8

2023-05-10 Thread Dave Howorth
On Tue, 9 May 2023 18:43:33 -0700 Benjamin Godfrey wrote: > I'm trying to be helpful, breaking threading, top-posting and repeatedly using a gneneric subject line doesn't seem to be be 'trying to be helpful'. It seems more like 'trying to irritate the people you'd like to help'. PS please don't

Re: [systemd-devel] version bump of minimal kernel version supported by systemd?

2022-03-23 Thread Dave Howorth
On Wed, 23 Mar 2022 22:26:15 +0100 Michael Biebl wrote: > Am Mi., 23. März 2022 um 22:11 Uhr schrieb Zbigniew Jędrzejewski-Szmek > : > > > Or in other words: I'd prefer for such people to speak up for > > themselves, rather than us trying to figure out what somebody else > > *might* be planning

Re: [systemd-devel] Syntax check for a new service?

2022-02-26 Thread Dave Howorth
On Sat, 26 Feb 2022 09:17:38 -0600 Tom Browder wrote: > Is there any way to get a plain syntax check of a potential new > service file? systemd-analyze verify FILE... https://www.freedesktop.org/software/systemd/man/systemd-analyze.html > I currently check it by installing, reloading, and

Re: [systemd-devel] [RFC] systemd-resolved: Send d-bus signal after DNS resolution

2022-02-16 Thread Dave Howorth
On Tue, 15 Feb 2022 22:37:41 + Suraj Krishnan wrote: > Hello, > > I'm reaching out to the community to gather feedback about a feature > to broadcast a d-bus signal notification from systemd-resolved when a > DNS query is completed. The message would contain information about > the query and

Re: [systemd-devel] asset failure that looks like it's coming from systemd/

2021-12-25 Thread Dave Howorth
On Sat, 25 Dec 2021 17:29:06 +1100 Jonathan Kelly wrote: > On 25/12/21 15:04, Scott Andrews wrote: > > On Sat, 25 Dec 2021 07:43:14 +1100 > > Jonathan Kelly wrote: > > > >> On 25/12/21 01:23, Andy Pieters wrote: > >>> > >>> On Fri, 24 Dec 2021 at 10:11, Jonathan Kelly > >>> wrote: > >>> >

Re: [systemd-devel] early mounts in systemd

2021-05-01 Thread Dave Howorth
On Sat, 1 May 2021 18:08:55 +0200 Michael Biebl wrote: > Am Sa., 1. Mai 2021 um 18:07 Uhr schrieb Michael Biebl > : > > > > Am Sa., 1. Mai 2021 um 17:46 Uhr schrieb Dave Howorth > > : > > > If systemd removes (i.e. doesn't obey) a directive, I'd expect it >

Re: [systemd-devel] early mounts in systemd

2021-05-01 Thread Dave Howorth
On Fri, 30 Apr 2021 22:08:17 +0200 Michael Biebl wrote: > Am Fr., 30. Apr. 2021 um 20:27 Uhr schrieb Rick Winscot > : > > > At this point, flush is attempting to re-route /run/log/journal > > to /var/log/journal ... and the /var partition is not yet mounted. > > Units generated for fstab in

Re: [systemd-devel] Guidance on automount/unmount for external powered devices

2021-03-11 Thread Dave Howorth
On Thu, 11 Mar 2021 11:00:04 + Patrick O'Callaghan wrote: > Unfortunately a system reboot always leaves it in the 'powered up and > present in /dev/md' state, so I have to manually run the power-down > script every time I reboot. This is inelegant. There may be better ways, but could you use

Re: [systemd-devel] Antw: [EXT] Re: Q: Debugging missing requirements

2021-02-12 Thread Dave Howorth
On Fri, 12 Feb 2021 18:04:58 +0300 Andrei Borzenkov wrote: > 12.02.2021 10:04, Ulrich Windl пишет: > Andrei Borzenkov schrieb am 11.02.2021 um > 15:20 in > > Nachricht > > : > >> On Thu, Feb 11, 2021 at 1:47 PM Ulrich Windl > >> wrote: > >>> > >>> Hi! > >>> > >>> Suspecting

Re: [systemd-devel] consider dropping defrag of journals on btrfs

2021-02-05 Thread Dave Howorth
On Fri, 5 Feb 2021 17:44:14 +0100 Lennart Poettering wrote: > On Fr, 05.02.21 16:06, Dave Howorth (syst...@howorth.org.uk) wrote: > > > On Fri, 5 Feb 2021 16:23:02 +0100 > > Lennart Poettering wrote: > > > I don't think that makes much sense: we rotat

Re: [systemd-devel] consider dropping defrag of journals on btrfs

2021-02-05 Thread Dave Howorth
On Fri, 5 Feb 2021 16:23:02 +0100 Lennart Poettering wrote: > I don't think that makes much sense: we rotate and start new files for > a multitude of reasons, such as size overrun, time jumps, abnormal > shutdown and so on. If we'd always leave a fully allocated file around > people would hate

Re: [systemd-devel] [ANNOUNCE] jio is an experimental systemd-journald journal file tool utilizing io_uring

2020-11-26 Thread Dave Howorth
On Wed, 25 Nov 2020 19:02:21 -0800 Vito Caputo wrote: > I've called this program jio, pronounced "jai-oh". Silly question, but how is 'jai' pronounced? ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] How to turn off the ntp time synchronization in default when power on

2020-11-24 Thread Dave Howorth
On Tue, 24 Nov 2020 21:54:22 +0200 Mantas Mikulėnas wrote: > On Tue, Nov 24, 2020, 21:43 An Liu wrote: > > > HI > > > > timedatectl set-ntp false > > > > > > what is the diff between this and > > systemctl disable ntp > > > > The timedatectl command controls only systemd's own NTP client

Re: [systemd-devel] Suppressing spam error messages in the system journal

2020-10-22 Thread Dave Howorth
On Thu, 22 Oct 2020 15:27:58 +0200 Reindl Harald wrote: > Am 22.10.20 um 12:59 schrieb Lennart Poettering: > > On Do, 22.10.20 11:11, David C. Partridge > > (david.partri...@perdrix.co.uk) wrote: > 1) Is there any way in journald.conf to perform a > message > >> suppression >

Re: [systemd-devel] Q: shutdown messages and the lack of such

2020-10-08 Thread Dave Howorth
On Thu, 8 Oct 2020 16:44:28 +0100 Dave Howorth wrote: > On Thu, 08 Oct 2020 14:29:24 + > fox wrote: > > > I wonder: Shouldn't here be an infiormational message at least > > > when the shutdown command is entered, and at least a notice > > > message when the

Re: [systemd-devel] Q: shutdown messages and the lack of such

2020-10-08 Thread Dave Howorth
On Thu, 08 Oct 2020 14:29:24 + fox wrote: > > I wonder: Shouldn't here be an infiormational message at least when > > the shutdown command is entered, and at least a notice message when > > the actual shutdown time has arrived? > > If you review syslog laternot at all obvious what had

Re: [systemd-devel] How to reply to the list

2020-09-30 Thread Dave Howorth
On Wed, 30 Sep 2020 09:35:35 +0200 "Ulrich Windl" wrote: > >>> Dave Howorth schrieb am 28.09.2020 um > >>> 16:34 in > Nachricht <20200928153422.6bf6e...@acer-suse.lan>: > > On Mon, 28 Sep 2020 14:10:38 +0200 > > Reindl Harald wrote:

Re: [systemd-devel] Memory in systemctl status

2020-09-28 Thread Dave Howorth
On Mon, 28 Sep 2020 16:39:05 +0200 Reindl Harald wrote: > Am 28.09.20 um 16:34 schrieb Dave Howorth: > > On Mon, 28 Sep 2020 14:10:38 +0200 > > Reindl Harald wrote: > >> can you stop "reply-all" and breaking threads when respond to > >> lists?

Re: [systemd-devel] Memory in systemctl status

2020-09-28 Thread Dave Howorth
On Mon, 28 Sep 2020 14:10:38 +0200 Reindl Harald wrote: > can you stop "reply-all" and breaking threads when respond to lists? I can't answer for the reply-all, that would annoy me as well. But the thread isn't broken, my MUA is showing it nicely. ___

Re: [systemd-devel] journald on a system without real-time clock

2020-09-21 Thread Dave Howorth
On Mon, 21 Sep 2020 10:16:38 +0200 Magnus Berglund wrote: > Hello, > > I have an embedded system that does not have a real-time clock. I was > hoping to run journald on it, but have run into some problems. > > My problem is that my system currently does not guarantee a > monotonically

Re: [systemd-devel] Journal message timestamps

2020-09-08 Thread Dave Howorth
On Tue, 8 Sep 2020 07:18:15 -0400 "Kevin P. Fleming" wrote: > On Tue, Sep 8, 2020 at 7:12 AM Reindl Harald > wrote: > > > your playground is in > > /etc/systemd/system/fake-hwclock.service.d/myoverrides.conf > > > > and yes that is important so that you don#t have to redo your > > changes after

Re: [systemd-devel] Journal message timestamps

2020-09-04 Thread Dave Howorth
On Fri, 4 Sep 2020 17:59:02 +0200 Lennart Poettering wrote: > On Do, 27.08.20 11:33, Mark Corbin (m...@dibsco.co.uk) wrote: > > > Hello > > > > I am working on time synchronisation issues at boot for systems > > without an RTC (using balenaOS on a Raspberry Pi 3) and have some > > questions

Re: [systemd-devel] Using timedatectl on a readonly rootfile system using mender

2020-09-04 Thread Dave Howorth
On Fri, 4 Sep 2020 21:32:19 +0200 Lennart Poettering wrote: > On Fr, 04.09.20 14:10, Shravan Singh (shra...@bluesparq.com) wrote: > > > Hello Lennart, > > > > Can you help me in understanding why this push was rejected? > > *Make timedatectl nicely work with read-only filesystems #8277 * > >

Re: [systemd-devel] howto switch from grub2-bios to systemd-boot

2020-09-04 Thread Dave Howorth
On Fri, 4 Sep 2020 17:44:23 +0200 Lennart Poettering wrote: > On Fr, 04.09.20 17:10, Reindl Harald (h.rei...@thelounge.net) wrote: > > > > No, that's not supported in sd-boot. A boot loader is a boot > > > loader, it should contain a fragile storage stack. It's kinda > > > what sd-boot is

Re: [systemd-devel] systemd unit timer

2020-08-10 Thread Dave Howorth
On Mon, 10 Aug 2020 20:21:51 +0200 Lennart Poettering wrote: > On So, 09.08.20 15:56, Dave Howorth (syst...@howorth.org.uk) wrote: > > > Is there anywhere that explains the rationale for systemd timers? > > Probably somewhere in the git logs. Thanks, Lennart. I'll ha

[systemd-devel] systemd unit timer

2020-08-09 Thread Dave Howorth
Sorry Jérémy ROSEN had munged the headers so a reply went only to him :( :( Here's a copy for the list. Begin forwarded message: Date: Sun, 9 Aug 2020 20:16:19 +0100 From: Dave Howorth To: Jérémy ROSEN Subject: Re: [systemd-devel] systemd unit timer On Sun, 9 Aug 2020 18:42:36 +0200

Re: [systemd-devel] systemd unit timer

2020-08-09 Thread Dave Howorth
On Sun, 9 Aug 2020 15:54:55 +0300 Andrei Borzenkov wrote: > 09.08.2020 13:40, Vini Harimoorthy пишет: > > In that case, it will run only in Oct,Nov, & Dec. But, I want to > > run the timer unit weekly after a specific calendar date & time. > > How to specify if I want to run some task on every 12

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

2020-07-21 Thread Dave Howorth
On Tue, 21 Jul 2020 11:44:08 +0200 "Ulrich Windl" wrote: > >>> Lennart Poettering schrieb am 21.07.2020 > >>> um 09:09 > in > Nachricht <20200721070910.GB187495@gardel-login>: > > On Mo, 20.07.20 10:13, Bruce A. Johnson > > (bjohn...@blueridgenetworks.com) wrote: > > > >> Reading this

Re: [systemd-devel] Ensuring that a unit starts before any networking

2020-06-27 Thread Dave Howorth
On Sat, 27 Jun 2020 11:42:00 +0100 Mark Rogers wrote: > On Sat, 27 Jun 2020 at 11:06, Zbigniew Jędrzejewski-Szmek > wrote: > > You should use Before=network-pre.target, > > Wants=network-pre.target. > > Thanks, tried that but still not working: > > $ journalctl -b | grep -Ei

Re: [systemd-devel] Some issues about compiling systemd on linux

2020-05-28 Thread Dave Howorth
On Thu, 28 May 2020 17:35:05 +0800 "黄桂丰" <670915...@qq.com> wrote: > Hello , > > I have a project that needs to use the journald > module in systemd. My initial idea was to compile journald > separately, but then I found that this would not work. > > So I started to try to compile systemd,

Re: [systemd-devel] --Reboot-- lines in journal

2020-05-14 Thread Dave Howorth
On Thu, 14 May 2020 16:12:49 +0300 Mantas Mikulėnas wrote: > On Thu, May 14, 2020 at 3:55 PM Dave Howorth > wrote: > > > What do --Reboot-- lines in the journal mean and how do they get > > there? > > > > I can't find any explanation on > > https://w

[systemd-devel] --Reboot-- lines in journal

2020-05-14 Thread Dave Howorth
What do --Reboot-- lines in the journal mean and how do they get there? I can't find any explanation on https://www.freedesktop.org/software/systemd/man/journalctl.html or related pages I've tried. I should explain why I'm interested. On my openSUSE box, I can see for example: # journalctl

Re: [systemd-devel] your are happier but without become static some service I can't loggin by console-getty et getty@tty1 services

2020-04-07 Thread Dave Howorth
I'm not sure why Lennart hasn't stepped in to moderate yet, but this discussion is going in my bit bucket. On Tue, 7 Apr 2020 22:03:25 + Dorian ROSSE wrote: > I explain again the problem juice > > I can't use my monitor foe edit script > > Because console-getty et getty@tty1 service are

Re: [systemd-devel] making journald logs persistent on raspberry pi

2020-03-31 Thread Dave Howorth
On Tue, 31 Mar 2020 14:48:48 +0200 Lennart Poettering wrote: > On Fr, 24.01.20 15:32, Dave Howorth (syst...@howorth.org.uk) wrote: > > > It's quite common on the Raspberry Pi to make /var/log a tmpfs, in > > order to reduce the number of writes to the SD card that is the pi'

Re: [systemd-devel] Cannot find a way to get time read from RTC during boot

2020-03-12 Thread Dave Howorth
On Thu, 12 Mar 2020 17:35:16 -0400 "Kevin P. Fleming" wrote: > Thanks, I agree. I could some up with something which ran timedatectl > to set the system time from the RTC, but the hwclock tool is already > there for that purpose. > > I'll need to investigate why this script exits without making

Re: [systemd-devel] detect_container() for recent(?) docker

2020-01-28 Thread Dave Howorth
On Tue, 28 Jan 2020 15:28:08 +0300 "Matwey V. Kornilov" wrote: > вт, 28 янв. 2020 г. в 15:25, Lennart Poettering > : > > We document the requirements and expectations to run systemd in > > containers very explicitly here: > > > > https://systemd.io/CONTAINER_INTERFACE > > If I could google

Re: [systemd-devel] making journald logs persistent on raspberry pi

2020-01-26 Thread Dave Howorth
On Fri, 24 Jan 2020 18:36:49 +0200 Mantas Mikulėnas wrote: > On Fri, Jan 24, 2020 at 5:32 PM Dave Howorth > wrote: > > > It's quite common on the Raspberry Pi to make /var/log a tmpfs, in > > order to reduce the number of writes to the SD card that is the pi's > >

[systemd-devel] making journald logs persistent on raspberry pi

2020-01-24 Thread Dave Howorth
It's quite common on the Raspberry Pi to make /var/log a tmpfs, in order to reduce the number of writes to the SD card that is the pi's main storage. That's quite acceptable for most logs but I'd like to make journald's logs persistent so I'll be able to investigate any problems that occur whilst

Re: [systemd-devel] Shutdown behavior

2020-01-13 Thread Dave Howorth
On Mon, 13 Jan 2020 11:32:37 +0100 Lennart Poettering wrote: > On Fr, 10.01.20 10:56, Jay Burger (jay.bur...@us.fujitsu.com) wrote: > > > I made the same type of change in the emergency_action() function > > in v232. > > > > Question 1: Would this be considered a problem with the design, > >

Re: [systemd-devel] Service fails to start with no log messages

2020-01-07 Thread Dave Howorth
On Mon, 6 Jan 2020 21:47:37 -0500 Jeffrey Walton wrote: > On Mon, Jan 6, 2020 at 9:35 PM Reindl Harald > wrote: > > > > Am 07.01.20 um 02:57 schrieb Jeffrey Walton: > > > To fix my ordering problem I need Systemd to stop lying about > > > when the network is ready. > > > > one last comment:

Re: [systemd-devel] RFC: luksSuspend support in sleep/sleep.c

2019-10-14 Thread Dave Howorth
On Mon, 14 Oct 2019 16:27:47 +0200 Jonas Meurer wrote: > Yeah, something like that was my hope as well: use plymouth and > framebuffer or something alike for spawning the passphrase prompt. FWIW, I'm just a user but I taboo plymouth on all my systems. I prefer to see the traditional scrolling

Re: [systemd-devel] Bad accelerometer values cause incorrect screen rotation

2019-09-05 Thread Dave Howorth
On Thu, 5 Sep 2019 17:05:11 +0800 Daniel Drake wrote: > Hi, > > Over the years we've seen a bunch of reports of systems that > automatically rotate the display to some incorrect orientation, based > on trusting some accelerometer data values which were not interpreted > correctly. I have another

Re: [systemd-devel] Antw: Re: Antw: Re: /etc/fstab obsolete?

2019-08-29 Thread Dave Howorth
On Thu, 29 Aug 2019 15:57:37 +0200 Lennart Poettering wrote: > On Do, 29.08.19 07:46, Ulrich Windl > (ulrich.wi...@rz.uni-regensburg.de) wrote: > > > Hi! > > > > I agree to almost everything, except: > > > > The handling of /etc/fstab is a true mess. Maybe other config files > > are handles

Re: [systemd-devel] systemd's connections to /run/systemd/private ?

2019-08-14 Thread Dave Howorth
On Wed, 14 Aug 2019 12:04:03 -0400 Brian Reichert wrote: > On Wed, Aug 14, 2019 at 04:19:46PM +0100, Simon McVittie wrote: > > On Wed, 14 Aug 2019 at 10:26:53 -0400, Brian Reichert wrote: > > Doesn't daemonize(1) make stdin, stdout and stderr point > > to /dev/null, instead of closing them? >

Re: [systemd-devel] Antw: /bin/systemctl vs /usr/bin/systemctl

2019-08-07 Thread Dave Howorth
On Wed, 07 Aug 2019 07:38:47 +0200 "Ulrich Windl" wrote: > >>> Thomas Güttler schrieb am > >>> 06.08.2019 um > 16:37 in > Nachricht <3243dc34-4eec-e3a0-c6fd-491fdfcaf...@thomas-guettler.de>: > > I just realized that the location of systemctl varies across linux > > distributions. > > > >

Re: [systemd-devel] journald deleting logs on LiveOS boots

2019-07-18 Thread Dave Howorth
On Thu, 18 Jul 2019 09:55:51 -0600 Chris Murphy wrote: > On Thu, Jul 18, 2019 at 4:50 AM Uoti Urpala > wrote: > > > > On Mon, 2019-07-15 at 14:32 -0600, Chris Murphy wrote: > > > So far nothing I've tried gets me access to information that would > > > give a hint why systemd-journald thinks

Re: [systemd-devel] logging in RAM and journald configuration issue

2019-04-02 Thread Dave Howorth
On 2019-03-20 Lennart Poettering wrote: > On Mi, 20.03.19 18:08, Dave Howorth (syst...@howorth.org.uk) wrote: > > > > > At present AFAICT the log2ram.service runs > > Before=systemd-journald.service and various other services, so I > > think that aspect is cove

Re: [systemd-devel] logging in RAM and journald configuration issue

2019-03-20 Thread Dave Howorth
This message was caught up in what looks like a freedesktop server crash so I'm reposting it slightly edited after other responses. Hopefully it will now reach the list and thread somewhat sensibly. > Lennart Poettering wrote on 20/03/2019 13:37: > > On Mi, 20.03.19 09:57, Dave Howo

Re: [systemd-devel] logging in RAM and journald configuration issue

2019-03-20 Thread Dave Howorth
> On Di, 19.03.19 20:45, Dave Howorth (syst...@howorth.org.uk) wrote: > > > In the case of a machine that uses an SD card as its primary backing > > store, it is desirable to reduce the number of write operations to > > the card in order to prolong its life. journald i

[systemd-devel] logging in RAM and journald configuration issue

2019-03-19 Thread Dave Howorth
In the case of a machine that uses an SD card as its primary backing store, it is desirable to reduce the number of write operations to the card in order to prolong its life. journald is quite well-behaved in this regard since it offers the choice of a temporary or permanent journal and limits the