Re: [systemd-devel] No systemd-networkd package in RHEL 10/Rocky 10 etc?

2025-08-19 Thread David Tardon
Hi, On Thu, 2025-08-14 at 10:29 +0100, Colin Guthrie wrote: > Just trying to update a few containers from Rocky 9 to 10 and there > appears to be no systemd-networkd package any more. > > Googling can't find anything to suggest it's specific removal but > also > no one really complaining about

Re: [systemd-devel] Semantic of WantedBy=default.target

2025-08-19 Thread David Tardon
Hi, On Wed, 2025-08-13 at 09:46 +0200, Michal Sekletar wrote: > On Wed, Aug 13, 2025 at 8:22 AM Andrei Borzenkov > wrote: > > On Tue, Aug 12, 2025 at 11:59 AM Silvio Knizek > > wrote: > > > > > > Am Dienstag, dem 12.08.2025 um 11:02 +0300 schrieb Andrei > > > Borzenkov: > > > > > > I spent som

Re: [systemd-devel] Building systemd

2025-01-24 Thread David White
On Fri, Jan 24, 2025 at 3:47 PM Lennart Poettering wrote: > > On Fr, 24.01.25 12:22, David White (dr.white...@gmail.com) wrote: > > > Hi, > > I have a stupid question about building systemd. > > > > I need a particular package rebuilt to test some changes. I only nee

[systemd-devel] Building systemd

2025-01-24 Thread David White
zstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x7b16cff42000) libpcre2-8.so.0 => /lib/x86_64-linux-gnu/libpcre2-8.so.0 (0x7b16cfea5000) libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x7b16cfe6) Thanks, David.

Re: [systemd-devel] systemd-cryptsetup credentials

2025-01-15 Thread David White
S_DIRECTORY}/cryptsetup.pkcs11-pin)"' ExecStartPre=/bin/bash -c 'echo "PINFILE HERE: $PINFILE"' ExecStart= ExecStart=/bin/bash -c "PIN=$(cat $PINFILE) /usr/bin/systemd-cryptsetup attach os_crypt /dev/disk/by-uuid/c7dad40e-973a-4381-9bcb-6c4477429f95 none luks,pkcs

[systemd-devel] systemd-cryptsetup credentials

2025-01-15 Thread David White
LoadCredential=cryptsetup.pkcs11-pin:/path/to/unix/socket Would that work? If not, how would I go about passing a pkcs11 pin to cryptsetup. I know I can manually do it like this: PIN=4321 systemd-cryptsetup attach os-crypt /dev/sdb - pkcs11-uri=auto but I want to use the generator with crypttab. Thanks, David.

Re: [systemd-devel] Help with running a script at shutdown and make it run first before other services

2024-12-12 Thread David Elie-Dit-Cosaque
Hi Andrei, Thanks a lot, it worked! Sorry I didn't get it the first time. David On Thu, Dec 12, 2024 at 8:05 AM David Elie-Dit-Cosaque wrote: > > That is what I told you already. > > > > mkdir /etc/systemd/system/crio-.scope.d > > echo "[Unit]" > /e

Re: [systemd-devel] Help with running a script at shutdown and make it run first before other services

2024-12-12 Thread David Elie-Dit-Cosaque
> That is what I told you already. > > mkdir /etc/systemd/system/crio-.scope.d > echo "[Unit]" > /etc/systemd/system/crio-.scope.d/order.conf > echo "Before=myscript.service" >> > /etc/systemd/system/crio-.scope.d/order.conf Ah I see, I did not under

Re: [systemd-devel] Help with running a script at shutdown and make it run first before other services

2024-12-11 Thread David Elie-Dit-Cosaque
Type=oneshot RemainAfterExit=true ExecStop=/usr/local/bin/myscript.sh [Install] WantedBy=multi-user.target Is there a way to use wildcards in After= like After=*.scope or something equivalent. I cannot hardcode the .scope names because they are random. Thanks! David On Mon, Dec 9, 2024 at 8:27 AM

Re: [systemd-devel] Help with running a script at shutdown and make it run first before other services

2024-12-09 Thread David Elie-Dit-Cosaque
Hi Dan and Andrei, thanks a lot for the explanation and code snippets, I try it out. Thanks, David. On Sun, Dec 8, 2024 at 10:13 AM Dan Nicholson wrote: > On Fri, Dec 6, 2024 at 3:16 PM David Elie-Dit-Cosaque > wrote: > > > > Hi All, > > > > I am trying to creat

Re: [systemd-devel] Help with running a script at shutdown and make it run first before other services

