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

2020-09-04 Thread Andrei Borzenkov
05.09.2020 01:05, Lennart Poettering пишет: > > I explained this already. DNS server data today is much less config > than state, acquired dynamically via DHCP, hence most distros don#t > configure it in /etc so much anymore, but manage it in /run (where > transient state is generally kept), and o

[systemd-devel] non-existent unit instances

2020-09-04 Thread Richard Hector
Hi all, Quoting from another thread: On 5/09/20 4:36 am, Lennart Poettering wrote: > Unit instances can be activated on-the-fly without further prepartion > or regsitration of the instance string or so. it's sufficient if the > template unit exists. Is that preventable? I have some instance nam

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

2020-09-04 Thread Vito Caputo
Could you please stop signing mails sent to this publicly accessible, archived, and indexed/searchable mailing list with this impossible boilerplate: > IMPORTANT: The contents of this email and any attachments are confidential. > They are intended for the named recipient(s) only. If you have recei

Re: [systemd-devel] systemd-homed: can't activate home

2020-09-04 Thread Lennart Poettering
On So, 30.08.20 12:23, Ehud Cseresnyes (e...@posteo.de) wrote: > Hey everyone, > > I'm running into issues regarding systemd-homed. I couldn't find an > answer in the manuals, any forums and nobody could help me in #systemd > either, which is why I turned to this list. > > Basically, I have a vali

Re: [systemd-devel] [Help] Can't log in to homed user account: "No space left on device"

2020-09-04 Thread Lennart Poettering
On Mo, 24.08.20 01:24, Chris Murphy (li...@colorremedies.com) wrote: > User reports this from 'homectl inspect' > > LUKS Discard: online=no offline=yes > > Does this mean 'fstrim' is issued before luksClose? And 'fallocate' is > issued before luksOpen? Yes. Lennart -- Lennart Poettering, Berlin

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

2020-09-04 Thread Shravan Singh
"is automatically acquire and automatically released and automatically manage" And this is just what a timezone. "I think this discussion kinda lost its usefulness, I am just repeating myself" Ohh I knew that you narcissist Regards, Shravan Singh (239) 243-0838 Blue Sparq, Inc. 928 NE 24th Lane

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

2020-09-04 Thread Lennart Poettering
On Fr, 04.09.20 18:16, Shravan Singh (shra...@bluesparq.com) wrote: > What constitutes a configuration? > And please read my email subject. I can't have writable /etc, mender > dosen't allow that. Well, then that's sad, and something to bring up with mender? if they do not allow local config, the

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

2020-09-04 Thread Shravan Singh
And this is a major problem for any one running raspberry pi, NXP or any other embedded processor that uses mender and embedded linux. A machine with embedded linux running on it goes to San Francisco and then transported to Chicago. And you are saying that we shouldn't be allowed to change the tim

Re: [systemd-devel] Why systemd keeps references on passed sockets ?

2020-09-04 Thread Lennart Poettering
On Fr, 04.09.20 21:53, Francis Moreau (francis.m...@gmail.com) wrote: > Hi, > > I have a service which is activated by a socket unit. When systemd > passes the (netlink) socket to my service it seems that it still keeps > a reference on the socket, at least ss(8) showed this. > > Is this expected

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

2020-09-04 Thread Shravan Singh
What constitutes a configuration? And please read my email subject. I can't have writable /etc, mender dosen't allow that. In today's mobile computing age you really think users shouldn't change timezone? You keep saying " I for one am certainly not convinced that the timezones" but you don't expl

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

2020-09-04 Thread Lennart Poettering
On Fr, 04.09.20 21:41, Dave Howorth (syst...@howorth.org.uk) wrote: > 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

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

2020-09-04 Thread Lennart Poettering
On Fr, 04.09.20 21:51, Dave Howorth (syst...@howorth.org.uk) wrote: > 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 rejec

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

2020-09-04 Thread Shravan Singh
This is the link: https://github.com/systemd/systemd/pull/8277 Regards, Shravan Singh (239) 243-0838 Blue Sparq, Inc. 928 NE 24th Lane unit 4 and 5. Cape Coral, FL 33993 IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) on

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

