[systemd-devel] Ukify, systems-sbsign, Secure Boot and Microsoft Vendor keys

2025-06-22 Thread John Cooper
certificates. This is needed as there’s hardware which don’t boot without them and in worst case will become bricked. So can this please be added natively in the software? Thank you for your time and attention in this matter. Kind Regards, John Cooper Sent from my iPhone

Re: [systemd-devel] Is systemd-cryptsetup binary internal?

2023-09-18 Thread Dimitri John Ledkov
On Mon, 18 Sept 2023, 17:43 Nils Kattenbeck, wrote: > > Why was the decision taken to put these into /usr/lib/systemd instead of >> > /usr/libexec/systemd/? >> >> That's a Fedoraism. Why would one put something there? >> >> /usr/lib/ is where private arch-dependent package stuff goes. What's >> t

Re: [systemd-devel] [PATCH 0/1] x86/kexec: UKI support

2023-09-18 Thread Dimitri John Ledkov
On Tue, 12 Sept 2023 at 11:38, Jarkko Sakkinen wrote: > > On Tue Sep 12, 2023 at 2:20 AM EEST, Neal Gompa wrote: > On Mon, Sep 11, 2023 > at 7:15 PM Jarkko Sakkinen wrote: > > > On Sat Sep 9, 2023 at 7:18 PM EEST, Jan Hendrik Farr wrote: > > > > Hello, > > > > > > > > this patch implements UKI s

Re: [systemd-devel] Feedback sought: can we drop cgroupv1 support soon?

2023-08-18 Thread Dimitri John Ledkov
On Mon, 7 Aug 2023 at 17:26, Lennart Poettering wrote: > > On Do, 20.07.23 01:59, Dimitri John Ledkov ([email protected]) > wrote: > > > Some deployments that switch back their modern v2 host to hybrid or v1, are > > the ones that need to run old workloads

Re: [systemd-devel] Feedback sought: can we drop cgroupv1 support soon?

2023-07-19 Thread Dimitri John Ledkov
Some deployments that switch back their modern v2 host to hybrid or v1, are the ones that need to run old workloads that contain old systemd. Said old systemd only has experimental incomplete v2 support that doesn't work with v2-only (the one before current stable magick mount value). Specifically

Re: [systemd-devel] Support for unmerged-usr systems will be REMOVED in the second half of 2023

2023-06-13 Thread Dimitri John Ledkov
Hi, On Tue, 13 Jun 2023 at 16:01, Richard Purdie wrote: > > On Tue, 2023-06-13 at 15:56 +0100, Dimitri John Ledkov wrote: > > Nobody is retroactively changing existing systemd releases. > > > > Stay on a previously released systemd version which will continue to > >

Re: [systemd-devel] Support for unmerged-usr systems will be REMOVED in the second half of 2023

2023-06-13 Thread Dimitri John Ledkov
Nobody is retroactively changing existing systemd releases. Stay on a previously released systemd version which will continue to have features it used to have. On Tue, 13 Jun 2023, 15:53 Richard Purdie, < [email protected]> wrote: > On Tue, 2023-06-13 at 15:31 +0100, Luca Bocca

Re: [systemd-devel] What is wrong with my .path setup?

2022-03-20 Thread John Ioannidis
On Sun, Mar 20, 2022 at 5:26 PM John Ioannidis wrote: > Here are my .path and .service files: > > $ *cat /etc/systemd/system/trigg.path * > [Path] > DirectoryNotEmpty=/root/trigger > MakeDirectory=true > > $ *cat /etc/systemd/system/trigg.service * > [Unit] &g

[systemd-devel] What is wrong with my .path setup?

2022-03-20 Thread John Ioannidis
Here are my .path and .service files: $ *cat /etc/systemd/system/trigg.path * [Path] DirectoryNotEmpty=/root/trigger MakeDirectory=true $ *cat /etc/systemd/system/trigg.service * [Unit] Description=Trigger Service [Service] ExecStart=/usr/bin/touch /root/wastriggered Type=oneshot Now, after ro

Re: [systemd-devel] [RFC] Switching to OpenSSL 3?

2021-11-23 Thread Dimitri John Ledkov
On Tue, Nov 23, 2021 at 12:09 PM Lennart Poettering wrote: > > On Di, 23.11.21 11:53, Dimitri John Ledkov ([email protected]) > wrote: > > > Just an update from Ubuntu - for the upcoming release of Jammy (22.04 > > LTS targeting release in April 2022) we ha

Re: [systemd-devel] [RFC] Switching to OpenSSL 3?

2021-11-23 Thread Dimitri John Ledkov
Just an update from Ubuntu - for the upcoming release of Jammy (22.04 LTS targeting release in April 2022) we have started transition to OpenSSL 3 and currently upgrading to systemd v249. W.r.t. library choice usually GnuTLS APIs are nicer to use; however OpenSSL library tends to be the more perfo

