Re: [systemd-devel] Unable to boot Linux distribution ISO files that have systemd services

2021-09-02 Thread Lennart Poettering
issue, i.e. the upper part of the screen shows kernel debug output that happens on kernel oops. i.e. it's a driver issue, and systemd hangs simply because the kernel hangs/crashed. Please work with your distro, they might be able to help. Kernel/driver issues like this are out of scope for systemd t

Re: [systemd-devel] Using LoadCredential for passing API key to s3 bucket mount unit

2021-09-02 Thread Lennart Poettering
do in mout mount.fuse.s3fs wrapper script really, PID 1 won't do that for you. Lennart -- Lennart Poettering, Berlin

Re: [systemd-devel] Use of systemd-cat

2021-08-31 Thread Lennart Poettering
things that logs its log output to stdout/stderr which you want to invoke from the shell, but still have the logs go to the journal: myscript | systemd-cat Lennart -- Lennart Poettering, Berlin

Re: [systemd-devel] why log_set_prohibit_ipc() is set in journald

2021-08-27 Thread Lennart Poettering
log messages to go kmsg, except for a bunch where we know for sure they aren#t immediate effect of an attempt to write a log message, and thus won't result in a cycle. Lennart -- Lennart Poettering, Berlin

Re: [systemd-devel] why log_set_prohibit_ipc() is set in journald

2021-08-27 Thread Lennart Poettering
; space or something like that), then it can't really *rely* on journal still > working... > > Afaik, messages written to kmsg will be imported back into the journal > anyway, but that happens asynchronously so it's fine. The above describes exactly how it is, and why journald turns of logging via IPC. journald should not be a client to itself. Lennart -- Lennart Poettering, Berlin

Re: [systemd-devel] How does journald talks to other services?

2021-08-24 Thread Lennart Poettering
t pick up messages from another syslog service, only from syslog clients. Thus, there is no loop. Lennart -- Lennart Poettering, Berlin

Re: [systemd-devel] How does journald talks to other services?

2021-08-20 Thread Lennart Poettering
ways how log messages are delivered to journald. Lennart -- Lennart Poettering, Berlin

Re: [systemd-devel] [hostnamed] Why the service will automatically exit after 30 seconds

2021-08-19 Thread Lennart Poettering
as > dropped off the bus and is never going to return a response? If that were > possible we could possibly rely on that rather than an explicit timeout. I > think the answer to this question might be "no" though... it detects that out-of-the-box. Lennart -- Lennart Poettering, Berlin

Re: [systemd-devel] Upgraded multiple systems to systemd 249.3 and all had eth1 not started / configured

2021-08-16 Thread Lennart Poettering
On Mo, 16.08.21 17:31, Amish (anon.am...@gmail.com) wrote: > > On 16/08/21 5:25 pm, Lennart Poettering wrote: > > On Mo, 16.08.21 16:09, Amish (anon.am...@gmail.com) wrote: > > > > > Some old scripts that we have expect interface names starting with eth.

Re: [systemd-devel] Upgraded multiple systems to systemd 249.3 and all had eth1 not started / configured

2021-08-16 Thread Lennart Poettering
piface | sed s/tmpeth/eth/)"; done > > This ensures that I have predictable names starting with eth*. And it is > working fine from 2-3 years. Even with current issue, name assignment is > working fine. This cannot work and is necesarily race. Stay out of the ethXYZ namespace, that's the kernel's namespace. Pick any other names, i.e. "foobar0", "foobar1", but otherwise you just have a racy racy mess, because the kernel might take the name whenever it pleases. Lennart -- Lennart Poettering, Berlin

Re: [systemd-devel] --luks-offline-discard option has no effect on systemd-homed

2021-07-28 Thread Lennart Poettering
minified on logout. But in my case it's not > at all. Here is my executed command and output. I thought I had fixed that issue. Which systemd version is this? Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.

Re: [systemd-devel] Do Systemd service have limitation w.r.t IPC on forked process

2021-07-28 Thread Lennart Poettering
logs should explain why. "systemd-analyze log-level debug" is the command to do that during runtime. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Problem : service ( systemd )