2024-12-06 Thread David Elie-Dit-Cosaque
-before-shutdown which seems to work, except I could not find any ways to control the ordering/dependencies. I'll try again as you suggest, Thanks, David. On Fri, Dec 6, 2024 at 5:45 PM Nils Kattenbeck wrote: > You should probably just use an ExecStart= (not with the stop you are > curr

[systemd-devel] Help with running a script at shutdown and make it run first before other services

2024-12-06 Thread David Elie-Dit-Cosaque
] WantedBy=multi-user.target The script does run after shutdown is initiated but since it relies on other services which are also shutting down, it fails. Is there a way to order the shutdown so that myscript.sh is completed first before continuing with the shutdown? Thanks! David.

[systemd-devel] Unknown key name 'StopIdleSessionSec' in section 'Login'

2024-10-23 Thread David
lation did something that is causing systemd to start a session, but not close it. How can I get these 2 processes to shutdown? Is this an issue with systemd or in the configuration of Chrome? Trying to learn to be a better system admin, David *1 - https://www.admin-magazine.com/Arch

[systemd-devel] ConditionNeedsUpdate, read-only /usr, and sysext

2024-02-07 Thread Valentin David
xample? Thanks, -- Valentin David m...@valentindavid.com

[systemd-devel] Detecting Systemd crash

2024-02-03 Thread David Timber
Systemd crashed on me the other day. I was writing up some Systemd units and testing them out by daemon-reload every time I wanted to test them out. Not the best way to go on about, I know. My bad abusing Systemd to the point of crashing. Perhaps it was just a bit flip that caused this. sys

[systemd-devel] udev database cross-version compatibility

2023-09-26 Thread Valentin David
flatpak to provide /run/udev/data to containers? (Also, snapd does it, oops) -- Valentin David m...@valentindavid.com

Re: [systemd-devel] systemd-repart very slow creation of partitions with Encrypt=

2023-06-05 Thread Valentin David
On Mon, Jun 5, 2023 at 11:09 AM Lennart Poettering wrote: > On Mo, 05.06.23 10:41, Valentin David (valentin.da...@canonical.com) > wrote: > > > On Mon, Jun 5, 2023 at 9:56 AM Lennart Poettering < > lenn...@poettering.net> > > wrote: > > > > > On So

Re: [systemd-devel] systemd-repart very slow creation of partitions with Encrypt=

2023-06-05 Thread Valentin David
I think that behavior was introduced by https://github.com/systemd/systemd/commit/48a09a8fff480aab9a68e95e95cc37f6b1438751 On Mon, Jun 5, 2023 at 10:41 AM Valentin David wrote: > > > On Mon, Jun 5, 2023 at 9:56 AM Lennart Poettering > wrote: > >> On So, 04.06.23

Re: [systemd-devel] systemd-repart very slow creation of partitions with Encrypt=

2023-06-05 Thread Valentin David
On Mon, Jun 5, 2023 at 9:56 AM Lennart Poettering wrote: > On So, 04.06.23 14:25, Valentin David (valentin.da...@canonical.com) > wrote: > > > I have been trying to create a root partition from initrd with > > systemd-repart. The repart.d file for this partition is as follo

[systemd-devel] systemd-repart very slow creation of partitions with Encrypt=