[systemd-devel] Proc protection of services and TemporaryFileSystem=/

2021-09-21 Thread John
TemporaryFileSystem=/ can be used to limit the file system with just some necessary paths set by BindReadOnlyPaths/BindPaths to some files, depending on what the service needs. This does not mount /proc and /sys. There are some [service] settings regarding proc such as: ProtectProc, ProtectKern

[systemd-devel] Tracing source of "Message has the same reply serial as a currently-outstanding existing method call" with sd-bus based client

2021-08-11 Thread John Ernberg
nvestigation of this problem. If more information is necessary, please let me know which information and I will do my best to provide it. Thank you very much in advance. Best regards // John Ernberg The client code for restarting journald looks l

Re: [systemd-devel] What is the recommended way of announcing a TCP port?

2021-06-25 Thread John Ioannidis
Thanks though, /ji > On Tue, Jun 15, 2021, 04:18 John Ioannidis wrote: > >> I have an instanced service that gets started and stopped by another >> service: *alice.service *runs the equivalent of *systemsctl start >> [email protected], systemctl start [email protected], sys

Re: [systemd-devel] What is the recommended way of announcing a TCP port?

2021-06-25 Thread John Ioannidis
27;t; a .socket unit gets activated, and subsequently starts its corresponding service, when the first connection is made. The primary purpose of the service is not to serve data over that socket; the socket is there for scraping metrics. Thanks though, /ji > On Mon, Jun 14, 2021 at 9:17 PM

[systemd-devel] What is the recommended way of announcing a TCP port?

2021-06-14 Thread John Ioannidis
I have an instanced service that gets started and stopped by another service: *alice.service *runs the equivalent of *systemsctl start [email protected], systemctl start [email protected], systemctl stop [email protected]*, and so on. Each of the instanced services runs a little http service so its

[systemd-devel] Ordering of oneshot services and path units?

2021-03-27 Thread John Ioannidis
tl;dr: a .path unit does not appear to be waiting for the After= unit to run first. I am still trying to understand why some services occasionally do not start at boot time. It is a very intermittent behavior, but I caught another instance. Everything is running in Google Compute Engine or Amazon

[systemd-devel] Fwd: What could be causing a oneshot unit not to be run when a machine reboots?

2021-03-13 Thread John Ioannidis
I have the following service file: [Unit] Description=D After=network.target [Service] ExecStart=/usr/local/sbin/mktags.py Type=oneshot User=root [Install] WantedBy=multi-user.target Occasionally, when the machine reboots, it does not run. Here is the evidence: # uptime 05:50:11 up 20 min, 1

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

2021-03-01 Thread Dimitri John Ledkov
I agree that i should have had much lower log level. This is now fixed properly upstream via https://github.com/systemd/systemd/pull/18638/files I will try to backport that to stable series or at least drop the log level to debug. On Mon, 19 Oct 2020 at 15:05, Michael Biebl wrote: > > Am Mo.,

[systemd-devel] Debugging sd_notify / tracing notifications?

2021-03-01 Thread John Ioannidis
How can I trace what sd_notify(3) calls a program makes? Obviously, I don't have the source, and running *strings* on it does reveal a *READY=1* line, but it is unclear whether the code makes it to the point where that gets sent. Here is what I am *really* trying to accomplish; maybe I am going a

Re: [systemd-devel] Journalctl reading incorrect file

2021-01-29 Thread John Lane
> > Is it possible you are playing some weird games with your machine ID > or boot ID? > Maybe. Yes. I have a oneshot service that writes /etc/machine-id using constant hardware-based info. But I've been using that for over two years without any issues. I did notice this when trying to investig

Re: [systemd-devel] Journalctl reading incorrect file

2021-01-28 Thread John Lane
> journalctl reads from both dirs, always. What makes you think it reads > from the wrong dir only? > when I do `journalctl` I only get output up to the switch-root: Jan 28 08:33:31 archlinux systemd[1]: Reached target Switch Root. Jan 28 08:33:31 archlinux systemd[1]: Starting Switch Root..

Re: [systemd-devel] Journalctl reading incorrect file

2021-01-28 Thread John Lane
I'm still stuck on this one, if anyone can offer any advice I'd really appreciate it as I'm not sure how to troubleshoot it. On 15/01/2021 09:17, John Lane wrote: > Hello, > > I've just set up a new system and have noticed a problem with journalctl > where i

[systemd-devel] Journalctl reading incorrect file

2021-01-15 Thread John Lane
Hello, I've just set up a new system and have noticed a problem with journalctl where it appears to be reading from the incorrect journal. The journal is running and I can direct it at the correct file using -D, but I don't understand what is happening. There is a journal in /run/log/journal whic

Re: [systemd-devel] require a system service unit to start a user service as a dependency