2020-09-04 Thread Lennart Poettering
On Fr, 04.09.20 15:54, Shravan Singh (shra...@bluesparq.com) wrote: > Yes, But help me understand. > I think you said that you are not convinced as to why that has to done. > > My argument is very simple shouldn't a Linux environment allow change in > timezone easily? Oh we do. But if your want c

Re: [systemd-devel] Journal message timestamps

2020-09-04 Thread Lennart Poettering
On Fr, 04.09.20 22:02, Dave Howorth (syst...@howorth.org.uk) wrote: > > (btw, systemd-timesyncd does what fake-hwclock does automatically, and > > also does SNTP. it should be fine for most usecases, no need to resort > > to fake-hwclock) > > > > Lennart > > This is a serious problem for anybody r

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 about

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 * > > T

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 suppose

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

2020-09-04 Thread Shravan Singh
Yes, But help me understand. I think you said that you are not convinced as to why that has to done. My argument is very simple shouldn't a Linux environment allow change in timezone easily? Now I am not an expert in Linux kernel development. But I see that some of the files, even though they resi

[systemd-devel] Why systemd keeps references on passed sockets ?

2020-09-04 Thread Francis Moreau
Hi, I have a service which is activated by a socket unit. When systemd passes the (netlink) socket to my service it seems that it still keeps a reference on the socket, at least ss(8) showed this. Is this expected ? If yes can this be prevented ? I'm asking because my service may not need the so

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

2020-09-04 Thread Lennart Poettering
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 * The explanation is in the PR comments. Lennart -- Lennart Poettering, Berlin _

Re: [systemd-devel] Conflicts on service template

2020-09-04 Thread Andy Pieters
On Fri, 4 Sep 2020, 4:15 pm Lennart Poettering, wrote: > On Mo, 17.08.20 16:49, Andy Pieters (syst...@andypieters.me.uk) wrote: > > > Hi > > > > Is it possible (and if so, how?) to define a conflict on any other > instance > > of a template unit? > > no. this is not available. > -- > Lennart Poet

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

2020-09-04 Thread Shravan Singh
Hello Lennart, Can you help me in understanding why this push was rejected? *Make timedatectl nicely work with read-only filesystems #8277 * If there is some major issue. I would like to take this opportunity to make it right and submit it again Regards, Shravan Singh (239) 243-0838 Blue Sparq,

Re: [systemd-devel] [Help] Can't log in to homed user account: "No space left on device"

2020-09-04 Thread Lennart Poettering
On So, 23.08.20 06:34, Andrii Zymohliad (azymohl...@protonmail.com) wrote: > Thanks for taking time to read this far! Is there anything obvious > here that I can do to fix it? Or any hints where to look? So as you figured out by now this is due to homed's "discard" handling. At logout we'll disca

[systemd-devel] Online documentation doesn't show versions where a certain feature was introduced

2020-09-04 Thread Böszörményi Zoltán
Hi, while I appreciate the extensive online documentation of systemd, it can be further improved since not everyone uses the latest-and-greatest version. I recently found a newly documented feature called ExecCondition= which would have been nice to use a couple of times if I knew about it. To m

Re: [systemd-devel] User/Group overrides in a templated service triggered via timer

2020-09-04 Thread Lennart Poettering
On Mo, 31.08.20 16:50, Konstantin Ryabitsev (konstan...@linuxfoundation.org) wrote: > On Mon, Aug 31, 2020 at 04:49:32PM -0400, Kevin P. Fleming wrote: > > Yes, to get the instance-named symlink created. This is not necessary. Unit instances can be activated on-the-fly without further prepartio

Re: [systemd-devel] User/Group overrides in a templated service triggered via timer

2020-09-04 Thread Lennart Poettering
On Mo, 31.08.20 16:36, Konstantin Ryabitsev (konstan...@linuxfoundation.org) wrote: > On Mon, Aug 31, 2020 at 04:20:13PM -0400, Kevin P. Fleming wrote: > > Did you also create an instance of the timer with the same instance > > suffix? I've got a configuration working like that and it works fine.

Re: [systemd-devel] User/Group overrides in a templated service triggered via timer