2023-06-04 Thread Valentin David
I have been trying to create a root partition from initrd with systemd-repart. The repart.d file for this partition is as follow: [Partition] Type=root Label=root Encrypt=tpm2 Format=ext4 FactoryReset=yes I am just using systemd-repart.service in initrd, without modification (that is, it finds th

[systemd-devel] Is journald RateLimitBurst multiplier applied when Storage=volatile or Storage=none?

2023-01-13 Thread Chamberlain, David
does this work if Storage=volatile or Storage=none? Is a multiplication factor still applied? If yes, then what "free disk space" is considered? Thanks, David Chamberlain

Re: [systemd-devel] Unmountable mounts and systemd-fsck@.service conflicting with shutdown.target

2023-01-06 Thread Valentin David
@.service units have "DefaultDependencies=no" and no conflict on shutdown. Maybe this is missing then. "cryptsetup attach" might be running. On Fri, Jan 6, 2023 at 1:34 PM Lennart Poettering wrote: > On Do, 05.01.23 14:18, Valentin David (valentin.da...@canonical.com) > wrot

[systemd-devel] Unmountable mounts and systemd-fsck@.service conflicting with shutdown.target

2023-01-05 Thread Valentin David
Hello, In Ubuntu Core, we have some mounts that cannot be unmounted until we have switched root. To simplify, this looks like that: / mounts a ro loop devices backed by /some/disk/some/path/image.img /some/disk mounts a block device (let's say /dev/some-block0p1) In this case, /some/disk cannot

Re: [systemd-devel] Setting up a VPN daemon as a Portable Service

2022-10-07 Thread David Anderson
Yeah, so far we (tailscale) haven't found a good way to run on the Steam Deck at bootup, and also survive the A/B OS updates. Systemd system extensions _can_ be activated during bootup, if you place the extension in one of the well-known locations (/var/lib/extensions would be the one to use on

[systemd-devel] Unit shutdown order not always respected

2022-06-30 Thread David Gubler
to change its ordering behavior during shutdown. Does this ring any bells? Thank you! Best regards, David Gubler -- David Gubler System Engineer VSHN AG | Neugasse 10 | CH-8005 Zürich +41 44 545 53 00 | https://vshn.ch

Re: [systemd-devel] Xorg or Wayland Environment

2021-09-21 Thread David Edmundson
l-session.target David

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

2020-10-22 Thread David C. Partridge
y, or only issuing it once every few hundred detections? Or if the problem is a client side problem is it possible to ID what it is and get debian-transmission to fix their code? Thanks David -Original Message- From: Michael Biebl [mailto:mbi...@gmail.com] Sent: 19 October 2020 15:05 T

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

2020-10-22 Thread David C. Partridge
mechanism similar to that available in rsyslogd? David -Original Message- From: Lennart Poettering [mailto:lenn...@poettering.net] Sent: 19 October 2020 14:57 To: David C. Partridge Cc: systemd-devel@lists.freedesktop.org Subject: Re: [systemd-devel] Suppressing spam error messages in the s

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

2020-10-19 Thread David C. Partridge
is using DNS that's triggering this? Thanks David ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] No signal sent to stop service

2020-08-10 Thread David Cunningham
20 at 03:08, Lennart Poettering wrote: > On Do, 06.08.20 13:59, David Cunningham (dcunning...@voisonics.com) wrote: > > > Hello, > > > > I'm developing a service called product_routed which is managed by > systemd. > > The service can normally be stopped with "ser

[systemd-devel] No signal sent to stop service

2020-08-05 Thread David Cunningham
duct/current/bin/routed PIDFile=/var/run/product/routed.pid Restart=on-abnormal RestartSec=1 LimitSTACK=infinity LimitNOFILE=65535 LimitNPROC=65535 [Install] WantedBy=multi-user.target -- David Cunningham, Voisonics Limited http://voisonics.com/ USA: +1 213 221 1092 New Zealand: +64 (0)28 2558 3782

Re: [systemd-devel] sd-bus memory check

2020-04-12 Thread David J
Sun, Apr 12, 2020 at 11:00 AM David J wrote: Hello! This is in regards to sd-bus function "sd_bus_open_system", where Valgrind reports possible memory leak. See the following code: mem_test.c: #include #include #include int main(int argc, char *argv[]) {   sd_bus *bus = NULL

[systemd-devel] sd-bus memory check

2020-04-12 Thread David J
n 0 blocks The question is am I doing anything wrong here? Why Valgrind thinks there "might" be memory leak? The interesting part is if I use "sd_bus_open_system", Valgrind is all happy and no warnings at all! Thank you, David J. __

Re: [systemd-devel] sd_bus_add_match callback

2020-04-10 Thread David J
AM, Giacinto Cifelli wrote: > > hi Lennart, > >> On Fri, Apr 10, 2020 at 2:14 PM Lennart Poettering >> wrote: >> >>> On Do, 09.04.20 14:12, David J (ema...@icloud.com) wrote: >>> >>> Hello Systemd developers! >>> >>>

Re: [systemd-devel] sd_bus_add_match callback

2020-04-09 Thread David J
x27;", callback, userdata2); > > r = sd_event_loop(event); > assert(r >= 0); > > bus = sd_bus_flush_close_unref(bus); > slot = sd_bus_slot_unref(slot); > event = sd_event_unref(event); > } > > /*End =*/ > > I appreciate your help and your time. > > Thank you, > David J (ema...@icloud.com) ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] sd_bus_add_match callback

2020-04-07 Thread David J
userdata2);   r = sd_event_loop(event);   assert(r >= 0);     bus = sd_bus_flush_close_unref(bus);   slot = sd_bus_slot_unref(slot);   event = sd_event_unref(event); } /*End =*/ I appreciate your help and your time. Thank you, David J (

Re: [systemd-devel] High CPU utilization by systemd process || Debian 8

2019-12-11 Thread David Anderson
Note that Debian 8 is very old. It runs systemd v215, which came out in 2014. So, from upstream's perspective, unless it's a well-known bug, the answer is probably "who knows? Use a more recent systemd." I suggest filing a bug with Debian and asking them for help. Debian 8 is still supported for a

Re: [systemd-devel] When will my timer next run?

2019-08-30 Thread David Anderson
Did you `systemctl enable rsync-Saruman.timer` to activate the timer? Timers can be enabled and disabled just like services, you need to enable it after creating. - Dave On Fri, Aug 30, 2019 at 8:05 PM Kenneth Porter wrote: > I've created my service timer with the following: > > [Timer] > # wai

Re: [systemd-devel] connection failure

2019-07-02 Thread David Anderson
Hi! This is the wrong list for your question. You should ask this on the help list for your linux distro, it looks like they've configured Docker incorrectly, or there's some extra required setup that you're missing. You can also consult `journalctl -u docker.service` to find clues on why Docker wo

[systemd-devel] Periodic tasks on battery-powered devices

2019-02-24 Thread David Strauss
I could be missing something, but I think there's a gap in the functionality for timers for periodic tasks on battery-powered devices. Basically, I want to generate a security report (SCAP style) approximately weekly but avoid doing so on battery. Here's what I've tried or looked at: - If I use C

[systemd-devel] [RFC PATCH 1/2] usb core: dts: allow suggesting usb bus number for platform busses

2018-11-27 Thread David R. Piegdon
Signed-off-by: "David R. Piegdon" systemd allows use of predictable netdev names. these currently do not work for netdevs connected to USB platform busses, as the id of the platform bus is not necessarily consistent across kernel versions. this patch allows setting a suggested

[systemd-devel] [RFC PATCH 0/2] USB: DTS: allow suggesting busnumber for platform USB bus via DTS alias

2018-11-27 Thread David R. Piegdon
been defined! In the current master there are a few platforms that contain such aliases, e.g. am33xx, dm814x or imx6qdl Yours, David David R. Piegdon (2): usb core: dts: allow suggesting usb bus number for platform busses dt-bindings: allow suggesting usb bus number for usb platform b

[systemd-devel] [RFC PATCH 2/2] dt-bindings: allow suggesting usb bus number for usb platform busses

2018-11-27 Thread David R. Piegdon
Signed-off-by: "David R. Piegdon" systemd allows use of predictable netdev names. these currently do not work for netdevs connected to USB platform busses, as the id of the platform bus is not necessarily consistent across kernel versions. this patch allows setting a suggested

Re: [systemd-devel] Environment-variable security?

2018-11-14 Thread David Parsley
The practice will continue, however; TravisCI, CircleCI, and my own GopherCI all have mechanisms for providing e.g a GITHUB_PASSWORD environment variable for automated build publishing. No shock that a DevOps engineer might make the mistake of applying the same principle with system

Re: [systemd-devel] Environment-variable security?

2018-11-13 Thread David Parsley
o reason for these non-privileged users to have access to that, anyway. Thanks for giving this some thought. Regards, -David On Tue, Nov 13, 2018 at 9:17 AM Lennart Poettering wrote: > On Di, 13.11.18 07:49, David Parsley (pars...@linuxjedi.org) wrote: > > > I disagree; privacy of e

Re: [systemd-devel] Environment-variable security?

2018-11-13 Thread David Parsley
;m going to go ahead and update the Ansible role to operate that way. Regards, -David On Tue, Nov 13, 2018 at 5:18 AM Lennart Poettering wrote: > On Mo, 12.11.18 17:41, aleivag (alei...@gmail.com) wrote: > > > You can define those secrets on /etc/robotsecret.txt, and then on your > uni

Re: [systemd-devel] Environment-variable security?

2018-11-12 Thread David Parsley
els operation of the dockerized version. So, anybody know what API calls an unprivileged user can make to get that information from the unit file? It'd be nice to test before and after to make sure the measure is effective. Regards, -David On Mon, Nov 12, 2018 at 4:23 PM aleivag wrote: >

[systemd-devel] Environment-variable security?

2018-11-12 Thread David Parsley
dbus-daemon on server systems? Thanks, -David ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Multiple initrds in unified kernel images?

2018-10-05 Thread David Anderson
uld just work. Please let me know if I'm wrong, and otherwise - thanks for being my rubber ducks! - Dave On Fri, Oct 5, 2018 at 12:02 AM David Anderson wrote: > Hi, > > I'm exploring systemd-boot and secure booting for an Arch Linux install. > To get secure boot working

[systemd-devel] Multiple initrds in unified kernel images?

2018-10-05 Thread David Anderson
Hi, I'm exploring systemd-boot and secure booting for an Arch Linux install. To get secure boot working right, I need to build a unified kernel image that I can sign. However, I also need to pass 2 initrd images into the boot process (one for CPU microcode, and the proper OS iniramfs). But, AFAIC

[systemd-devel] systemd-timesync and journalctl questions

2018-08-24 Thread David Weinehall
sage 1 Log message 2 Date corrected to be 2018: Log message 3 Log message 1 Log message 2 Typically this is not how we want our log to behave. Is there any way to show the log in sequential order? Kind regards, David Weinehall ___ systemd-devel mailin

Re: [systemd-devel] udev

2017-11-01 Thread David Henderson
On 11/1/17, Mike Gilbert wrote: > On Wed, Nov 1, 2017 at 10:49 AM, David Henderson > wrote: >> On 11/1/17, Greg KH wrote: >>> On Wed, Nov 01, 2017 at 10:36:16AM -0400, David Henderson wrote: >>>> Is there a place to just get the udev code instead of all of syst

Re: [systemd-devel] udev

2017-11-01 Thread David Henderson
On 11/1/17, Greg KH wrote: > On Wed, Nov 01, 2017 at 10:36:16AM -0400, David Henderson wrote: >> Is there a place to just get the udev code instead of all of systemD? > > No. > >> I tried looking online, but it appears that the only solo versions are >> old. I gues

Re: [systemd-devel] udev

2017-11-01 Thread David Henderson
On 11/1/17, Greg KH wrote: > On Wed, Nov 01, 2017 at 10:04:19AM -0400, David Henderson wrote: >> Good morning Lennart, thanks for the follow-up! At this point I am >> only interested in building a particular program (udev) from the >> systemD collection, not help building a

Re: [systemd-devel] udev

2017-11-01 Thread David Henderson
On 11/1/17, Lennart Poettering wrote: > On Di, 31.10.17 14:49, David Henderson (dhender...@digital-pipe.com) wrote: > >> Good afternoon all. So is there another place I can get help for >> this problem? > > Sorry, but this isn't really the right forum for h

Re: [systemd-devel] udev

2017-10-31 Thread David Henderson
Good afternoon all. So is there another place I can get help for this problem? Thanks, Dave On 10/30/17, David Henderson wrote: > Good morning all! Just following up with this! > > Thanks, > Dave > > > On 10/26/17, David Henderson wrote: >> On 10/26/17, David He

Re: [systemd-devel] udev

2017-10-30 Thread David Henderson
Good morning all! Just following up with this! Thanks, Dave On 10/26/17, David Henderson wrote: > On 10/26/17, David Henderson wrote: >> So I am using the compile flags as suggested, however, I have noticed >> two errors. I tried passing '--enable-static' to '

Re: [systemd-devel] udev

2017-10-26 Thread David Henderson
On 10/26/17, David Henderson wrote: > So I am using the compile flags as suggested, however, I have noticed > two errors. I tried passing '--enable-static' to 'configure' and end > up with: > > checking if libtool supports shared libraries... yes > chec

Re: [systemd-devel] udev

2017-10-26 Thread David Henderson
So I am using the compile flags as suggested, however, I have noticed two errors. I tried passing '--enable-static' to 'configure' and end up with: checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries...

Re: [systemd-devel] udev

2017-10-26 Thread David Henderson
On 10/26/17, Mantas Mikulėnas wrote: > On Thu, Oct 26, 2017, 18:26 David Henderson > wrote: > >> Good afternoon all! I have been looking for the udev source code to >> compile the library and utilities and it appears it is bundled in the >> systemd software. I have r

Re: [systemd-devel] udev

2017-10-26 Thread David Henderson
simple as: builder -n udev -a i64 Dave On 10/26/17, Mike Gilbert wrote: > On Thu, Oct 26, 2017 at 11:45 AM, Mantas Mikulėnas > wrote: >> On Thu, Oct 26, 2017, 18:26 David Henderson >> wrote: >>> >>> Good afternoon all! I have been looking for the udev source

[systemd-devel] udev

2017-10-26 Thread David Henderson
Good afternoon all! I have been looking for the udev source code to compile the library and utilities and it appears it is bundled in the systemd software. I have run autoreconf to generate a configure script (using version 233 since I don't have meson), but could not see a way to just compile th

[systemd-devel] [ANNOUNCE] D-Bus Broker Project

2017-08-23 Thread David Herrmann
This is the first public release of dbus-broker. Git Tag: v3 Archive: https://github.com/bus1/dbus-broker/archive/v3/dbus-broker-v3.tar.gz The dbus-broker project is an implementation of a message bus as defined by the D-Bus specification. Its aim is to provide high performance and relia

Re: [systemd-devel] [PATCH] rules: block - add dm devices to whitelist

2017-07-10 Thread David Disseldorp
> Fixed here: > > https://sourceware.org/git/?p=lvm2.git;a=commit;h=c48149cf80c6582c2369bc7f8a33d794021d9dae Looks good and works for me - thanks Peter. Cheers, David ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH] rules: block - add dm devices to whitelist

2017-07-10 Thread David Disseldorp
Thanks for the feedback, Lennart... On Mon, 10 Jul 2017 10:38:38 +0200, Lennart Poettering wrote: > On Wed, 05.07.17 13:01, David Disseldorp (dd...@suse.de) wrote: > > > Ceph relies on by-partuuid symlinks, in order to locate the journal > > partition from a given OSD part

[systemd-devel] [PATCH] rules: block - add dm devices to whitelist

2017-07-05 Thread David Disseldorp
Ceph relies on by-partuuid symlinks, in order to locate the journal partition from a given OSD partition. For details, see http://tracker.ceph.com/issues/19489. --- rules/60-persistent-storage.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/60-persistent-storage.rul

Re: [systemd-devel] sd-bus: ObjectManager difference with gdbus

2017-04-25 Thread David Härdeman
On Tue, Apr 25, 2017 at 09:47:24AM -0500, Dan Williams wrote: >On Tue, 2017-04-25 at 07:45 +0000, David Härdeman wrote: >> April 24, 2017 5:49 PM, "Dan Williams" wrote: >>> >>> It's not clear that the GNOME side was implemented correctly yet

Re: [systemd-devel] sd-bus: ObjectManager difference with gdbus

2017-04-25 Thread David Härdeman
On Tue, Apr 25, 2017 at 09:21:19PM +0200, David Härdeman wrote: >On Tue, Apr 25, 2017 at 09:54:45AM +0200, David Herrmann wrote: >>No, it does not. sd-bus was inconsistent. See, there are 3 things >>involved in the Object-Manager: >> >>Signal: InterfacesAdded >>

Re: [systemd-devel] sd-bus: ObjectManager difference with gdbus

2017-04-25 Thread David Härdeman
On Tue, Apr 25, 2017 at 09:54:45AM +0200, David Herrmann wrote: >On Tue, Apr 25, 2017 at 9:40 AM, David Härdeman wrote: >> April 21, 2017 1:22 PM, "David Herrmann" wrote: >>> This change makes sure all objects have the built-in interfaces >>> reported at al

Re: [systemd-devel] sd-bus: ObjectManager difference with gdbus

2017-04-25 Thread David Herrmann
Hey On Tue, Apr 25, 2017 at 10:05 AM, Lennart Poettering wrote: > On Tue, 25.04.17 09:54, David Herrmann (dh.herrm...@gmail.com) wrote: > >> >> This change makes sure all objects have the built-in interfaces >> >> reported at all times. The GetManagedObjects() ca

Re: [systemd-devel] sd-bus: ObjectManager difference with gdbus

2017-04-25 Thread David Härdeman
April 25, 2017 9:54 AM, "David Herrmann" wrote: > Hi > > On Tue, Apr 25, 2017 at 9:40 AM, David Härdeman wrote: > >> April 21, 2017 1:22 PM, "David Herrmann" wrote: >>> On Fri, Apr 21, 2017 at 11:50 AM, David Härdeman wrote: >> >&g

Re: [systemd-devel] sd-bus: ObjectManager difference with gdbus

2017-04-25 Thread David Herrmann
Hi On Tue, Apr 25, 2017 at 9:40 AM, David Härdeman wrote: > April 21, 2017 1:22 PM, "David Herrmann" wrote: >> On Fri, Apr 21, 2017 at 11:50 AM, David Härdeman wrote: >>> On Thu, Apr 20, 2017 at 02:19:22PM +0200, David Herrmann wrote: >>>> On Thu,

Re: [systemd-devel] sd-bus: ObjectManager difference with gdbus

2017-04-25 Thread David Härdeman
April 24, 2017 5:49 PM, "Dan Williams" wrote: > On Mon, 2017-04-24 at 16:50 +0200, Lennart Poettering wrote: >> On Fri, 21.04.17 13:22, David Herrmann (dh.herrm...@gmail.com) wrote: >> >>>>> Anyway, gdbus bugs aside, it seems that the interfaces >>

Re: [systemd-devel] sd-bus: ObjectManager difference with gdbus

2017-04-25 Thread David Härdeman
April 21, 2017 1:22 PM, "David Herrmann" wrote: > On Fri, Apr 21, 2017 at 11:50 AM, David Härdeman wrote: >> On Thu, Apr 20, 2017 at 02:19:22PM +0200, David Herrmann wrote: >>> On Thu, Apr 20, 2017 at 12:06 PM, David Härdeman wrote: >> I'm implementing

Re: [systemd-devel] sd-bus: ObjectManager difference with gdbus

2017-04-25 Thread David Härdeman
April 24, 2017 4:51 PM, "Lennart Poettering" wrote: > On Fri, 21.04.17 13:22, David Herrmann (dh.herrm...@gmail.com) wrote: > >> Anyway, gdbus bugs aside, it seems that the interfaces reported by >> sd-bus should match what gdbus does? (assuming, of course, that gd

Re: [systemd-devel] sd-bus: ObjectManager difference with gdbus

2017-04-21 Thread David Herrmann
Hi On Fri, Apr 21, 2017 at 11:50 AM, David Härdeman wrote: > On Thu, Apr 20, 2017 at 02:19:22PM +0200, David Herrmann wrote: >>On Thu, Apr 20, 2017 at 12:06 PM, David Härdeman wrote: >>> Hi, >>> >>> I'm implementing a server which creates an ObjectM

Re: [systemd-devel] sd-bus: ObjectManager difference with gdbus

2017-04-21 Thread David Härdeman
On Thu, Apr 20, 2017 at 02:19:22PM +0200, David Herrmann wrote: >On Thu, Apr 20, 2017 at 12:06 PM, David Härdeman wrote: >> Hi, >> >> I'm implementing a server which creates an ObjectManager using the >> sd-bus API and there seems to be some differences between ho

Re: [systemd-devel] sd-bus: ObjectManager difference with gdbus

2017-04-20 Thread David Herrmann
Hey On Thu, Apr 20, 2017 at 12:06 PM, David Härdeman wrote: > Hi, > > I'm implementing a server which creates an ObjectManager using the > sd-bus API and there seems to be some differences between how gdbus and > sd-bus implements the API. > > I implemented a simple O

[systemd-devel] sd-bus: ObjectManager difference with gdbus

2017-04-20 Thread David Härdeman
at gdbus does? (assuming, of course, that gdbus can be considered the "reference" implementation). Regards, David ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] How to unset "uaccess" tag in udev rule?

2017-03-27 Thread David Herrmann
Hi On Sun, Mar 26, 2017 at 8:07 PM, Manuel Reimer wrote: > On 03/25/2017 05:16 PM, David Herrmann wrote: >>>> >>>> So far I did this by creating an empty file with the same name in >>>> /etc/udev/rules.d which works well, but for no reason the name was >

Re: [systemd-devel] How to unset "uaccess" tag in udev rule?

2017-03-25 Thread David Herrmann
I did this by creating an empty file with the same name in >> /etc/udev/rules.d which works well, but for no reason the name was >> changed some time ago which overrides my empty file and reactivates >> the problematic rule. > That's the only way. Tags cannot be unset.

Re: [systemd-devel] systemd reboot problem

2017-03-07 Thread David Strauss
> But I don't want to wait for those services to shutdown. Then there's no reason to interact with systemd if you want to force an immediate, unclean reboot. You just want something like the reboot syscall with LINUX_REBOOT_CMD_RESTART. ___ systemd-devel

Re: [systemd-devel] 3CX PhoneSystem 01 Management Console won't start

2017-03-07 Thread David Strauss
This failure is not from systemd; systemd is only the messenger: > Mar 07 11:08:09 3CX systemd[1]: 3CXPhoneSystemMC01.service start operation timed out. Terminating. Someone needs to troubleshoot why 3CXPhoneSystemMC01.service is hanging when it tries to start, and this list can't answer that. Yo

Re: [systemd-devel] [PATCH] hostnamed: regard convertible chassis type as laptop

2017-02-27 Thread David Herrmann
s. > > BTW, since the implementation seems to think the data is unreliable, > perhaps it would be prudent to say so in hostnamectl documentation, so > the consumers of the data might be more thoughtful about what to use it > for? Turned into a github PR [1]. Can we continue the discus

Re: [systemd-devel] bus1, dbus(-daemon) and systemd

2016-10-05 Thread David Herrmann
nd systemd > are supposed to fit together in the future. > > If I understood David correctly, bus1 is not meant as a drop-in > replacement for dbus-daemon, but rather provide some simpler, lower > level communication primitives. Yes! > In an earlier talk by Lennart, he mentioned

Re: [systemd-devel] ruby bindings

2016-10-04 Thread David Timothy Strauss
For what it's worth, I try to encourage projects to identify their bindings as simply for systemd, even if the journal support is the first (and only) set of APIs available. It's just so easy to support the other APIs once the journal is already supported, and daemons that want to use the journal s

Re: [systemd-devel] Confusing hwdb matching behaviour

2016-09-12 Thread David Herrmann
you break bsearch() and lookup performance would drop. A much easier solution would be to use multiple virtual tries: Prefix your generic matches with "test-generic:*foobar*" and your specific ones with "test-specific:*foobar*" and then always lookup both. This obviously only works if the number of levels is static. As a hack, I think you can use "**", "***", ... to change the ordering to your needs. We could also say each hwdb-source gets its own virtual trie and they're searched in alphabetical order. This would break ABI, but would make it a lot more powerful. Not sure. Maybe Kay has some comments? David ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Zero downtime restart of Web application (Nginx, Puma, JRuby)

2016-07-15 Thread David Timothy Strauss
On Thu, Jul 14, 2016, 19:07 Kai Hendry wrote: > I would love to see that 10 lines of shell you claimed, but I think you > might be underestimating the fine work that went into Dokku! > It's not so much underestimating the work in Dokku as much as leveraging what systemd and a tool like haproxy p

Re: [systemd-devel] Zero downtime restart of Web application (Nginx, Puma, JRuby)

2016-07-14 Thread David Timothy Strauss
Dokku would be about a 5-10 lines of shell script with services running in systemd. On Wed, Jul 13, 2016, 20:41 Kai Hendry wrote: > On Sat, 18 Jun 2016, at 07:56 PM, Paul Menzel wrote: > > Is that possible by just using systemd, or is a load balancer like > > HAProxy or a special NGINX configura

Re: [systemd-devel] Adding a Timer section to .service files

2016-07-08 Thread David Timothy Strauss
On Fri, Jul 8, 2016 at 9:07 AM Lennart Poettering wrote: > Ultimately it's really a design decision: tabular file formats have > the benefit of being a lot more dense, but are neither particularly > extensible nor self-explanatory (as you need to know what each column > means). Unit files are a b

Re: [systemd-devel] Zero downtime restart of Web application (Nginx, Puma, JRuby)

2016-07-06 Thread David Timothy Strauss
You either need a load balancer (less elegant) or need to make use of the Linux kernel's SO_REUSEPORT option so the new application can bind to the same port as the old one (at which point the old application should unbind the port and shut itself down).

Re: [systemd-devel] rkt container engine fetch user/perm patterns

2016-05-31 Thread David Timothy Strauss
There could be a (potentially socket-activated) service that handles requests for image downloads. On Tue, May 31, 2016, 11:06 Brandon Philips wrote: > Hello Everyone- > > The rkt container engine wants to run with different permissions pre-start > and start. In pre-start it needs to fetch/downl

Re: [systemd-devel] Hear opinions about changing watchdog timeout value during service running

2016-05-24 Thread David R. Piegdon
e it as is, as a seriously safety-concerned service then just must not be allowed to use this feature (by disabling NotifyAccess). Viele Grüße, David ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Hear opinions about changing watchdog timeout value during service running

2016-05-23 Thread David R. Piegdon
=30s Granting any possible change would diminish safety expected from a watchdog mechanism. At least IMHO. David ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Configuring ethernet link fails with No such device

2016-04-12 Thread David Miller
From: Bob Ham Date: Tue, 12 Apr 2016 09:58:12 +0100 > On Mon, 2016-04-11 at 15:46 -0700, Stefan Agner wrote: > >> Or in other words: Is this a Kernel or systemd issue? > > From what I recall, both; an issue with the FEC driver, and issues in > systemd/udevd's handling of link-level settings. T

Re: [systemd-devel] Configuring ethernet link fails with No such device

2016-04-11 Thread David Miller
From: Stefan Agner Date: Mon, 11 Apr 2016 15:46:08 -0700 > What is the expectation/definition when link configuration should be > possible? Only after the network device got opened or before? Only after it is open. Drivers almost always have the entire chip in powerdown state when it is not ope

Re: [systemd-devel] Is it possible to dynamically remove the "uaccess" tag?

2016-02-15 Thread David Herrmann
there is no way to remove tags with libudev. It also seems to be impossible >> to set an ACL rule to deny access for everyone. Any other suggestions? > > There isn't any concept of ownership in udev, and I am pretty sure > there shouln't be. > > input does know one h

Re: [systemd-devel] Seeking advice for configuring SystemCallFilter=

2016-01-22 Thread David Timothy Strauss
On Fri, Jan 22, 2016 at 1:36 PM Mantas Mikulėnas wrote: > There's a third way: > > ExecStart=/usr/bin/strace -D -ff -o /tmp/myservice.trace > /usr/bin/myservlce --foo > Do you know if that would pass through file descriptors for socket activation? ___

Re: [systemd-devel] Seeking advice for configuring SystemCallFilter=

2016-01-22 Thread David Timothy Strauss
Rebooting an old thread now that we're finally testing this out. > "strace" should do the job. It should give you a pretty good idea of all syscalls a process uses. That's what I used when testing SyscallFilters=. This turns out to be less useful than it seems. There are two major ways to invoke

Re: [systemd-devel] XSLT error compiling systemd

2015-12-12 Thread David Herrmann
stom-man.xsl line 27 element import > xsl:import : unable to load > http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl > Makefile:22089: recipe for target 'man/bootup.7' failed Do you have the required stylesheets installed? In particular, d

  1   2   3   4   5   6   7   8   9   10   >