2020-12-24 Thread John
On Thu, Dec 24, 2020 at 3:29 AM Andrei Borzenkov wrote: > > On Thu, Dec 24, 2020 at 5:48 AM John wrote: > > > > I need to have the following start > > /usr/lib/systemd/user/pulseaudio.service so it can make use of > > pulseaudio. Using a After= or Wants= does not

[systemd-devel] require a system service unit to start a user service as a dependency

2020-12-23 Thread John
I need to have the following start /usr/lib/systemd/user/pulseaudio.service so it can make use of pulseaudio. Using a After= or Wants= does not work. What is the correct way to have a system service like this run a user service unit? % cat /usr/lib/systemd/system/kodi.service [Unit] Description=

Re: [systemd-devel] service kills application differently on shutdown vs on stop

2020-12-14 Thread John
to be had (one for xserver and another for kodi). 1. https://github.com/graysky2/kodi-standalone-service/commit/909f274d6eaf011add6326b28b42fecb9123c7df On Mon, Dec 14, 2020 at 11:12 AM Colin Guthrie wrote: > > John wrote on 14/12/2020 12:52: > > Note that it looks > > like

Re: [systemd-devel] service kills application differently on shutdown vs on stop

2020-12-14 Thread John
On Mon, Dec 14, 2020 at 12:39 AM Andrei Borzenkov wrote: > If your application creates user session, on shutdown systemd will stop > existing sessions and it happens independently of your service. Andrei - Thank you for this info. It caused me to search 'systemd wait for user session on shutdown

[systemd-devel] service kills application differently on shutdown vs on stop

2020-12-13 Thread John
If I call systemctl to shutdown or reboot, the effect is that it does not honor kodi-x11.service's ExecStop= line which results in an unclean exit of kodi and of data loss since kodi writes out some data when it exits. By contrast, calling systemctl to stop the service works as expected. Does any

[systemd-devel] Running scripts after networkd has done its things

2020-07-24 Thread John Ioannidis
I'm trying to be a good boy and migrate as much functionality as I can to networkd. I'm happy with how networkd manages "internal" and "external" interfaces and vlans for just setting up IPv4 addresses, but I still find support for IPv6 to be woefully inadequate, at least for my environment; netfi

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

2020-07-06 Thread Dimitri John Ledkov
On Mon, 22 Jun 2020 at 18:03, Reindl Harald wrote: > > > > Am 22.06.20 um 17:21 schrieb Mantas Mikulėnas: > > On Mon, Jun 22, 2020 at 5:01 PM Reindl Harald > > wrote: > > > > what is the best way to get a Fedora using legacy-boot to UEFI and at > > the same

Re: [systemd-devel] What is the point of making timesyncd bus-activatible?

2020-05-22 Thread Dimitri John Ledkov
On Tue, 19 May 2020 at 10:31, Arian Van Putten wrote: > > Hey list, > > systemd-timesyncd has an Alias=dbus-org.freedesktop.timesync1.service and an > accompanying dbus service file too. > > It is started in early boot; `Before=sysinit.target` so why would making it > dubs-activatible ever mak

[systemd-devel] IPv6 dhcp-acquired prefix delegation?

2020-05-16 Thread John Ioannidis
I am running systemd v241, the one that comes with debian-10. Is the following scenario possible natively (that is, without using a standalone dhcpv6 client)? - My residential ISP will normally hand me a /64, but will give me a /56 if I ask for it. While technically not a statically-alloca

[systemd-devel] systemd.network vs. ifupdown vs. netplan?

2020-05-05 Thread John Ioannidis
Is there a document somewhere that details what the interactions/conflicts/etc are between systemd.{link,netdev,network} and the ifupdown mechanisms? I have read the manual pages, of course, but I feel I'm missing something fundamental. I finally got around to moving to Debian 10, and in the proces

Re: [systemd-devel] If systemd service fails how to get a dependency service to fail also

2020-04-25 Thread John
On Sat, Apr 25, 2020 at 2:19 AM Andrei Borzenkov wrote: > > ps.service does not call any script on startup. > > > > 1) psd.service remains in an active state > > 2) psd-resync.timer remains active > > > > I'd like: > > 1) both psd.service and psd-resync.service to both end in an error state. > > 2

[systemd-devel] If systemd service fails how to get a dependency service to fail also

2020-04-24 Thread John
I'd like to have systemd (user mode) call a bash script with different tokens under two conditions: 1) When the user starts/stops a service (token would be either "sync" or "unsync") 2) When a timer tells it to run (token would be "sync") Thus far, I have been accomplishing these with 1 service an

[systemd-devel] initrd.target indirection no longer available

2020-04-06 Thread Dimitri John Ledkov
Hi, In v245 systemd started to default to `initrd.target`, instead of `default.target` in the initrd. However, unlike `default.target` in the running system, `initrd.target` is not an indirection symlink. Specifically, default.target is a symlink to like graphical.target or like multi-user.target