2020-09-04 Thread Lennart Poettering
On Mo, 31.08.20 17:18, Konstantin Ryabitsev (konstan...@linuxfoundation.org) wrote: > On Mon, Aug 31, 2020 at 04:20:13PM -0400, Kevin P. Fleming wrote: > > Did you also create an instance of the timer with the same instance > > suffix? I've got a configuration working like that and it works fine.

Re: [systemd-devel] User/Group overrides in a templated service triggered via timer

2020-09-04 Thread Lennart Poettering
On Mo, 31.08.20 14:19, Konstantin Ryabitsev (konstan...@linuxfoundation.org) wrote: > However, it doesn't appear to be working for a service triggered via a > timer -- the process still runs as mirror/mirror. Activation for services is exactly the same regardless how the activation is triggred.

Re: [systemd-devel] Antw: [EXT] Journal message timestamps

2020-09-04 Thread Lennart Poettering
On Fr, 28.08.20 14:34, Mark Corbin (m...@dibsco.co.uk) wrote: > For example, when /run/log/journal/d197a2e910964a7f9a0de6462d0d7c62/ > contains just 'system.journal' which has all log messages from: > > 'kernel: Booting Linux on physical CPU 0x0' > up to and including: > 'fake-hwclock[827]: Fri Au

Re: [systemd-devel] systemd-userdbd and other stuff running all the time

2020-09-04 Thread Reindl Harald
Am 04.09.20 um 17:52 schrieb Reindl Harald: > Am 04.09.20 um 17:37 schrieb Lennart Poettering: >> userdbd is activated on demand and exit-on-idle btw. it exits after >> 25s of no client making any request. if you have it running this means >> stuff is using it. well, tell why it is still running

Re: [systemd-devel] Antw: [EXT] Re: Journal message timestamps

2020-09-04 Thread Lennart Poettering
On Fr, 28.08.20 10:20, Ulrich Windl (ulrich.wi...@rz.uni-regensburg.de) wrote: > The code in the kernel relies on feeding the random pool probably before > getting the first UUID (but obviously too late for boot_id): The boot ID code is in the kernel. It knows better than userspace when the entro

Re: [systemd-devel] Journal message timestamps

2020-09-04 Thread Lennart Poettering
On Fr, 28.08.20 10:54, Pekka Paalanen (ppaala...@gmail.com) wrote: > On Thu, 27 Aug 2020 11:33:04 +0100 > Mark Corbin 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 > > abou

Re: [systemd-devel] Journal message timestamps

2020-09-04 Thread Lennart Poettering
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 about how > journald assigns timestamps to log messages. > > When I boot my system

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

2020-09-04 Thread Reindl Harald
Am 04.09.20 um 17:44 schrieb Lennart Poettering: > 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 >>> supposed to do better

Re: [systemd-devel] systemd-userdbd and other stuff running all the time

2020-09-04 Thread Reindl Harald
Am 04.09.20 um 17:37 schrieb Lennart Poettering: > On Mo, 24.08.20 13:40, Reindl Harald (h.rei...@thelounge.net) wrote: > >> is taht growing amount of services running on all systems really >> necessary and why are things like "repart.service" and "homed.service" >> are started "static" which ma

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

2020-09-04 Thread Lennart Poettering
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 > > supposed to do better than grub. > > well, a boot loader should just *load* an

Re: [systemd-devel] Antw: [EXT] Re: Need help with setting up systemd for Apache on Debian 10

2020-09-04 Thread Lennart Poettering
On Di, 25.08.20 07:43, Ulrich Windl (ulrich.wi...@rz.uni-regensburg.de) wrote: > Hi! > > The next challenge with systemd would be this: Have a password-protected > server key, needing to ask for the password when starting... Friendly distros set this up for you out-of-the-box. For example Fedora

Re: [systemd-devel] systemd-userdbd and other stuff running all the time

2020-09-04 Thread Lennart Poettering
On Mo, 24.08.20 13:40, Reindl Harald (h.rei...@thelounge.net) wrote: > is taht growing amount of services running on all systems really > necessary and why are things like "repart.service" and "homed.service" > are started "static" which makes the concept of enable/disable things > more and more o

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