2021-07-28 Thread Lennart Poettering
ill implicitly then do a "systemctl daemon-reload" for you, too. You can also do that part manually, maybe after you actually removed the unit files from disk. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-d

Re: [systemd-devel] Changing the Priority Level of Journald during Runtime

2021-07-28 Thread Lennart Poettering
e? It's not available right now. Please file an RFE issue on github so that we can look into it. Or provide a patch that adds it. We nowadays have the Varlink IPC API in journald, it should be pretty straight-forward adding this logic there. Lennart -- Lennart Poettering, Berlin

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

2021-07-27 Thread Lennart Poettering
ur support for C++ goes. I have no experience with C++ exceptions and C stack frames. We have no explicit support for any of it, so they are handled like in any program where C++ is called from C contexts, and I figure there will be plenty docs about that. Lennart --

Re: [systemd-devel] Failing UnitTest for Journald

2021-07-06 Thread Lennart Poettering
shot down any attempt to optionally attach more metadata to AF_UNIX datagrams (if we had just the cgroup this would already make things *so* much better for us). Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freede

Re: [systemd-devel] Are there any circumstances under which we would *expect* init.scope to not exist?

2021-07-01 Thread Lennart Poettering
v1 and cgroupvs2 when we added it, even though not strictly necessary on the former, to minimize behavioural differences. maybe your old systemd is just +that* old? Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list sy

Re: [systemd-devel] minimum space needed for reload/reexec

2021-07-01 Thread Lennart Poettering
. This would mean we'd scale the safety net by the amount of physical memory in the system. i.e. 2% of physical RAM, but 16M at most. This should then cover your case too? i.e. enforce a lower limit on smaller systems, and the existing 16M limit

Re: [systemd-devel] Fast respawning jobs

2021-06-25 Thread Lennart Poettering
don't? You configured your unit to prohibit that via the start limits you defined. If you want to allow quick, repeated starts then raise the limit. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Fast respawning jobs

2021-06-25 Thread Lennart Poettering
after 1 Seconds with resultcode 0). Raise the start limit? Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Alias for SMTP providers [ie. mutually exclusive service alternatives]

2021-06-16 Thread Lennart Poettering
is, but your distro might add that. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Running systemd unprivileged in Docker container

2021-06-14 Thread Lennart Poettering
person. Ideally this would be the default setup of Docker, but well, apparently it isn't. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Alais for SMTP providers

2021-06-14 Thread Lennart Poettering
We have no such target upstream, and I am not sure we should add that. Maybe your downstream distro has that though. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] systemd.socket man pages update suggestion

2021-06-14 Thread Lennart Poettering
1 the SELinux context is not computed. Text like > this would have saved a lot of head scratching and code reading :( We should probably make this work for any service that is instantiated with a single fd. Can you file a bug on github asking for this? Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Are Pathnames in /tmp/systemd-private-foo predictable?

2021-06-14 Thread Lennart Poettering
collision attacks. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Discrepancy in using dhclient b/w ubuntu 20.04 and ubuntu 16.04

2021-06-08 Thread Lennart Poettering
gt; container and start dhclient at your own from a trivial systemd-unit? Reindl, I warned you very explicitly not to behave like this: https://lists.freedesktop.org/archives/systemd-devel/2021-February/046028.html You ignored that now. You are now blocked on this mail

Re: [systemd-devel] systemd-nspawn with filesystem id mapping

2021-06-08 Thread Lennart Poettering
heading in the wrong direction? Let's follow up on the PR, it's the better place to development discussions on specific bugs or problems. I replied on it the other day. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] rg...@outlook.com

2021-06-07 Thread Lennart Poettering
s very old. You might want to switch to a newer OS for this anyway. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] rg...@outlook.com

2021-06-07 Thread Lennart Poettering
tate and is stuck forever. In the mail I have attached > a minimalistic reproduction of the issue seen. Are you running systemd inside of a Docker container on Ubuntu 16.04? Docker isn't really up to that. In particular not 5y old versions of it. Lennart -

Re: [systemd-devel] DHCP6 client failing when /etc is mounted as overlayfs