Re: [systemd-devel] Read-only /etc, machine-id with an overlay - journald failing

2020-04-03 Thread Dimitri John Ledkov
On Wed, 26 Feb 2020 at 09:59, Andreas Kempe wrote: > > Hello everyone, > > I'm working in a project with an embedded Linux system based on > Openembedded using Systemd version 241 as our init process. We're > using a read-only /etc. To facilitate development, we want to use a > writeable overlay o

[systemd-devel] How does systemd (pid1) connect to system DBus?

2020-02-03 Thread Dimitri John Ledkov
I see that systemd pid1 manager is available on the system DBus. But when/how does it connect to it? I'm failing to trace it in both systemd & dbus code. I assume that systemd starts, eventually starts dbus.socket/service, dbus starts, and then something causes systemd to connect to the system bu

Re: [systemd-devel] systemd-nspawn isolation potentially causing issues with distccmon-text

2019-11-19 Thread John
test container systemd-nspawn arch - - 1 machines listed. On Tue, Nov 19, 2019 at 4:14 AM Lennart Poettering wrote: > > On Fr, 15.11.19 17:17, John ([email protected]) wrote: > > > The container is created by one of the Arch Linux build scripts > > (https://git.ar

Re: [systemd-devel] systemd-nspawn isolation potentially causing issues with distccmon-text

2019-11-19 Thread John
--register=yes may not be used when invoked from a user session." On Tue, Nov 19, 2019 at 4:14 AM Lennart Poettering wrote: > > On Fr, 15.11.19 17:17, John ([email protected]) wrote: > > > The container is created by one of the Arch Linux build scripts > > (https://git.ar

Re: [systemd-devel] systemd-nspawn isolation potentially causing issues with distccmon-text

2019-11-15 Thread John
On Wed, Nov 13, 2019 at 7:03 PM Uoti Urpala wrote: > > On Wed, 2019-11-13 at 10:24 -0500, John wrote: > > I am using systemd-nspawn to compile in a clean environment. My > > distcc cluster happily accepts requests from the container's build, > > but the monitoring u

[systemd-devel] systemd-nspawn isolation potentially causing issues with distccmon-text

2019-11-13 Thread John
I am using systemd-nspawn to compile in a clean environment. My distcc cluster happily accepts requests from the container's build, but the monitoring utility, distccmon-text, shows no output. I invoked it defining the DISTCC_DIR variable to the correct directory in the container. I collected an

Re: [systemd-devel] [SPAM]Re: Mount units with After=autofs.service cause ordering cycles

2019-10-31 Thread John Florian
On 10/31/19 2:59 PM, Lennart Poettering wrote: On Do, 31.10.19 14:09, John Florian ([email protected]) wrote: # /etc/systemd/system/var-www-pub.mount [Unit] Description=mount /pub served via httpd Requires=autofs.service After=autofs.service [Mount] What=/mnt/pub Where=/var/www/pub

Re: [systemd-devel] [SPAM]Re: Mount units with After=autofs.service cause ordering cycles

2019-10-31 Thread John Florian
On 10/31/19 1:08 PM, Lennart Poettering wrote: On Mo, 14.10.19 16:23, John Florian ([email protected]) wrote: So, I much prefer the expressiveness of systemd's mount units to the naive era of /etc/fstab, but I've found one situation where I seem to always get stuck and am never able

[systemd-devel] Mount units with After=autofs.service cause ordering cycles

2019-10-14 Thread John Florian
So, I much prefer the expressiveness of systemd's mount units to the naive era of /etc/fstab, but I've found one situation where I seem to always get stuck and am never able to find a reliable solution that survives OS (Fedora & CentOS) updates.  I have a NFS filesystem mounted by autofs at /pu

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

2019-10-10 Thread Dimitri John Ledkov
On Thu, 10 Oct 2019 at 16:49, Mantas Mikulėnas wrote: > > On Thu, Oct 10, 2019 at 6:23 PM Jonas Meurer wrote: >> >> Hi Lennart, hi Tim, >> >> thanks a lot for your feedback, Lennart. It's much appreciated! >> >> Tim Dittler: >> > On 09.10.19 19:26, Lennart Poettering wrote: >> >> On Mi, 09.10.19

[systemd-devel] /cdrom mounted from initrd is stopped on boot, possibly confused about device-bound

2019-10-09 Thread Dimitri John Ledkov
Ubuntu installer images use initrd, which has udevd but no systemd. It mounts /dev/sr0 as /root/cdrom, then pivots to /root, meaning /root/cdrom becomes just /cdrom and exec systemd as pid 1. At this point cdrom.mount is stopped as it's bound to an inactive dev-sr0.device. Then sometime later dev

[systemd-devel] Delegate v1 cgroup controller permissions

2019-06-19 Thread John Lane
I have a service which runs as an unprivileged user (User=foo) with delegated cgroup (Delegate=true) that wants to use the "memory" and "cpu" controllers. Systemd is using the hybrid mode with both v1 and v2 cgroups, and the controllers are assigned to the v1 groups. Before I can use the "cpu" or

[systemd-devel] Allocating resource to achieve predictable run times

2019-06-17 Thread John Lane
I am trying to meet a requirement to have predictable execution of jobs. I'm asking here because I need to do this in a systemd environment, specifically a Fedora 26 server but this could get upgraded to a later version as part of any solution. Because this is a systemd server I would like to ac

Re: [systemd-devel] On every 'sysctl enable/disable' Systemd Reload is happening

2019-02-25 Thread Dimitri John Ledkov
On Mon, 25 Feb 2019 at 19:05, Mahesh Mylarappa wrote: > > Hi, > > I am working on Linux host which has old 219 systemd build. We are trying to > create/enable/start multiple service instances at same time. Basically we > create 15 to 20 unit files in /etc/systemd/system directory and call > 's

Re: [systemd-devel] GithHub / private repos

2019-01-27 Thread Dimitri John Ledkov
On Sat, 26 Jan 2019 at 12:43, Lennart Poettering wrote: > > On Di, 15.01.19 21:21, Alex Dzyoba ([email protected]) wrote: > > > When you create a new organization you can choose "Team For Open > > Source" plan. Here is the link > > https://github.com/account/organizations/new > > > > Though, I don't

Re: [systemd-devel] How to debug occasional hashmap corruption?

2018-11-06 Thread John Reiser
On 11/6/18 9:57 UTC, juice wrote: During the past half year I have seen systemd dump core three times due to what I suspect a hashmap corruption or race. Each time it looks a bit different and is triggered by different things but it somehow centers on hashmap operations. Three intermittent har

[systemd-devel] How to start a unit right after another unit terminates?

2018-07-16 Thread John Ioannidis
Assume I have a one-shot service, *phase1.service*, which runs for a while and then terminates. I want to have a *phase2.service* start up when phase1 terminates. I cannot change anything in phase1.service's systemd files or code or anything, or I would not be asking this question! A dirty workar

[systemd-devel] trying to hook into the luks crypt function in initramfs

2018-07-05 Thread Ratliff, John
I'd like to be able to unlock my luks encrypted drive (lvm - including the root partition) with a USB key, but if the USB key is not present, still ask for a passphrase. I'm not clear on how systemd does the unlock during boot, but it seems that Fedora 28 and CentOS/RHEL 7 both use systemd for

Re: [systemd-devel] How to set `InitRDTimestampMonotonic` from console?

2018-07-04 Thread Dimitri John Ledkov
Hi, On 4 July 2018 at 10:22, Lennart Poettering wrote: > On Mi, 04.07.18 07:24, Paul Menzel ([email protected]) > wrote: > >> Dear systemd folks, >> >> >> Debian uses a shell script as `/init` in initrd, and I like to extend that, >> to set the time stamps for the initrd execut

Re: [systemd-devel] [Install] section of symlinked unit file ignored if drop-in file is used

2018-05-28 Thread John Gallagher
I'm using v237, so that makes sense. Thanks for looking into this! -John On Sun, May 27, 2018 at 6:50 AM, 林自均 wrote: > Hi John, > > I can reproduced your problem on systemd v236 to v238, but not v235. I think > it's because from v236 to v238 contains the commit in > h

[systemd-devel] [Install] section of symlinked unit file ignored if drop-in file is used

2018-05-23 Thread John Gallagher
oo.service → /export/home/delphix/foo.service. The [Install] section of the unit file being ignored or respected based on the presence or absence of a drop-in file seems inconsistent to me, but I am fairly new to systemd, so I may be missing something. Is this behavior expected? Th

Re: [systemd-devel] logging to a fifo pipe

2018-05-19 Thread John Reiser
I need to log to the journal with custom tags from a service that only supports logging to syslog without any customization or logging to a file. On Linux if you know the ProcessID then use "/proc/$PID/fd/2" . -- ___ systemd-devel mailing list systemd

Re: [systemd-devel] how to make systemd ignore the memory cgroup controller and hierarchy

2018-05-10 Thread john terragon
, as I said, sometimes systemd seems to move processes from my memory cgroups. John ___ systemd-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] how to make systemd ignore the memory cgroup controller and hierarchy