2020-09-04 Thread Lennart Poettering
On Do, 20.08.20 14:22, Shravan Singh (shra...@bluesparq.com) wrote: > But no one is telling how to resolve my issue with a read-only > rootfs. There's no concept for having some files in /etc writable and others not. And you cannot use symlinking for this, nor bind mounts, since config files in /

Re: [systemd-devel] systemd-networkd router advertisement handling

2020-09-04 Thread Lennart Poettering
On Fr, 14.08.20 13:56, Marc Lasch (mla...@mailbox.org) wrote: > Hello, > > I recently stumbled across the following section in the systemd-networkd > documentation for IPv6AcceptRA=: > > "Note that kernel's implementation of the IPv6 RA protocol is always > disabled, regardless of this setting. [.

Re: [systemd-devel] Conflicts on service template

2020-09-04 Thread Lennart Poettering
On Mo, 17.08.20 16:49, Andy Pieters (syst...@andypieters.me.uk) wrote: > Hi > > Is it possible (and if so, how?) to define a conflict on any other instance > of a template unit? no. this is not available. We have no wildcard deps. Thing is that units can come and go dynamically, hence implementi

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

2020-09-04 Thread Reindl Harald
Am 04.09.20 um 16:58 schrieb Lennart Poettering: > On Mo, 22.06.20 16:01, Reindl Harald (h.rei...@thelounge.net) wrote: > >> what is the best way to get a Fedora using legacy-boot to UEFI and at >> the same time switch from grub2 to systemd-boot? >> >> * how to get in installed from a live-iso

Re: [systemd-devel] Antw: [EXT] Re: Odd status after core dump

2020-09-04 Thread Lennart Poettering
On Mo, 03.08.20 08:32, Ulrich Windl (ulrich.wi...@rz.uni-regensburg.de) wrote: > OK, some additional notes (maybe these issues are fixed in a newer version > already): > Looking in my /var/log/messages, I see higher resolution of time stamps, and > specifically I see the original core-dump message

Re: [systemd-devel] GNOME boot-complete.target integration ?

2020-09-04 Thread Lennart Poettering
On Di, 14.07.20 15:15, Hans de Goede (hdego...@redhat.com) wrote: > But then how would gdm re-mark as bad when starting to login the user and > how would the user-session mark things as good, in a way that does not > require root rights ? PolicyKit helper invoked via pkexec or so? Lennart -- Le

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

2020-09-04 Thread Lennart Poettering
On Mo, 22.06.20 16:01, Reindl Harald (h.rei...@thelounge.net) wrote: > what is the best way to get a Fedora using legacy-boot to UEFI and at > the same time switch from grub2 to systemd-boot? > > * how to get in installed from a live-iso to > the existing setup on disk > * how to get the config

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

2020-09-04 Thread Lennart Poettering
On Mo, 22.06.20 18:21, Mantas Mikulėnas (graw...@gmail.com) wrote: > > can /boot holding the kernel itself still be a Linux RAID1 or classical > > ext4 partition or is it required that the kernel and initrd live on the > > EFI partition too? > > For systemd-boot, the kernel is required to be on th

Re: [systemd-devel] Logind: how to access a device when you're not the session controller

2020-09-04 Thread Lennart Poettering
On Di, 26.05.20 16:55, Pekka Paalanen (ppaala...@gmail.com) wrote: > Hi, > > I'm looking at letting Weston's 'meson test' run DRM-backend tests > automatically and without the need of root privileges. I have a spare > DRM device in my machine that is dedicated for this purpose, so I make > my norm

Re: [systemd-devel] Shut down system after all sshd instances terminate

2020-09-04 Thread Lennart Poettering
On So, 23.08.20 14:47, Daan De Meyer (daan.j.deme...@gmail.com) wrote: > Hi, > > After following > http://0pointer.de/blog/projects/socket-activated-containers.html > which details how to set up a socket activated container, I'm looking > into ways to have the container automatically shut down whe

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

2020-09-04 Thread Lennart Poettering
On Di, 19.05.20 11:30, Arian Van Putten (ar...@wire.com) wrote: > Hey list, Sorry for the late response, this somehow managed to escape me. > systemd-timesyncd has an Alias=dbus-org.freedesktop.timesync1.service and > an accompanying dbus service file too. > > It is started in early boot; `Befo