Hi!
I tried to use my first systemd timer, but failed: Either I don't understand it
correctly, or there is a bug in systemd (228 of SLES12 SP5):
(See also https://unix.stackexchange.com/q/779714/320598)
It seems it's not enough to "enable" the timer, but also "start" it (well, it
may seem logic
> -Original Message-
> From: Andrei Borzenkov
> Sent: Monday, July 29, 2024 1:19 PM
> To: Mantas Mikulėnas
> Cc: Windl, Ulrich ; systemd-devel@lists.freedesktop.org
> Subject: [EXT] Re: [systemd-devel] "OnUnitInactiveSec Timer not firing" issue
>
&g
not state WHERE that state is remembered.
> -Original Message-
> From: systemd-devel On
> Behalf Of Windl, Ulrich
> Sent: Tuesday, July 30, 2024 10:26 AM
> To: Andrei Borzenkov ; Mantas Mikulėnas
>
> Cc: systemd-devel@lists.freedesktop.org
> Subject: [EXT
Hi!
By mistake I added a [Timer] section to a service unit (instead of timer unit)
using "systemctl edit ...". After realizing the mistake, I used "systemctl edit
..." again to remove all lines.
However this caused to keep the file in place, not canceling the edit.
So I wonder: Wouldn't it make
> On Tue, Jul 30, 2024, at 08:38, Windl, Ulrich wrote:
> > Hi!
> >
> > Top-posting this time:
> > Reading the manual carefully, I recognized an asymmetry:
> > OnActiveSec= defines a timer relative to the moment the timer itself is
> > activated.
> >
> -Original Message-
> From: Andrei Borzenkov
> Sent: Tuesday, July 30, 2024 4:12 PM
> To: Windl, Ulrich
> Cc: Mantas Mikulėnas ; systemd-
> de...@lists.freedesktop.org
> Subject: [EXT] Re: Re: [systemd-devel] "OnUnitInactiveSec Timer not firing"
> iss
Note that this setting only has an
effect on timers configured with OnCalendar=."
So it shouldn't make a difference if the docs are right.
Regards,
Ulrich
> -Original Message-
> From: Andrei Borzenkov
> Sent: Monday, July 29, 2024 9:21 AM
> To: Windl, Ulrich
>
> -Original Message-
> From: Andrei Borzenkov
> Sent: Thursday, August 1, 2024 12:49 PM
> To: Windl, Ulrich
> Cc: systemd-devel@lists.freedesktop.org
> Subject: [EXT] Re: Re: [systemd-devel] "OnUnitInactiveSec Timer not firing"
> issue
>
> On Thu,
> -Original Message-
> From: Michael Chapman
> Sent: Wednesday, July 31, 2024 9:14 AM
> To: Windl, Ulrich
> Cc: Andrei Borzenkov ; Mantas Mikulėnas
> ; systemd-devel@lists.freedesktop.org
> Subject: [EXT] Re: [systemd-devel] Re: Re: "OnUnitInactiveSec Timer n
Hi!
It does not answer your question, but I wonder who at the Microsoft world
started to suggest using “.local” as domain. See
https://en.wikipedia.org/wiki/.local for further details.
Ulrich
From: systemd-devel On Behalf Of
struth
Sent: Friday, August 2, 2024 1:04 AM
To: systemd-devel@lists
Hi!
I wonder: Say service A.service is started via A.timer, and A.service cannot
run unless file B exists, so A.service uses AssertPathExists=B.
Will it make sense to repeat that requirement in A.timer? The idea was to
prevent the timer from starting if the service would not start (due to missin
Hi!
I have a service and timer template where the service instances are configured
via an environment file like etc/.../%i.conf.
The timer template will use the @%i.service unit, but currently has a fixed
"OnCalendar=daily" currently.
As the instances might want to run with a different frequency
Hi!
I'm running the same binary concurrently with different options using timers
and instances, and I have the problem that it's not obvious which instance
logged an error.
Like this:
Aug 16 00:00:01 v04 systemd[1]: Started Check (auth-fail-xyz).
Aug 16 00:00:01 v04 systemd[1]: Started Check (g
Hi!
I have defined a time using
[Timer]
OnCalendar=daily
AccuracySec=6h
Persistent=true
And the idea was to run the unit daily, but it's rather unimportant when, just
nout in prime hours.
The man page says:
AccuracySec=
Specify the accuracy the timer shall elapse with. Defau
vel@lists.freedesktop.org
> Subject: [EXT] Re: [systemd-devel] SyslogIdentifier= no flexible enough
>
> On Fri, 16 Aug 2024 09:34:57 +
> "Windl, Ulrich" wrote:
>
> > Hi!
> >
> > I'm running the same binary concurrently with different options usi
> -Original Message-
> From: Andrei Borzenkov
> Sent: Saturday, August 17, 2024 8:22 AM
> To: Windl, Ulrich ; systemd-devel@lists.freedesktop.org
> Subject: [EXT] Re: [systemd-devel] Understanding the effect of
> AccuracySec=
>
> On 16.08.2024 12:43, Win
, August 19, 2024 10:45 AM
To: Andrei Borzenkov
Cc: Barry ; Windl, Ulrich ; Systemd
Devel
Subject: [EXT] Re: [systemd-devel] Re: Understanding the effect of AccuracySec=
I don't have the initial email for some reason (got caught in spam filter? Idk)
so I don't have the full context.
O
ifferent thread...
Regards,
Ulrich
> -Original Message-
> From: Lennart Poettering
> Sent: Monday, August 19, 2024 3:01 PM
> To: Windl, Ulrich
> Cc: Adrian Vovk ; Andrei Borzenkov
> ; Barry ; Systemd Devel
>
> Subject: [EXT] Re: [systemd-devel] Re: Re: Understanding th
t; From: Lennart Poettering
> Sent: Thursday, August 22, 2024 11:26 AM
> To: Windl, Ulrich
> Cc: systemd-devel@lists.freedesktop.org
> Subject: [EXT] Re: [systemd-devel] Can I use an EnvironmentFile to configure
> a Timer?
>
> On Mo, 05.08.24 08:08, Windl, Ulrich (u.wi...@ukr.de) wrote
Hi!
I have an issue where Perl dumps core for no obvious reason, and I noticed the
line
systemd-coredump[25256]: AT_NULL terminator not found, cannot parse auxv
structure.
In the journal.
Can anybody explain what it actually means? System is SLES12 SP5 on x86_64
(systemd-228-157.60.1.x86_64).
2024 12:53 PM
> To: Windl, Ulrich
> Cc: systemd-devel@lists.freedesktop.org
> Subject: [EXT] Re: [systemd-devel] systemd-coredump[25256]: AT_NULL
> terminator not found, cannot parse auxv structure.
>
> On Tue, Aug 27, 2024 at 12:21 PM Windl, Ulrich wrote:
> >
> > Hi
> Subject: [EXT] Re: [systemd-devel] Re: systemd-coredump[25256]: AT_NULL
> terminator not found, cannot parse auxv structure.
>
> > > From: Andrei Borzenkov
> > > Sent: Tuesday, August 27, 2024 12:53 PM
> > > To: Windl, Ulrich
> > > Cc: systemd-devel@l
Hi!
When trying to adjust a timer that ran with "OnCalendar=daily" to a period like
15 minutes, I made a series of mistakes (after having read systemd.time), so I
can make a number of suggestions for improvement:
First I had tried to put the specification inside double-quotes as the string
con
Hi again!
And I forgot: What would be the alternative for "/2w" (bi-weekly) in the
current syntax? I couldn't find a clean string that is half-way readable.
Regards,
Ulrich
From: systemd-devel On Behalf Of
Windl, Ulrich
Sent: Wednesday, September 4, 2024 10:19 AM
To
> -Original Message-
> From: Andrei Borzenkov
> Sent: Tuesday, July 30, 2024 4:11 PM
> To: Windl, Ulrich
> Cc: Mantas Mikulėnas ; systemd-
> de...@lists.freedesktop.org
> Subject: [EXT] Re: Re: [systemd-devel] Re: "OnUnitInactiveSec Timer not
> firing&quo
> -Original Message-
> From: systemd-devel On
> Behalf Of Krister Johansen
> Sent: Tuesday, November 19, 2024 12:14 AM
> To: Lennart Poettering
> Cc: util-li...@vger.kernel.org; Karel Zak ; systemd-
> de...@lists.freedesktop.org; David Reaver ;
> Theodore Ts'o
> Subject: [EXT] Re: [syste
stemd-devel] [PATCH] libblkid: fix spurious ext superblock
> checksum mismatches
>
> Reads of ext superblocks can race with updates. If libblkid observes a
[Windl, Ulrich]
I really wonder:
Can one single block be inconsistent when read, considering that the block on
disk is not incons
t;last" or "first".
(More importantly, what happens if another service also wants to be "last"?)
[Windl, Ulrich]
They take each other’s hand and run in parallel 😉
> -Original Message-
> From: systemd-devel On
> Behalf Of Thomas HUMMEL
> Sent: Monday, November 25, 2024 2:09 PM
> To: systemd-devel@lists.freedesktop.org
> Subject: [EXT] [systemd-devel] systemd-udevd and services with
> DefaultDependencies=no
>
> Hello,
>
> I've got a somehow silly qu
I don't know what you are citing, but on SLES15 SP6 the manual page for
tmpfiles.d(5) has this:
For example:
# Files created and modified, and directories accessed more than
# an hour ago in "/tmp/foo/bar", are subject to time-based cleanup.
d /tmp/foo/bar
age-
> From: Brian Reichert
> Sent: Monday, February 3, 2025 7:11 PM
> To: Windl, Ulrich
> Cc: Brian Reichert ; Mantas Mikul??nas
> ; systemd-devel@lists.freedesktop.org
> Subject: [EXT] Re: Re: [systemd-devel] sanity check: why am I unable to
> manage my own directory with s
Hi!
When upgrading SLES 15 from SP5 to SP6 also involved updating systemd (from 249
to 254):
On first boot I noticed the message "systemd-journald[673]:
/var/log/journal/aefe6ef1acb28655ef1a2fa8610cef2b/system.journal: Journal file
uses a different sequence number ID, rotating."
That was kind o
I noticed that systemd-journald has an option to "rotate" the journal, but I
could not find a manpage that explains what "rotation" actually means.
Kind regards,
Ulrich Windl
Andrei,
you are right; it's just that there are so many bugs there 😉
Kind regards,
Ulrich Windl
> -Original Message-
> From: Andrei Borzenkov
> Sent: Friday, February 7, 2025 7:17 AM
> To: Windl, Ulrich ; systemd-devel@lists.freedesktop.org
> Subject: [EXT] R
Hi!
When changing distro defaults be careful not to open another can of worms,
however 😉
Kind regards,
Ulrich Windl
> -Original Message-
> From: systemd-devel On
> Behalf Of Dluhosch, Michael
> Sent: Friday, February 7, 2025 10:08 AM
> To: Lennart Poettering
> Cc: systemd-devel@lists.
I had similar effects (even though not parallel) from pre-systemd times. As
most of those attempts were coming from a specific IP, I added some firewall
rule, and it calmed down things significantly. Maybe today one could add such
firewall rules automatically and dynamically from detected attack
To differentiate “NTP is synced to *some* time” and “NTP is synced to the
*correct* time” can be quite a challenge, but probably off-topic here.
Kind regards,
Ulrich Windl
From: systemd-devel On Behalf Of
Henti Smith
Sent: Wednesday, January 29, 2025 10:57 AM
To: Mantas Mikulėnas
Cc: Systemd
Could it be that you actually want to wait for nss-lookup.target?
Kind regards,
Ulrich Windl
> -Original Message-
> From: systemd-devel On
> Behalf Of Nick Rosbrook
> Sent: Tuesday, December 10, 2024 8:49 PM
> To: Adam Nielsen
> Cc: systemd-devel@lists.freedesktop.org
> Subject: [EXT] R
Hi!
There is a tool named monit (https://en.wikipedia.org/wiki/Monit) that can
check for changes to files; maybe give it a try. Like this (you’ll have to
adjust it):
check file bootid with path /proc/sys/kernel/random/boot_id
#if changed timestamp then alert
if content !=
"^[0-
Hi!
Can you please move your “USB boot problem” to an appropriate forum?
Maybe check “superuser.com” first.
Mit freundlichen Grüßen
Ulrich Windl
From: systemd-devel On Behalf Of
Feli Flitzberg
Sent: Wednesday, December 18, 2024 2:00 AM
Cc: systemd-devel@lists.freedesktop.org
Subject: [EXT] Re:
Hi!
I wonder: If a socket unit is using an TCP/IP (v4) stream socket, can't systemd
deduce that the socket should start *after* the network had been set up?
Specifically I had the case in SLES15 SP6
(systemd-254.18-150600.4.15.10.x86_64) that this socket unit failed to start
after the paths ta
, Ulrich
Cc: systemd-devel@lists.freedesktop.org
Subject: [EXT] Re: [systemd-devel] automatic and manual socket unit dependencies
On Thu, Dec 5, 2024 at 1:29 PM Windl, Ulrich
mailto:u.wi...@ukr.de>> wrote:
Hi!
I wonder: If a socket unit is using an TCP/IP (v4) stream socket, can’t systemd
deduc
Hi!
Debugging some backup issue I noticed that systemd announced "Starting Update
system wide CA certificates..." multiple times during backup.
As I was sure no new certificates were installed I checked the unit; it
contains:
# /usr/lib/systemd/system/ca-certificates.path
[Unit]
Description=Watc
Hi!
I have a related question (actually I found that issue in some vendor-provided
unit):
Should systemd warn if a template service used PIDfile without a placeholder
like %i?
Most likely that won't work well IMHO.
Kind regards,
Ulrich Windl
> -Original Message-
> From: systemd-devel
Hi!
AFAIR „ANSI“ terminal sequences were derived from a DEC vt100 or vt102, so no
surprise when there is not much difference.
I’d suggest to “hexdump” the output to see what arrives via serial. Then you
might decide which emulation to use.
I don’t know the details, but supporting a pure serial m
Hi!
I guess you should “systenmctl cat” the service file in question (my glass orb
is in maintenance 😉).
Kind regards,
Ulrich Windl
From: systemd-devel On Behalf Of
Raul Jimeno
Sent: Tuesday, December 17, 2024 3:58 PM
To: systemd-devel@lists.freedesktop.org
Subject: [EXT] [systemd-devel] The
Hi!
Wasn't there an agreement that "wanting a target" is always wrong? Isn't
"After" you are after? 😉
Kind regards,
Ulrich Windl
> -Original Message-
> From: systemd-devel On
> Behalf Of Andrei Borzenkov
> Sent: Tuesday, April 8, 2025 2:22 PM
> To: Christopher Hunt
> Cc: systemd-devel
Hi!
In SLES15 SP6 (systemd-254.24-150600.4.28.1.x86_64) I noticed that collecting
logs took quite long, so I checked.
# time journalctl |wc -l
2705448
real2m23.008s
user1m25.666s
sys 0m57.389s
The journal is persistent and it's located on a BtrFS subvolume using a device
that is pr
systemctl cat httpd?
> -Original Message-
> From: systemd-devel On
> Behalf Of Ian Pilcher
> Sent: Sunday, April 13, 2025 9:30 PM
> To: systemd-devel@lists.freedesktop.org
> Subject: [EXT] [systemd-devel] systemctl as root prompting for username
>
> I have never seen this before. After
nd regards,
Ulrich Windl
From: systemd-devel On Behalf Of
Windl, Ulrich
Sent: Wednesday, April 9, 2025 11:48 AM
To: systemd-devel@lists.freedesktop.org
Subject: [EXT] [systemd-devel] slowness reading persistent journal
Hi!
In SLES15 SP6 (systemd-254.24-150600.4.28.1.x86_64) I noticed that collec
Regensburg
IT / Infrastruktur
Franz-Josef-Strauß-Allee 11
D-93053 Regensburg
Tel: +49 941 944-13816
Softphone: +49 941 944-801142
FAX: +49 941 944-5882
> -Original Message-
> From: Lennart Poettering
> Sent: Wednesday, May 7, 2025 10:14 AM
> To: Windl, Ulrich
> Cc: F
Hi!
Did you consider using ACLs instead of changing owner and group? However I must
admit I never tried it with devices.
So my idea was to add an ACL for pcscd when the service is in use and drop that
right if the service is not active.
You could even query the ACL to use it as "locked flag".
K
You may also want to read https://serverfault.com/q/137091/407952
Kind regards,
Ulrich Windl
> -Original Message-
> From: systemd-devel On
> Behalf Of Lennart Poettering
> Sent: Thursday, February 27, 2025 11:29 AM
> To: Alexis Hallebarde
> Cc: systemd-devel@lists.freedesktop.org
> Subj
Hi!
A SLES15 SP6 machine running in VMware recently showed severe I/O hangs (which
seem to be related to Veam backup software making snapshots when also VMware
snapshots of the VM exist).
The point was that even direct reads were hanging for about three minutes until
the kernel logged a "kernel
I wonder: Can such a thing be expressed via an [install] section, too? Fumbling
with the filesystem this way feels wrong to me, because when uninstalling such
a unit, it will probably leave garbage behind (assuming that systemd collects
garbage normally).
Or is the expectation that such garbage
Of František Šumšal
> Sent: Tuesday, May 6, 2025 4:02 PM
> To: systemd-devel@lists.freedesktop.org
> Subject: [EXT] Re: [systemd-devel] slowness reading persistent journal
>
> Hey,
>
> On 5/6/25 13:54, Windl, Ulrich wrote:
> > Hi,
> >
> > An update: The versi
Hi!
I wrote a simple service that did not start after boot. The joural message was:
REST-server.service: Job REST-server.service/start failed with result
'dependency'.
Wouldn't it be helpful to log WHICH dependency failed? As I started the server
meanwhile that information isn't available any m
some bug?
Kind regards,
Ulrich Windl
From: Windl, Ulrich
Sent: Thursday, June 5, 2025 2:22 PM
To: 'Mantas Mikulėnas'
Subject: RE: [EXT] Re: [systemd-devel] Suggestion for " failed with result
'dependency'."
H!
You are right!:
“systemd[1]: Host and Network Name Loo
Well,
I had almost 3 minutes, and someone else from SLES support testing hat 20
minutes to read the logs on SSD. SLES support was able to speed up thing by a
factor of 500 or so. However I don’t know what they did. I guess the update
will be published soon.
Kind regards,
Ulrich Windl
From: sy
59 matches
Mail list logo