2018-05-09 Thread john terragon
I get systemd to leave the memory controller and relative hierarchy alone? Thanks John ___ systemd-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] `Found ordering cycle on _SERVICE_` loops due to `local-fs.target` with `Requires` instead of `Wants` for mounts generated from `/etc/fstab`

2018-04-27 Thread John Florian
On 2018-04-27 03:56, Jérémy Rosen wrote: Ok, there are a couple of tools that have not be mentionned.. "systemd-analyze verify " will check all sorts of stuff on a service, including checking recursively the deps and finding ordering cycles systemctl list-dependencies can show ordering/req

Re: [systemd-devel] `Found ordering cycle on _SERVICE_` loops due to `local-fs.target` with `Requires` instead of `Wants` for mounts generated from `/etc/fstab`

2018-04-26 Thread John Florian
On 2018-04-26 16:04, John Florian wrote: On 2018-04-25 04:53, Lennart Poettering wrote: There have been requests in improving the cycle breaking algorithm, but not much has been done in this area, since it's not clear what can be done. Ultimately it's just polishing a broken situatio

Re: [systemd-devel] `Found ordering cycle on _SERVICE_` loops due to `local-fs.target` with `Requires` instead of `Wants` for mounts generated from `/etc/fstab`

2018-04-26 Thread John Florian
On 2018-04-25 04:53, Lennart Poettering wrote: There have been requests in improving the cycle breaking algorithm, but not much has been done in this area, since it's not clear what can be done. Ultimately it's just polishing a broken situation, and the better way out is to fix things properly, i