2021-06-02 Thread Lennart Poettering
ld follow the documented behaviour of machine-id, because if you don't then things will break all over the place. Please see machine-id(5) for details about the file. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@li

Re: [systemd-devel] luks - a particular device systemd treats differently?

2021-06-02 Thread Lennart Poettering
rovide the full logs off that unit. "journalctl -u ". Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] what's the order in which systemd .device units are created ?

2021-06-02 Thread Lennart Poettering
this might delay delivery of the events to PID 1. However, there's certainly some relationship here: if certain devices are the ones we start processing first thy are likely also the devices where we finish processing them first, even if there's no strict guarantee for that. Lennart -- Lennart Poetter

Re: [systemd-devel] luks - a particular device systemd treats differently?

2021-06-01 Thread Lennart Poettering
e does not see, mark that one device as "failed" > and I have no idea why systemd would do that for that one device. > Would somebody care to share so ideas? I am not sure I properly grok what you are trying to say, but: did you check the logs? Lennart -- Lennart Poettering, B

Re: [systemd-devel] Adding USB ID to hwdb/usb.ids

2021-06-01 Thread Lennart Poettering
elf din't reveal anything? Anyway, please consider submitting the addition as a PR if it's indeed unlikely linux-usb.org comes back as a maintainer for this. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.fr

Re: [systemd-devel] syntax checker

2021-06-01 Thread Lennart Poettering
x checker tool" to > generate a summary of the overhead, errors, dependencies > etc., before running the daemon into the new configuration > setting... "systemd-analyze verify" Lennart -- Lennart Poettering, Berlin ___ systemd-devel

Re: [systemd-devel] Antw: [EXT] Re: What causes "systemd-journald[3256]: Missed 127 kernel messages"

2021-06-01 Thread Lennart Poettering
On Di, 01.06.21 14:33, Ulrich Windl (ulrich.wi...@rz.uni-regensburg.de) wrote: > >>> Lennart Poettering schrieb am 01.06.2021 um 13:39 > in > Nachricht : > > On Di, 01.06.21 12:42, Ulrich Windl (ulrich.wi...@rz.uni‑regensburg.de) > wrote: > > > >>

Re: [systemd-devel] What causes "systemd-journald[3256]: Missed 127 kernel messages"

2021-06-01 Thread Lennart Poettering
3) Can I avoid that problem? Figure out which kernel driver/subsystem is responsible. You could also enlarge the kernel log buffer, see log_buf_mem= kernel cmdline switch. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] /etc overlay

2021-05-31 Thread Lennart Poettering
executed at that time. Thus, if you intend to drop in additional files as services you should ideally do so before PID 1 initializes, i.e. in the initrd. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists

Re: [systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-27 Thread Lennart Poettering
t; hing is that if say cage or vte takes a segfault during say an apt-get > install, > the running command doesn't die... The service that implements your terminal emulator could upload the pty master fds to systemd via the fdstore logic. That way the master will stay open across resta

Re: [systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-27 Thread Lennart Poettering
o grant that to your terminal app's user. THe polkit auth request carries the unit name as additional metadata, hence that should be pretty easily done with some minimal polkit JS. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list

Re: [systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-27 Thread Lennart Poettering
were: I still donÄt get what the "end goal" is. You start with the tools you want to reach your end goal, but never specify what precisely that end goal is. Do you intend to replace the Linux VT with a userspace implementation of the same concept? Or do you want to run a full-screen g

Re: [systemd-devel] how to prevent systemd-logind from moving process to other cgroups when executing su command

2021-05-25 Thread Lennart Poettering
ee for you. You may request a delegated subtree you can manage your own stuff in, but the top-level of the tree is always owned and controlled by systemd and if you interfere with it, you get to keep the pieces. This is explained here: https://systemd.io/CGROUP_DELEGATION Sorry if this is disappo

Re: [systemd-devel] On the IRC situation

2021-05-25 Thread Lennart Poettering
n their own, so I have registered it there as well (as a > "community" since I'm ~not really~ a representative). So if there are no > objections I'll make a PR to update systemd's README files to "s/ > freenode.org/libera.chat/g" sometime later. S

Re: [systemd-devel] Running pam-enabled /bin/login sessions in unprivileged terminal emulators

2021-05-20 Thread Lennart Poettering
user to run unpriv commands, but it's a all-or-nothing thing. > The second thing: Things like nmtui need a full logind session to be able to > run, and do polkit actions. However on seat0, it seems you need to decide on a > empty TTY to use, which while you can use TTY63, that doesn't seem t

Re: [systemd-devel] manually lading kernel modules and have created /dev/* in container?

2021-05-18 Thread Lennart Poettering
'll really just get the naked devicenodes and not more. This is typically not enough to run any non-trivial software that wants to to device management, since the enumerate/monitor devices via sysfs/uevents/udev and that kind of stuff simply doesn't work

Re: [systemd-devel] APIs for JournalD commands

2021-05-06 Thread Lennart Poettering
documented on the journald man page. Verification is only available in journalctl. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] systemd-run / Failed to create bus connection: Input/output error

2021-05-03 Thread Lennart Poettering
gt; > Someone would care to decipher that for me or/and shed bit more light on > possible troubleshooting? which host OS, which payload OS? which host systemd, which payload systemd? is this an nspawn container? is the container fully booted up? Lennart

Re: [systemd-devel] early mounts in systemd

2021-05-03 Thread Lennart Poettering
writable. The main difference I that in the second case the configuration is immutable too, while the firt case allows it to be changed locally. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] early mounts in systemd

2021-05-03 Thread Lennart Poettering
ions on whether we shouldn't require /var to be mounted from initrd, but so far we didn't decide that this was necessary, given the political effort this would take to require) Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] systemctl reboot get terminated by signal 15

2021-04-30 Thread Lennart Poettering
happens, while sometimes it does reboot during my local > testing. Is there a way/command to make sure system get rebooted? Check the logs? https://freedesktop.org/wiki/Software/systemd/Debugging/#index2h1 Lennart -- Lennart Poettering, Berlin ___

Re: [systemd-devel] systemctl reboot get terminated by signal 15

2021-04-29 Thread Lennart Poettering
file. > Not seeing this issue before /sbin/telinit becomes a softlink to > systemctl. vmtoolsd.service is probably asked to shutdown because of the system shutdown, and the forked off /sbin/telinit is part of that service, so it gets terminated too? Lennart -- Lennart Poettering, Berlin _

Re: [systemd-devel] systemctl reboot get terminated by signal 15

2021-04-28 Thread Lennart Poettering
m processes, of course. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] systemctl reboot get terminated by signal 15

2021-04-23 Thread Lennart Poettering
tailed systemd log? man 5 journald.conf Maybe your distro didn't enable persistent storage of journald, and thus journald uses only in-memory storage in /run, and is thus constrained by its diminutive size? Lennart -- Lennart Poettering, Berlin ___ sys

Re: [systemd-devel] EXT: sdbus_event loop state mark as volatile?

2021-04-23 Thread Lennart Poettering
tall a signal handler or anything like that. > It looks like a stronger memory model is needed here (not volatile). > Other projects use __atomic builtins for this. All of sd-event's data structures should be accessed from a single thread only, in a single non-signal execution context. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] systemctl reboot get terminated by signal 15

2021-04-23 Thread Lennart Poettering
of systemctl on the client side? I was more interested int the logs of systemd, i.e. of PID 1. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] systemd-networkd: How to configure network with environment variables?

2021-04-23 Thread Lennart Poettering
n run this script during boot, and order it before networkd, so that the conversion is completed on each boot, before networkd is run. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Is there a way to know inside of systemd if it's in a reboot state?

2021-04-22 Thread Lennart Poettering
On Mo, 19.04.21 20:19, Tia, Javier (javier@hpe.com) wrote: > Hi, > > Is there a way to know inside of systemd if it's in a reboot state? systemctl is-system-running Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing lis

Re: [systemd-devel] resolved: wrong address w/ cache off, wo/ querying DNS server

2021-04-22 Thread Lennart Poettering
.org/viewtopic.php?pid=196#p196 -- please > ignore the starting comment, the last 3 are the most relevant. See > some system info below the mail. Maybe your local hostname or an /etc/hosts entry exist that match the domain name you are looking up? Le

Re: [systemd-devel] syscvall-filters killing CGI after update to Fedora 33

2021-04-22 Thread Lennart Poettering
r upstream or by the distro. If you do it downstream you might run into issues like this. The idea of @system-service is that it mostly tries to isolate you from this, but in your case you overrode what it does, so it fell apart. Lennart -- Lennart Poettering, Berlin __

Re: [systemd-devel] Request for Feedback on Design Issue with Systemd and "Consistent Network Device Naming"

2021-04-21 Thread Lennart Poettering
atever you want. Anyway, the upstream systemd project is the wrong forum to discuss any of this. You are apparently upset by a RHEL decision. While I sympathize with the decision, it's not a decision the systemd project took, but RHEL did, and technically nothing in systemd mandates this. Lennart -- Le

Re: [systemd-devel] systemctl reboot get terminated by signal 15

2021-04-19 Thread Lennart Poettering
tall a signal handler for SIGTERM via sigaction, and look into the .si_pid field of the siginfo_t you can receive in the handler. It tells you which processes sent the SIGTERM. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list syst

Re: [systemd-devel] How to reboot from within a service

2021-04-19 Thread Lennart Poettering
ld be cleaner (ie. > hooking it up in service files). > > What are the best option(s) here? Use logind's D-Bus APIs. It's the cleanest way to reboot, as it honours inhibitors and stuff. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] .local searches not working

2021-04-10 Thread Lennart Poettering
s, as that leaks pretty sensitive information about the local network infrastructur Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Is it meant to be possible to set IO[Read|Write]BandwidthMax on a slice ?

2021-04-08 Thread Lennart Poettering
On Do, 08.04.21 17:19, Hadrien Grasland (hadrien.grasl...@ijclab.in2p3.fr) wrote: > Le 08/04/2021 à 16:11, Lennart Poettering a écrit : > > On Do, 08.04.21 12:24, Hadrien Grasland (hadrien.grasl...@ijclab.in2p3.fr) > > wrote: > > > > > Hi everyone, > >

Re: [systemd-devel] Is it meant to be possible to set IO[Read|Write]BandwidthMax on a slice ?

2021-04-08 Thread Lennart Poettering
rks are running, in order to improve > the stability of said benchmark's I/O performance. Is this on cgroupsv1 or cgroupsv2? IIRC there was some issue that the block io controller wasn't fully recursive on cgroupsv1. It should work on cgroupsv2. Lennart -- Lennart

Re: [systemd-devel] sd_bus_get_unique_name returns -EBADMSG or -EBUSY

2021-04-07 Thread Lennart Poettering
On Mi, 07.04.21 12:17, Carlo Wood (ca...@alinoe.com) wrote: > On Tue, 6 Apr 2021 18:41:21 +0200 > Lennart Poettering wrote: > > > EBADMSG usually means that somehow an invalid dbus packet we couldn't > > parse entered the stream. maybe some memory corruption thing? or ma

Re: [systemd-devel] sd_bus_get_unique_name returns -EBADMSG or -EBUSY

2021-04-06 Thread Lennart Poettering
ng this in a threaded env without locking? Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Running containers under freezer

2021-04-06 Thread Lennart Poettering
er on cgroupsv1, it's just too messy of an interface. It's supported fine on cgroupsv2 with a recent systemd version, where you'll have "systemctl freeze", and things should just work. Lennart -- Lennart Poettering, Berlin ___ systemd-devel m

Re: [systemd-devel] Waiting udev jobs

2021-03-27 Thread Lennart Poettering
ation. Please provide "systemctl status" info on the relevant units and jobs, please provide a dump of the output. And most importantly, always start with the systemd version number you are using, and whether you have any weird udev rules or so, or just plain

Re: [systemd-devel] [usb-storage] Re: Amazon Kindle disconnect after Synchronize Cache

2021-03-17 Thread Lennart Poettering
for devices like this was just tooo large for the kernel to carry, but that's not the case here either: it's two devices afaik, and such an issue wasn't seen elswhere. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Odd effect when using systemd-analyze verify in RPM %check

2021-03-15 Thread Lennart Poettering
when running on a console. Maybe update to something less ancient, or ask your distro to backport the fix. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Need help: Program not run when rebooting

2021-03-11 Thread Lennart Poettering
l deps. The normal dep should be totally sufficient. But only declare a ExecStop= line. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Access journal log files within Docker Container using sd-journal API

2021-03-09 Thread Lennart Poettering
a new compression and other stuff in 246. If these features are used in a file you need a client library that supports them to access the features. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.o

Re: [systemd-devel] Access journal log files within Docker Container using sd-journal API

2021-03-09 Thread Lennart Poettering
ng the same code on my host machine correctly yields the log files. Does "journalctl --file=…" work? Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] systemd-crypttab: FIDO2 and passwords

2021-03-08 Thread Lennart Poettering
On Mo, 08.03.21 18:29, Christian Kastner (c...@debian.org) wrote: > On 07.03.21 23:34, Lennart Poettering wrote: > > Right now whether to require the FIDO2 PIN is not configurable. We > > could make it configurable though, so that you could use it in 1FA > > situations.

Re: [systemd-devel] systemd-crypttab: FIDO2 and passwords

2021-03-07 Thread Lennart Poettering
he PIN stuff is not an optional FIDO2 feature IIRC this is 2FA in all cases. Right now whether to require the FIDO2 PIN is not configurable. We could make it configurable though, so that you could use it in 1FA situations. Lennart -- Lennart Poettering,

Re: [systemd-devel] sdbus errors and their underlaying int value: unique?

2021-03-03 Thread Lennart Poettering
e errnos instead, and ignore them, and never forget that the mapping logic is not a D-Bus invention but an sd-bus one. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] D-bus connection Unknown error

2021-03-03 Thread Lennart Poettering
but more of a D-Bus issue hence. Which systemd version is this? Please contact your distro for help first. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman

Re: [systemd-devel] avoid unmounts in unprivileged containers

2021-03-01 Thread Lennart Poettering
s present in the host mount namespace, then this one is > likely a "foreign" mountpoint, and shouldn't be unmounted. Not sure I follow. We'd need this from inside the container, so that we don't even try to unmount the file system. But from "inside" we have no outside to the hos

Re: [systemd-devel] use RTC date/time to set system date time

2021-03-01 Thread Lennart Poettering
d in the worst case time-set.target will catch this and be delayed for the time necessary to make the timestamps accurate. But if the RTC is quick to be probed then you get correct timestamps as early as possible. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] use RTC date/time to set system date time

2021-03-01 Thread Lennart Poettering
he clock before journald > first starts should make journal times correct. > Or I am wrong? kmsg comes with monotonic timestamps only. journald stores that away but generally uses its own acquired timestamps, since it needs to guarantee monotonicity and thi

Re: [systemd-devel] Debugging sd_notify / tracing notifications?

2021-03-01 Thread Lennart Poettering
Maybe the service actually checks if getppid() == 1 or so? Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] use RTC date/time to set system date time

2021-03-01 Thread Lennart Poettering
k sucks then they'll look differently than you might expect. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] use RTC date/time to set system date time

2021-03-01 Thread Lennart Poettering
On Mo, 01.03.21 14:52, Michał Zegan (webczat_...@poczta.onet.pl) wrote: > Someone should really find a way to make it cooperate well with modular > rtcs. > It's popping up over and over and over and over again and no one is/will > build all rtc drivers into the kernel. To my knowledge the kernel

Re: [systemd-devel] Using sdbus-cpp

2021-02-26 Thread Lennart Poettering
we provide, via sd-event. Use sd_bus_get_fd()/sd_bus_get_events()/sd_bus_get_timeout() for integration to foreign event loops. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] What's the best way to generate .conf files on startup?

2021-02-24 Thread Lennart Poettering
k of my wording and go from there. Already done: https://github.com/systemd/systemd/commit/3acf00a5a4ff656e2799f7f3e2544891b09bbc35 Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.

Re: [systemd-devel] Confusing Output of "journalctl --setup-keys --force"

2021-02-24 Thread Lennart Poettering
nd of status log messages, that tell you what the tool is doing. You can turn off logging if you like by setting SYSTEMD_LOG_TARGET=null if you like. In that case all log output is suppressed and you'll only see the actual output being generated. Lennart -- Lennart Poettering, Berlin _

Re: [systemd-devel] avoid unmounts in unprivileged containers

2021-02-24 Thread Lennart Poettering
t just a technical difficulty but given the maintainer of said interfaces also a political one. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] What's the best way to generate .conf files on startup?

2021-02-23 Thread Lennart Poettering
modifying) > to generate those .conf files and call daemon-reload during boot? If the > latter, are there any expected risks associated with calling daemon-reload > during boot? Doing this with a generator sounds perfect to me. Lennart -- Lennart Poettering, Berlin _

Re: [systemd-devel] /etc/machine-id and a read-only rootfs

2021-02-23 Thread Lennart Poettering
/etc/machine-id from the initrd, right before transitioning to the real OS, by overmounting it. If it's already initialized PID 1 will happy use it after all. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Looking for known memory leaks triggered by stress testing add/remove/up/down interfaces

2021-02-22 Thread Lennart Poettering
ick around on login sessions under some conditions. We added workarounds later on for that. But seriously, this is so long ago... no idea. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https:/

Re: [systemd-devel] systemd-resolved auto configure DNS server changed?

2021-02-20 Thread Lennart Poettering
else? Figure out which software actually listens to those RA messages and then propagates it to resolved. And then figure out why it does that, i.e. whether it was configured that way. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] systemd-resolved auto configure DNS server changed?

2021-02-19 Thread Lennart Poettering
; > So, now my question, why wasn't the dnsmasq server found/configured as had > been the case? > An intentional change or unintentional change? I am not sure which software manages that interface, but it would be worth figuring that out, and then checking w

Re: [systemd-devel] Looking for known memory leaks triggered by stress testing add/remove/up/down interfaces

2021-02-19 Thread Lennart Poettering
On Fr, 19.02.21 18:09, Mantas Mikulėnas (graw...@gmail.com) wrote: > On Fri, Feb 19, 2021 at 4:49 PM Lennart Poettering > wrote: > > > On Fr, 19.02.21 09:28, Robert P. J. Day (rpj...@crashcourse.ca) wrote: > > > > > i guess i expected that the CVE identifier would

Re: [systemd-devel] Looking for known memory leaks triggered by stress testing add/remove/up/down interfaces

2021-02-19 Thread Lennart Poettering
ge git commits, that's just not how this works. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Antw: [EXT] Re: Looking for known memory leaks triggered by stress testing add/remove/up/down interfaces

2021-02-19 Thread Lennart Poettering
On Fr, 19.02.21 08:44, Ulrich Windl (ulrich.wi...@rz.uni-regensburg.de) wrote: > >>> Lennart Poettering schrieb am 18.02.2021 um 19:30 > in > Nachricht : > ... > > entry instead of asking for new memory again. This allocation cache is > > a bit quicker th

Re: [systemd-devel] Unprivileged user can kill root-owned processes by changing PID file and stopping service

2021-02-19 Thread Lennart Poettering
do not need to communicate their main PID explicitly. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Design patterns for privilege separating systemd services?

2021-02-18 Thread Lennart Poettering
ListenStream=socketpair or so as another value, which would then do the right thing. I kinda like this model, I must say. Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Looking for known memory leaks triggered by stress testing add/remove/up/down interfaces

2021-02-18 Thread Lennart Poettering
even though there isn't really, the memory is not lost after all, and will be reused eventually if we need it. You may use the env var SYSTEMD_MEMPOOL=0 to turn this logic off, but not sure v230 already knew that env var. Lennart -- Lennart Poettering, Berlin ___ syst

Re: [systemd-devel] [RFC] systemd-journald, mmap-cache, and its ENOMEM-driven window reclamation

2021-02-16 Thread Lennart Poettering
pace exhaustion. if it had, we could certainly hook things up with that… Does that make any sense? Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

<    1   2   3   4   5   6   7   8   9   10   >