Re: [systemd-devel] Changed ordering of systemd-resolved.service

2018-04-16 Thread Dimitri John Ledkov
On 16 April 2018 at 18:20, Paul Menzel wrote: > Dear Dimitri, > > > On 04/16/18 18:51, Dimitri John Ledkov wrote: > >> On 16 April 2018 at 14:25, Paul Menzel wrote: > > >>> On 04/16/18 12:47, Dimitri John Ledkov wrote: >>>> >>>> >>

Re: [systemd-devel] Changed ordering of systemd-resolved.service

2018-04-16 Thread Dimitri John Ledkov
On 16 April 2018 at 14:25, Paul Menzel wrote: > Dear Dimitri, > > > Thank you for your quick response. > > > On 04/16/18 12:47, Dimitri John Ledkov wrote: >> >> On 13 April 2018 at 16:40, Paul Menzel wrote: > > >>> In commit 1f158013 (resolved.servi

Re: [systemd-devel] Changed ordering of systemd-resolved.service

2018-04-16 Thread Dimitri John Ledkov
On 13 April 2018 at 16:40, Paul Menzel wrote: > Dear Dimitri, dear systemd folks, > > > In commit 1f158013 (resolved.service: set DefaultDependencies=no) the > ordering of systemd-resolved.service was changed. (How do I find the merge > request to find possible discussion? Also the commit message

[systemd-devel] How to change XDG_RUNTIME_DIR permissions

2018-04-09 Thread john terragon
with which  $XDG_RUNTIME_DIR should be created? Thanks John. ___ systemd-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] systemd-networkd-wait-online should know if there is anything to wait for

2018-03-28 Thread Dimitri John Ledkov
On 27 March 2018 at 10:22, Colin Guthrie wrote: > Dimitri John Ledkov wrote on 26/03/18 11:34: >> Hello, >> >> When systemd-networkd-wait-online was originally introduced, it was >> the only tool that correctly waited and blocked the boot, until after >> networkin

[systemd-devel] systemd-networkd-wait-online should know if there is anything to wait for

2018-03-26 Thread Dimitri John Ledkov
Hello, When systemd-networkd-wait-online was originally introduced, it was the only tool that correctly waited and blocked the boot, until after networking is configured. These days, however, all/most network configurations tools ship appropriate wait-online integration. E.g. there is network-man

Re: [systemd-devel] About supporting relative values (e.g. 50%) in configuration

2018-03-22 Thread John Florian
On 2018-03-09 03:13, Zbigniew Jędrzejewski-Szmek wrote: On Thu, Mar 08, 2018 at 03:48:54PM +0800, ChenQi wrote: Hi All, I'd like to know if systemd community thinks that adding support for relative values in configuration is a good idea. I found a related patch and discussion in https://lists

Re: [systemd-devel] How do I create/destroy instances dynamically when config files appear/disappear?

2018-03-20 Thread John Ioannidis
On Tue, Mar 20, 2018 at 8:47 AM, Andrei Borzenkov wrote: > On Tue, Mar 20, 2018 at 12:52 AM, John Ioannidis > wrote: > > > > I can get them to start the first time, but they do not stop when > > configuration files change. If I systemctl daemon-reload, the links in

[systemd-devel] RFE: diagnose when selinux context is not init_t

2018-03-20 Thread John Reiser
Hi, If systemd is running as the init process on a system that uses selinux, then mysterious bad things are likely to happen if the selinux context is not init_t. For instance: https://bugzilla.redhat.com/show_bug.cgi?id=1520580#c13 So, I'd like to see systemd diagnose this situation. Pleas

Re: [systemd-devel] How do I create/destroy instances dynamically when config files appear/disappear?

2018-03-19 Thread John Ioannidis
On Mon, Mar 19, 2018 at 5:52 PM, John Ioannidis wrote: > I want to have a service with several instances, each of which has a > configuration file; when configuration files appear and disappear, I want > the corresponding instances to be created and started, and die, > respecti

[systemd-devel] How do I create/destroy instances dynamically when config files appear/disappear?

2018-03-19 Thread John Ioannidis
I want to have a service with several instances, each of which has a configuration file; when configuration files appear and disappear, I want the corresponding instances to be created and started, and die, respectively, and in particular have the running processes corresponding to the removed unit

[systemd-devel] networkd dhcp client - serialize / run stand alone / inject or restart dhcp client

2018-03-09 Thread Dimitri John Ledkov
I have a request to start/stop/restart the dhcp lease client, and/or run networkd dhcp client stand alone, or somehow serialize dhcpclient lease and inject that for networkd-dhcp to pick that up and restart. For example, Ubuntu initramfs currently does not have networkd in it, but it can bring int

Re: [systemd-devel] unit symlinks ignored (archlinux mkinitcpio)

2017-09-05 Thread John Lane
Archlinux uses a 'mkinitcpio' script to create the initramfs image file. This copies files into a working directory which it then archives. The problem with this is that files which were symlinks are not in the copy. If the initramfs uses systemd then this is a potential problem. This isn't a sys

Re: [systemd-devel] unit symlinks ignored

2017-09-05 Thread John Lane
On 05/09/17 17:23, John Lane wrote: > Having checked the journal, I see complaints of the form: > > systemd[1]: cryptsetup.target: Wants dependency dropin > /etc/systemd/system/cryptsetup.target.wants/[email protected] is > not a symlink, ignoring. > > However it

[systemd-devel] unit symlinks ignored

2017-09-05 Thread John Lane
I recently upgraded a box which caused systemd to update from 232 to 234. Now it drops into an emergency shell and won't boot without my help. Having checked the journal, I see complaints of the form: systemd[1]: cryptsetup.target: Wants dependency dropin /etc/systemd/system/cryptsetup.target.wan

Re: [systemd-devel] Samba

2017-05-24 Thread John Winward
Ok thanks *From:* Mantas Mikulėnas [mailto:[email protected]] *Sent:* 24 May 2017 08:25 *To:* John Winward *Cc:* Systemd *Subject:* Re: [systemd-devel] Samba On Wed, May 24, 2017 at 10:21 AM, John Winward wrote: Morning I have just installed a CentOS 7 system and I hace install many

[systemd-devel] Samba

2017-05-24 Thread John Winward
May 24 08:17:15 d3server.scolaquip.co.uk systemd[1]: smb.service failed. Hint: Some lines were ellipsized, use -l to show in full. [root@d3server ~]£ *Regards,* *John Winward* *[image: Description: Description: Description: LogoEmail]* *Tel.: 01638 751172* *Mob : 07887 944855* *P*

[systemd-devel] Retaining boot messages on (near-)stateless systems

2017-05-11 Thread John Florian
I maintain a derivative of Fedora Live (built using lorax) that gets deployed on hundreds of systems, far more than my team has the man- power to keep a watchful eye. Occasionally we are notified of a problematic node and often it would be helpful to see the full journal for say, the first 15 minu

[systemd-devel] systemd integration

2017-04-22 Thread John Doe
Free and Open-Source (FOSS) operating systems without systemd http://without-systemd.org/wiki/index.php/Main_Page ___ systemd-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] How do I easily resolve conflicting jobs in custom units?

2017-03-30 Thread John Florian
On Thu, 2017-03-30 at 16:04 +0200, Lennart Poettering wrote: > On Thu, 30.03.17 09:53, John Florian ([email protected]) wrote: > > > On Thu, 2017-03-30 at 15:32 +0200, Lennart Poettering wrote: > > > On Wed, 22.03.17 16:47, John Florian ([email protected]) wrote: > >

Re: [systemd-devel] How do I easily resolve conflicting jobs in custom units?

2017-03-30 Thread John Florian
On Thu, 2017-03-30 at 15:32 +0200, Lennart Poettering wrote: > On Wed, 22.03.17 16:47, John Florian ([email protected]) wrote: > > > Mar 22 16:11:42 localhost systemd[1]: sshd.service: Looking at job > > sshd.service/start conflicted_by=no > > Mar 22 16:11:42 localhost

Re: [systemd-devel] How do I easily resolve conflicting jobs in custom units?

2017-03-23 Thread John Florian
On Thu, 2017-03-23 at 06:38 +0300, Andrei Borzenkov wrote: > 22.03.2017 23:47, John Florian пишет: > > I build an mostly-stateless appliance OS derived from Fedora (25 > > ATM) > > and have several custom units to make it all possible.  My units > > had > > w

[systemd-devel] How do I easily resolve conflicting jobs in custom units?

2017-03-22 Thread John Florian
I build an mostly-stateless appliance OS derived from Fedora (25 ATM) and have several custom units to make it all possible.  My units had worked great with F21, but are now giving me problems with F25.  One pair of the custom units do some trickery to relocate sshd host keys from /etc/ssh to an al

[systemd-devel] Renew DHCP lease

2017-02-10 Thread John Lane
I've just switched a server to systemd-networkd dhcp client. How do I renew a lease and/or force it to push a new hostname to the dhcp server. I have RTFM and get the impression it can't be done. Hopefully I have that wrong... Thanks and much appreciated. ___

Re: [systemd-devel] Emulate two cron tab entries to start/stop service unit natively?

2016-08-02 Thread John
> > From: Kai Krakow >To: [email protected] >Sent: Tuesday, August 2, 2016 6:38 AM >Subject: Re: [systemd-devel] Emulate two cron tab entries to start/stop >service unit natively? > > >Am Mon, 1 Aug 2016 23:59:1

[systemd-devel] Emulate two cron tab entries to start/stop service unit natively?

2016-08-01 Thread John
Is it possible to use a systemd timer unit to start and stop a service unit according to set times of the day? In my case, openvpn.service is a forking type if that matters. I can do this using cron, but am wondering if/how to do it with systemd natively. In cron terms, one could do this like

Re: [systemd-devel] Input on a systemd service for kodi and strangeness with permissions on /dev/null (systemd 229)

2016-03-29 Thread John
> From: Mantas Mikulėnas >To: John >Cc: Systemd >Sent: Tuesday, March 29, 2016 1:22 AM >Subject: Re: [systemd-devel] Input on a systemd service for kodi and >strangeness with permissions on /dev/null (systemd 229) > >Those actually look like typical permissions that

[systemd-devel] Input on a systemd service for kodi and strangeness with permissions on /dev/null (systemd 229)

2016-03-28 Thread John
I am trying to write a service that will start and stop kodi[1] on Linux. The best working draft I have so far is here[2] but it does not end in a clean state if I `systemctl stop kodi` so I am looking for a good way to use an ExecStop= statement or perhaps even rewrite the service entirely. A

Re: [systemd-devel] How to prevent an initramfs service from being stopped at switch-root ?

2016-01-11 Thread John Lane
On 11/01/16 16:44, Lennart Poettering wrote: > On Mon, 11.01.16 13:38, John Lane ([email protected]) wrote: > >> On 11/01/16 13:09, Tomasz Torcz wrote: >>> On Mon, Jan 11, 2016 at 12:39:10PM +, John Lane wrote: >>>> I have some services in my initramfs t

Re: [systemd-devel] How to prevent an initramfs service from being stopped at switch-root ?

2016-01-11 Thread John Lane
On 11/01/16 13:09, Tomasz Torcz wrote: > On Mon, Jan 11, 2016 at 12:39:10PM +0000, John Lane wrote: >> I have some services in my initramfs that unlock some crypto volumes to >> make the root and some other filesystems available. > This seems relevant: > https://wiki.freedes

[systemd-devel] How to prevent an initramfs service from being stopped at switch-root ?

2016-01-11 Thread John Lane
I have some services in my initramfs that unlock some crypto volumes to make the root and some other filesystems available. Looking at the journal, I can see that the initramfs (at switch-root time) tries to kill these services but this fails because the filesystems are mounted by this point. I wo

[systemd-devel] libudev monitor sporadic fail

2015-11-30 Thread John Ernberg
ironment. Thank you very much in advance and best regards // John Ernberg ___ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Keeping track of usage time

2015-11-03 Thread Dimitri John Ledkov
On 3 November 2015 at 06:27, Umut Tezduyar Lindskog wrote: > journalctl --list-boots seems great actually but wouldn't work for us. > We cannot keep lots of logs in our products. > You shouldn't need to keep lots of logs, just a timer unit that would query and store/transmit the bootids/deltas (p

Re: [systemd-devel] Keeping track of usage time

2015-11-02 Thread Dimitri John Ledkov
On 2 November 2015 at 14:46, Umut Tezduyar Lindskog wrote: > Hi, > > We would like to implement a feature to keep track of accumulated > values of uptimes in our products. Tracked time will give us the total > usage time of our product not just since last reboot (/proc/uptime). > > Is upstream int

Re: [systemd-devel] kernel and systemd boot sequence

2015-10-30 Thread Dimitri John Ledkov
Systemd is the init. /etc/fstab is optional. initramfs could be running systemd (e.g. dracut supports it), thus systemd would be beofre switch_root. However initramfs & switch_root are optional as well. Hence the bootflow on a modern linux distribution like Clear Linux is: kernel -> systemd ->

Re: [systemd-devel] Help writing a user service file that will exec a command upon system sleep

2015-10-29 Thread John
- Original Message - > From: Simon McVittie > To: [email protected] > Cc: > Sent: Thursday, October 29, 2015 3:27 PM > Subject: Re: [systemd-devel] Help writing a user service file that will exec > a command upon system sleep > > On 29

  1   2   3   4   >