Re: [systemd-devel] systemctl stop going through timeout even though all processes have exited

2023-10-23 Thread Martin Schwenke
'tracepoint:syscalls:sys_enter_exec*{ printf("pid: %d, comm: %s, args: ", pid, comm); join(args->argv); }' to trace exec()s. Although I see other executables being run, though nothing related to systemd, I don't see systemd-cgroups-agent being run. Thanks again for any ideas... peace & happiness, marti

Re: [systemd-devel] systemctl stop going through timeout even though all processes have exited

2023-10-12 Thread Martin Schwenke
Hi Mantas, Yes, it looks like cgroups v1. Would this be a kernel bug? systemd bug? Thanks... peace & happiness, martin On Wed, 11 Oct 2023 08:19:59 +0300, Mantas Mikulėnas wrote: > Is this with cgroups v1 or v2? If cgroups v1 is involved (thanks Docker), I > recall it was a b

[systemd-devel] systemctl stop going through timeout even though all processes have exited

2023-10-10 Thread Martin Schwenke
arting. It does not send STOPPING=1. winbindd is much simpler during shutdown. I can get logs for this one too if necessary. Thanks for any help. peace & happiness, martin

Re: [systemd-devel] Service not run, although enabled

2023-08-08 Thread Martin Stenzel
and After are redundant, every standard service will be ordered after local-fs.target unless it also has DefaultDependencies=no. My answer/question: I want my service to be run DIRECTLY (at first place) AFTER the local filesystems (in /etc/fstab) were mounted. Martin. --  Martin Stenzel (马丁-斯坦泽

[systemd-devel] Service not run, although enabled

2023-08-07 Thread Martin Stenzel
striked "RemainAfterExit", etc. Is there any way I can see the whole process verbosely? Martin. --  Martin Stenzel (马丁-斯坦泽尔) An der Drehscheibe 9 50733 Köln Deutschland -BEGIN PGP PUBLIC KEY BLOCK- mDMEZHjlmRYJKwYBBAHaRw8BAQdAEr/C08aStyKx+vztCxz4Nn8BHO2Lx0O

Re: [systemd-devel] systemd enables custom service units on firstboot

2023-05-01 Thread Martin Petzold
-all'? Thanks, Martin Am 29.04.23 um 18:20 schrieb Dan Nicholson: For Endless OS we went the opposite way under the idea that we don't want to have to go add an entry for every service that might get added when the packages change. Basically we work under the assumption that a package included

Re: [systemd-devel] systemd enables custom service units on firstboot

2023-04-29 Thread Martin Petzold
on firstboot on Debian. What would you then suggest: a. Disable every single service unit after copy to the /lib/systemd/system location manually? b. Add a 99-disable.preset file with 'disable *'? (I wonder why Debian does not have it and if it then may brake something) Thanks, Martin On Sat

Re: [systemd-devel] systemd enables custom service units on firstboot

2023-04-29 Thread Martin Petzold
Dear Paul, Am 29.04.23 um 17:13 schrieb Paul Menzel: Dear Martin, Am 29.04.23 um 16:12 schrieb Martin Petzold: we are building our OS with debootstrap (Debian bullseye). Our image shall be flashed on embedded devices. In order to get a unique machine-id we removed '/etc/machine-id

[systemd-devel] systemd enables custom service units on firstboot

2023-04-29 Thread Martin Petzold
) Custom Debian bullseye (with some packages from bullseye-backports) Custom Kernel 5.10 U-Boot [1] https://systemd.io/BUILDING_IMAGES/ [2] https://wiki.debian.org/MachineId Thanks, Martin

Re: [systemd-devel] Cannot mount /sys/kernel/debug in nspawn container

2023-03-24 Thread Martin
On 2023-03-24 20:01, Michal Koutný wrote: > On Sun, Mar 19, 2023 at 07:16:56PM +0000, Martin wrote: >> Any idea, what I might missing? > > Permissions? > (Incresing logging verbosity may give you some hints. [1][2]) Thank you very much! I'm not sure, if I will debug that, b

[systemd-devel] Cannot mount /sys/kernel/debug in nspawn container

2023-03-19 Thread Martin
Dears, I have a Debian 11 host with Debian 11 nspawn container, i.e. kernel 5.10.0-20 and systemd 247.3-7+deb11u1 on amd64. My container.nspawn file contains, among others, the lines [Exec] PrivateUsers=false [Files] Bind=/sys/kernel/debug The directory is populated on the host, but in the

[systemd-devel] Use / test systemd-sysupdate with Debian bullseye(-backports)

2023-01-25 Thread Martin Petzold
have seen, that there is currently active work on those packages (specifically systemd-resolved came up and was moved from systemd package). We are also happy to give feedback on our test results and any bugs / risks within our environment. Thanks, Martin

Re: [systemd-devel] Please help: timeout waiting for /dev/tty* console device

2023-01-09 Thread Martin Wilck
system to wait for /dev/ttyLXU0 to become available (via udev?). > Have you tried systemd.default_timeout_start_sec= ? Martin

Re: [systemd-devel] eth2: Failed to rename network interface 6 from 'eth2' to 'eno1': File exists

2022-01-05 Thread Martin Wilck
s acpi_index==1 and another one has index==1 (IIRC the first is derived from ACPI _DSM, the second from SMBIOS / DMI type 41). Martin

Re: [systemd-devel] Antw: [EXT] Re: [systemd‑devel] Run reboot as normal user

2021-12-01 Thread Martin Wilck
t is, I'd prefer it over other solutions simply because it's more transparent. Capability bits tend to go unnoticed. Martin

Re: [systemd-devel] Run reboot as normal user

2021-12-01 Thread Martin Wilck
f you use CAP_SYS_ADMIN, you might as well use setuid. Same argument - if you restrict the program properly, it comes down to exactly the same thing that polkit would do, just far simpler. Martin

Re: [systemd-devel] [dm-devel] RFC: one more time: SCSI device identification

2021-04-28 Thread Martin Wilck
en trigger aborted commands > or UA's as well which will be picked up by the kernel/respected > drivers. Thanks a lot. I'm not quite certain which of these paragraphs would apply to the situation I had in mind (administrator remapping an existing LUN on a storage array to a different volume). That s

Re: [systemd-devel] RFC: one more time: SCSI device identification

2021-04-28 Thread Martin Wilck
On Tue, 2021-04-27 at 16:41 -0400, Ewan D. Milne wrote: > On Tue, 2021-04-27 at 20:33 +0000, Martin Wilck wrote: > > On Tue, 2021-04-27 at 16:14 -0400, Ewan D. Milne wrote: > > > > > > There's no way to do that, in principle.  Because there could be > > > other

Re: [systemd-devel] RFC: one more time: SCSI device identification

2021-04-27 Thread Martin Wilck
On Tue, 2021-04-27 at 16:14 -0400, Ewan D. Milne wrote: > On Mon, 2021-04-26 at 13:16 +0000, Martin Wilck wrote: > > On Mon, 2021-04-26 at 13:14 +0200, Ulrich Windl wrote: > > > > > > > > > > > > > While we're at it, I'd lik

Re: [systemd-devel] [dm-devel] RFC: one more time: SCSI device identification

2021-04-27 Thread Martin Wilck
know that WWID changes can happen with certain storage arrays. See  https://listman.redhat.com/archives/dm-devel/2021-February/msg00116.html  and follow-ups, for example. Regards, Martin -- Dr. Martin Wilck , Tel. +49 (0)911 74053 2107 SUSE Software Solutions Germany GmbH HRB 36809, AG Nür

Re: [systemd-devel] RFC: one more time: SCSI device identification

2021-04-26 Thread Martin Wilck
s to react to the notification immediately, e.g. by blocking IO to the device, 3) userspace tooling such as udev or multipathd need to figure out how to how to deal with the situation cleanly, and eventually unblock it. Wrt 1), we can only hope that it's the case. But 2) and 3) need work, afaics.

Re: [systemd-devel] RFC: one more time: SCSI device identification

2021-04-23 Thread Martin Wilck
On Thu, 2021-04-22 at 21:40 -0400, Martin K. Petersen wrote: > > Martin, > > > I suppose 99.9% of users never bother with customizing the udev > > rules. > > Except for the other 99.9%, perhaps? :) We definitely have many users > that tweak udev storage rules for a

Re: [systemd-devel] RFC: one more time: SCSI device identification

2021-04-22 Thread Martin K. Petersen
Martin, > I suppose 99.9% of users never bother with customizing the udev rules. Except for the other 99.9%, perhaps? :) We definitely have many users that tweak udev storage rules for a variety of reasons. Including being able to use RII for LUN naming purposes. > But we can actually c

Re: [systemd-devel] RFC: one more time: SCSI device identification

2021-04-22 Thread Martin Wilck
On Wed, 2021-04-21 at 22:46 -0400, Martin K. Petersen wrote: > > Martin, > > > Hm, it sounds intriguing, but it has issues in its own right. For > > years to come, user space will have to probe whether these attribute > > exist, and fall back to the curr

Re: [systemd-devel] RFC: one more time: SCSI device identification

2021-04-21 Thread Martin K. Petersen
Martin, > Hm, it sounds intriguing, but it has issues in its own right. For > years to come, user space will have to probe whether these attribute > exist, and fall back to the current ones ("wwid", "vpd_pg83") > otherwise. So user space can't be si

Re: [systemd-devel] RFC: one more time: SCSI device identification

2021-04-16 Thread Martin Wilck
Hello Martin, Sorry for the late response, still recovering from a week out of office. On Tue, 2021-04-06 at 00:47 -0400, Martin K. Petersen wrote: > > Martin, > > > The kernel's preference for type 8 designators (see below) is in > > contrast with the established user sp

Re: [systemd-devel] RFC: one more time: SCSI device identification

2021-04-05 Thread Martin K. Petersen
Martin, > The kernel's preference for type 8 designators (see below) is in > contrast with the established user space algorithms, which determine > SCSI WWIDs on productive systems in practice. User space can try to > adapt to the kernel logic, but it will necessarily be a slow a

[systemd-devel] RFC: one more time: SCSI device identification

2021-03-29 Thread Martin Wilck
ld start with making the "wwid" attribute part of the udev rule logic, and letting distros configure whether the kernel logic or the traditional udev logic would be used. Please tell me your thoughts on this matter. Regards, Martin PS: Incomplete list of algorithms for SCSI designator

Re: [systemd-devel] Questions about systemd's "root storage daemon" concept

2021-01-28 Thread Martin Wilck
Hi Lennart, thanks again. On Wed, 2021-01-27 at 23:56 +0100, Lennart Poettering wrote: > On Mi, 27.01.21 21:51, Martin Wilck (mwi...@suse.com) wrote: > > if you want the initrd environment to fully continue to exist, I don't. I just need /sys and /dev (and perhaps /proc and

Re: [systemd-devel] Questions about systemd's "root storage daemon" concept

2021-01-27 Thread Martin Wilck
s everything just fine (**). However, if I do this, I end up in the real root file system, which is what I wanted to avoid in the first place. So, I guess I'll have to create bind mounts for /dev, /sys etc. in the old root, possibly after entering a private mount namespace? The other option wou

Re: [systemd-devel] Questions about systemd's "root storage daemon" concept

2021-01-26 Thread Martin Wilck
should not be required to > maintain access to something you found. True. But if udev ran without interruption, we could get rid of coldplug after switching root. That could possibly save us a lot of trouble. Anyway, it's just a thought I find tempting. Regrads Martin _

Re: [systemd-devel] Questions about systemd's "root storage daemon" concept

2021-01-25 Thread Martin Wilck
dolin:~/:[141]# systemctl show -p IgnoreOnIsolate nvme-monitor.service IgnoreOnIsolate=yes Tested only with systemd-234 so far. Any ideas what I'm getting wrong? Martin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lis

Re: [systemd-devel] Questions about systemd's "root storage daemon" concept

2021-01-25 Thread Martin Wilck
On Mon, 2021-01-25 at 18:33 +0100, Lennart Poettering wrote: > On Sa, 23.01.21 02:44, Martin Wilck (mwi...@suse.com) wrote: > > > Hi > > > > I'm experimenting with systemd's root storage daemon concept > > (https://systemd.io/ROOT_STORAGE_DAEMONS/). > > >

[systemd-devel] Questions about systemd's "root storage daemon" concept

2021-01-22 Thread Martin Wilck
;systemctl status" would show the service as running even thought the instance inside the root FS isn't actually running. I am unsure if all this can be achieved easily with the current sytemd functionality, please advise. I hope this makes a

Re: [systemd-devel] Journalctl --list-boots problem

2019-10-31 Thread Martin Townsend
On Thu, Oct 31, 2019 at 4:34 PM Lennart Poettering wrote: > On Di, 08.10.19 16:57, Martin Townsend (mtownsend1...@gmail.com) wrote: > > > Thanks for your help. In the end I just created a symlink from > > /etc/machine-id to /data/etc/machine-id. It complains really

Re: [systemd-devel] DHCP Server on multiple interfaces

2019-10-17 Thread Martin Townsend
On Thu, Oct 17, 2019 at 4:55 PM Martin Townsend wrote: > > Hi, > > Does systemd support the networkd DHCP Server on multiple network > interfaces. I ask as we have an embedded system running systemd 239 > and we want to configure a DHCP server on a bluetooth PAN and one

[systemd-devel] DHCP Server on multiple interfaces

2019-10-17 Thread Martin Townsend
File: /etc/systemd/network/30-pan0-bridge.network Type: bridge State: routable (failed) Driver: bridge HW Address: 82:2f:45:2a:9c:5a Address: 192.168.10.1 eth0 is named such that it should be configured before the pan0. Best Regar

Re: [systemd-devel] Journalctl --list-boots problem

2019-10-08 Thread Martin Townsend
and the data partition is ready. But the journal seems to be working ok and --list-boots is fine. The initramfs would definitely be more elegant solution to ensure /etc/machine-id is ready. I don't suppose you know what requires /etc/machine-id so early in the boot? Cheers, Martin. On Tue, Oct 8

Re: [systemd-devel] Journalctl --list-boots problem

2019-10-08 Thread Martin Townsend
disable the /lib/systemd/system/systemd-machine-id-commit.service and create /etc/machine-id myself using something like the MAC address and some random numbers? Cheers, Martin. On Mon, Oct 7, 2019 at 9:29 PM Mantas Mikulėnas wrote: > > Run both with SYSTEMD_LOG_LEVEL=debug in the envir

[systemd-devel] Journalctl --list-boots problem

2019-10-07 Thread Martin Townsend
indices, debug hashmap, debug mmap cache, valgrind Many Thanks, Martin. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] SystemCallFilter

2019-05-28 Thread Martin Wilck
temCallFilter" as a security measure and if one cannot > rely > on mechanisms any more, what good is such a feature? Have you seen this? https://lwn.net/Articles/738694/ IMO this is a question related to seccomp design; "SystemCallFilter" is just a convenient helper for using sec

[systemd-devel] RFC: temporarily deactivating udev rules during coldplug

2019-05-28 Thread Martin Wilck
st" doesn't work - unmasking must be done even if "udev settle" fails or times out. "ExecStopPost" doesn't work either, we don't want to run this when systemd-udev-settle.service is stopped after having been started successfully. See details below. Comments welcome. Als

Re: [systemd-devel] Antw: Re: Antw: Re: Arbitrary restrictions (e.g. for RuntimeDirectory)

2019-05-14 Thread Martin Pitt
ome adventurous people even have it on NFS. Martin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Permanently Ban for Dovecot

2019-03-10 Thread Martin Pitt
the documentation or ask on the mailing lists/forum of your firewall software. Martin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Possible race condition with LVM activation during boot

2019-02-07 Thread Martin Wilck
processes are still running. "lvm2- monitor.service" runs "vgchange --monitor y". It almost looks as if this had caused the devices to be visible by systemd, but that would be wrong AFAICT. Can you reproduce this with "udev.log-priority=debug"? Regards,

Re: [systemd-devel] LibUdev: serial not displayed properly for scsi devices

2019-02-07 Thread Martin Wilck
be fixed (if anything). We can't change udev in this regard. Too much code depends on the given semantics of ID_SERIAL. Regards, Martin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] udev “PROGRAM/RUN” command not working properly for “REMOVE” action

2019-02-05 Thread Martin Wilck
s attributes in rules for "remove" events as errors in the first place? Regards, Martin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] udev “PROGRAM/RUN” command not working properly for “REMOVE” action

2019-02-01 Thread Martin Wilck
hem is not (or unreliably) set on remove events, and thus causing your rule not to be run. E.g. start with ACTION=="remove", RUN+="..." and then add the original conditions one by one. Regards Martin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] mount unit with special requirements

2018-09-10 Thread Martin Wilck
m your problem description, I'd infer that this file system needs to be mounted only at certain times (while the backup is running). My suggestion would be to create a dedicated script (or systemd service, for that matter) that would mount the file system, s

Re: [systemd-devel] mount unit with special requirements

2018-09-10 Thread Martin Wilck
s system does not use an LVM partitioning. fsfreeze should work without LVM. Of course you shouldn't be writing tons of data to the file system while it's frozen, therefore LVM snapshot + quick unfreeze would be more robust. > > > (I would just use `umount /var/backup`, however.)

Re: [systemd-devel] Supervisory Watchdog notification not working when using SmackProcessLabel

2018-08-07 Thread Martin Townsend
Any comments from systemd devs on this issue? I'm particulary keen to know if using the very permissive values on the /run/systemd/notify is advisable or whether this would cause any security issues. On Wed, Aug 1, 2018 at 6:46 PM Martin Townsend wrote: > > Hi Casey, > > Thanks

Re: [systemd-devel] Supervisory Watchdog notification not working when using SmackProcessLabel

2018-08-01 Thread Martin Townsend
Hi Casey, Thanks you for you prompt response. On Wed, Aug 1, 2018 at 5:32 PM Casey Schaufler wrote: > > On 8/1/2018 3:18 AM, Martin Townsend wrote: > > Hi, > > > > I have a service running with a SmackProcessLabel that uses the > > supervisory watchd

[systemd-devel] Supervisory Watchdog notification not working when using SmackProcessLabel

2018-08-01 Thread Martin Townsend
re a better way of ensuring /run/systemd/notify can be accessed by a service with a User defined SMACK label? or is this patch to manager_setup_notify sufficient? Many Thanks in Advance, Martin. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] How to scale journald correctly?

2018-07-17 Thread Martin Häcker
. Please advise. For reference, I'm referring to the behavior documented in this bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1599658 Best Regards, Martin Häcker ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.

[systemd-devel] How to scale journald correctly?

2018-07-10 Thread Martin Häcker
eir journald deployments - should they want to retain more log messages. Many thanks for your answers, Martin Häcker ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Graphical session targets as standard

2018-07-04 Thread Martin Pitt
see my previous reply on the list. Also, please don't cut away the https:// from links, this makes it impossible to click on them. Martin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Graphical session targets as standard

2018-06-30 Thread Martin Pitt
ps://github.com/systemd/systemd/commit/c92fcc4f4375b0 * My talk about it: https://www.youtube.com/watch?v=hq18daxTkLA * Slides for the talk: https://people.debian.org/~mpitt/systemd.conf-2016-graphical-session.pdf Martin signature.asc Description

[systemd-devel] system failing to boot with SMACK/IMA enabled.

2018-03-14 Thread Martin Townsend
/cgroup/systemd: No such file or directory [!!] Failed to mount API filesystems, freezing. systemd[1]: Freezing execution. Many Thanks, Martin. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman

[systemd-devel] VRF - netdev could not be created: Operation not supported

2018-01-25 Thread Martin Belanger
eted Jan 24 19:57:02 OS10 systemd[1]: Started Network Service. Jan 24 19:57:02 OS10 systemd-networkd[3818]: vrf-test: netdev could not be created: Operation not supported Thanks, Martin​ ___ systemd-devel mailing list systemd-devel@lists.f

Re: [systemd-devel] Apparmor and ureadhead failed to start

2018-01-11 Thread Martin Pitt
tact the Ubuntu bug tracker about this. These issues are not at all related to upstream systemd development. Martin ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] Inhibiting hibernate

2017-09-16 Thread Martin Schlatter
My system: Ubuntu 17.04 , Linux 4.10.0-33, systemd 232-21ubuntu5 For a backup program, I wanted to prevent that the backup program is interrupted by a suspend, sleep, hibernate oder shutdown which would cause the backup to be destroyed. And if the backup runs automatically in the background,

Re: [systemd-devel] About stable network interface names

2017-06-09 Thread Martin Wilck
Yf$Z scheme, which is actually just the BDF. The interface on my laptop is called enp0s31f6 although the laptop doesn't have "slot 31". (1) Martin (1) Well, that's actually because the manufacturer saved the money to implement the DMI BIOS correctly: there is even a DMI type 41 entry fo

Re: [systemd-devel] About stable network interface names

2017-06-06 Thread Martin Wilck
em PCI slot numbers to bus-device-function tuples. Obviously, the physical slot a controller is connected to is less likely to change than the bus-device-function number, so exposing it might make a lot of sense. All of this requires support on the BIOS/Firmware side - without that, none of the "p

Re: [systemd-devel] Best way to configure longer start timeout for .device units?

2017-05-08 Thread Martin Wilck
ceTimeoutStartSec= setting might be OK to add... Wouldn't this be, at least in part, be covered by using the newly introduced "JobRunningTimeoutSec" for devices? https://github.com/systemd/systemd/commit/db7076bf78bd8e466ae927b6d3ddf 64190c8d299 https://github.com/systemd/systemd/pull/5164 Martin -- Dr.

[systemd-devel] ANN: CI now tests meson and rebases

2017-04-27 Thread Martin Pitt
Hello all, quick announcement for things to watch out for in PR integration tests. After Zbigniew's meson build system work landed two days ago [1], I now set up our CI so that the "xenial-s390x" test builds using meson, while i386 and amd64 continue to run the classic autotools build. I

Re: [systemd-devel] Should automount units for network filesystems be Before=local-fs.target?

2017-04-27 Thread Martin Wilck
or the automount unit to be ordered before > (and,  > if not noauto, be pulled in by) local-fs.target, even for network  > filesystems? Please don't. We don't need additional failure points for local- fs.target. Martin -- Dr. Martin Wilck <mwi...@suse.com>, Tel. +49 (0)911 74053 2

Re: [systemd-devel] Early testing for service enablement

2017-04-13 Thread Martin Wilck
work, even if it's called right after PID 1 is started. I'm pretty certain that that wasn't the case for me. My client was running from an udev rule and thus not unprivileged. That should be considered a bug, then? My tests were done with systemd 228 a while ago. Martin -- Dr. Martin Wilck <m

[systemd-devel] Early testing for service enablement

2017-04-13 Thread Martin Wilck
of systemd's service enablement logic). Regards Martin -- Dr. Martin Wilck <mwi...@suse.com>, Tel. +49 (0)911 74053 2107 SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) ___ systemd-devel mailing list systemd-d

Re: [systemd-devel] Disabling 'Predictable Network Interface Names'

2017-03-07 Thread Martin Pitt
Hello Lucas, Lucas Ventura Carro [2017-03-07 9:25 +0100]: > (1) Creating a symlink > (2) Changing a kernel boot parameter > > But, using option (1) doesn't work, and I'm still having predictable names. Did you rebuild the initrd after that? Without that, it won't work ind

Re: [systemd-devel] [PATCH] add LIB_ARCH_TUPLE for tilegx-linux-gnu

2017-02-27 Thread Martin Pitt
> > for you to fetch changes up to c05c6e9cedf20b64b22249f88af514a70b6edd4b: > > add LIB_ARCH_TUPLE for tilegx-linux-gnu (2017-02-27 16:21:06 +0100) Imported into https://github.com/systemd/systemd/pull/5474 Thanks! Martin ___ systemd

Re: [systemd-devel] Errorneous detection of degraded array

2017-01-27 Thread Martin Wilck
he device times out before the "last resort" timer starts it (and before the last devices appear). Martin -- Dr. Martin Wilck <mwi...@suse.com>, Tel. +49 (0)911 74053 2107 SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) ___

Re: [systemd-devel] systemd-networkd in initrd

2016-12-25 Thread Martin Pitt
uch other bells and whistles aside from busybox and udev) and it works fine. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd-devel mailing lis

Re: [systemd-devel] systemd-timesyncd with read-only root filesystem

2016-12-10 Thread Martin Pitt
writable. > > > # systemctl status systemd.timesyncd > > > * systemd.timesyncd.service > > >Loaded: not-found (Reason: No such file or directory) > > >Active: inactive (dead) It's systemd-timesyncd (dash, not dot). Viele Grüße, Martin -- Martin Pitt

Re: [systemd-devel] systemd-timesyncd with read-only root filesystem

2016-12-09 Thread Martin Pitt
; NTP synchronized: no > RTC in local TZ: no > DST active: n/a I don't see an inconsistency? If timedated is not running then timedatectl can't actualy talk to it and just shows values which it can make up by itself. Thanks, Martin -- Martin Pi

Re: [systemd-devel] systemd-timesyncd with read-only root filesystem

2016-12-04 Thread Martin Pitt
k in /etc pointing to /dev/null. This is called "masking" and what "systemctl mask" does, and is sort of a stronger version of "disable" (in the sense that it will also not be started any more through Requires= and friends). Martin -- Martin Pitt

Re: [systemd-devel] Stable interface names even when hardware is added or removed, not true

2016-12-02 Thread Martin Pitt
get about it). So IMHO the "(to the level the firmware permits this)" qualification seems to adequately address that? Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) __

Re: [systemd-devel] systemd-timesyncd with read-only root filesystem

2016-12-01 Thread Martin Pitt
re if dangling symlinks should be counted as "enabled", but this should least explain your observation. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___

Re: [systemd-devel] Promoting a pull request

2016-11-22 Thread Martin Pitt
e it's just UI obfuscation, but perhaps label setting/removing is limited to project members? Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd-devel

Re: [systemd-devel] How to make udev not touch my device?

2016-11-04 Thread Martin Pitt
st straightforward way would be to tag or set a property on those devices which you want to handle in libvirtd yourself, and then add something like TAG=="libvirtd", GOTO="skip_selinux_context" [... original rule that changes context goes here ..] LABEL="skip_seli

Re: [systemd-devel] PAM session hooks for independent session

2016-10-29 Thread Antoine Martin
On 29/10/16 22:20, Brian Kroth wrote: > On Sat, Oct 29, 2016, 07:02 Reindl Harald <h.rei...@thelounge.net > <mailto:h.rei...@thelounge.net>> wrote: > Am 29.10.2016 um 13:37 schrieb Antoine Martin: > > Just like "screen" or "tmux",

[systemd-devel] PAM session hooks for independent session

2016-10-29 Thread Antoine Martin
Hi, Just like "screen" or "tmux", we want to ensure that some xpra sessions (aka "screen for X11", VNC-like but seamless) can survive when the user logs out. Background: xpra runs X11 applications using an Xvfb server, when client(s) are connected we forward the pixels/keyboard/mouse/etc. Based

Re: [systemd-devel] getting systemd 232 ready

2016-10-21 Thread Martin Pitt
egression from 231, so we could easily move them to 233. Should we? Thanks for pushing this! Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___ systemd-deve

Re: [systemd-devel] "dev-xxx.device" is trying to start indefinitely long

2016-09-20 Thread Martin Pitt
ce units are mostly being used to know when the corresponding mount units get started. Anton Gerasimov [2016-09-20 11:37 +0200]: > Yes, just adding 'KERNEL=="hda" TAGS+="systemd"' to udev rules did the > trick. Thank you! That means you are missing /lib/udev/rules.d/99-syste

Re: [systemd-devel] "dev-xxx.device" is trying to start indefinitely long

2016-09-19 Thread Martin Pitt
uses systemd to never "see" it. We don't understand the bug at all yet, nor are able to reproduce it with reasonable effort. Does your problem happen at every boot, or only sometimes? In the former case it might actually not be a race condition but a more systematic error, such as missi

Re: [systemd-devel] How to override generators on debian (v215)?

2016-08-18 Thread Martin Pitt
temd/system-generators/ with a different name. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) signature.asc Description: PGP signature ___ systemd-devel mail

Re: [systemd-devel] Standardizing names for graphical session units

2016-07-07 Thread Martin Pitt
nce continues to run after you log out of the graphical session, as long as that user still has some other (non-graphical) session open. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian

Re: [systemd-devel] Standardizing names for graphical session units

2016-07-07 Thread Martin Pitt
d to apply transitively, and to Wants= as well, which sounds quite strange). OTOH adding "PartOf=graphical-session.target" to all graphical session specific user services works fine and works with the existing systemd model and dependencies. Martin -- Martin Pitt

Re: [systemd-devel] Standardizing names for graphical session units

2016-07-07 Thread Martin Pitt
Martin Pitt [2016-07-07 9:29 +0200]: > I'll go ahead and create a PR with the unit and a manpage, using > graphical-session.target for now. Then the name bikeshedding can be > continued there. https://github.com/systemd/systemd/pull/3678 -- Martin Pitt

Re: [systemd-devel] Standardizing names for graphical session units

2016-07-07 Thread Martin Pitt
reate a PR with the unit and a manpage, using graphical-session.target for now. Then the name bikeshedding can be continued there. BTW, I updated http://people.canonical.com/~pitti/tmp/session.sh to have a kde.target as well, to demonstrate that this works with two independent sessions. Th

Re: [systemd-devel] Standardizing names for graphical session units

2016-07-06 Thread Martin Pitt
There is Alias= in the [Install] section, but this cannot really be used for this purpose -- we don't want to change the /usr/lib/systemd/user/user-graphical.target symlink every time that we start a user session in a DM. Hence my idea of a graphical.target user unit which would act like an alias, as

Re: [systemd-devel] Standardizing names for graphical session units

2016-07-06 Thread Martin Pitt
Jóhann B. Guðmundsson [2016-07-06 14:02 +]: > Martin is proposing changes to and dependency's on the graphical.target I'm not changing anything. graphical.target as it exists in systemd today is for the *system* instance. I'm talking about the *user* instance, which has no graphical.tar

Re: [systemd-devel] Standardizing names for graphical session units

2016-07-06 Thread Martin Pitt
Martin Pitt [2016-07-06 13:47 +0200]: > Simon McVittie [2016-07-05 10:27 +0100]: > > Could this be done by having the .desktop file in /usr/share/xsessions > > or /usr/share/wayland-sessions start an appropriate systemd user unit > > directly, and wait for it to terminate? &g

Re: [systemd-devel] Standardizing names for graphical session units

2016-07-06 Thread Martin Pitt
> There's also StopWhenUnneeded=, which might useful on the targets. Indeed. The version 3 approach now uses that, and this finally works as intended. Thanks for pointing out! Martin -- Martin Pitt| http://www.piware.de Ubuntu Develop

Re: [systemd-devel] Standardizing names for graphical session units -- version 3, now working!

2016-07-06 Thread Martin Pitt
Andrei Borzenkov [2016-07-06 14:44 +0300]: > On Wed, Jul 6, 2016 at 2:25 PM, Martin Pitt <martin.p...@ubuntu.com> wrote: > >$ cat .config/systemd/user/gnome-session.target > >[Unit] > >Description=User systemd services for GNOME graphical session >

Re: [systemd-devel] Standardizing names for graphical session units

2016-07-06 Thread Martin Pitt
Simon McVittie [2016-07-05 10:27 +0100]: > On 04/07/16 21:01, Martin Pitt wrote: > > A session type like "GNOME" or "KDE" then defines which top-level > > servcies it wants. > > Could this be done by having the .desktop file in /usr/share/xsessio

Re: [systemd-devel] Standardizing names for graphical session units

2016-07-06 Thread Martin Pitt
Martin Pitt [2016-07-06 13:47 +0200]: > I have a gut feeling that this should be expressible with systemd > dependencies -- i. e. "if gnome-session.service stops, then stop > gnome-session.target". Naïvely this would be > "PartOf=gnome-session.target" in gnom

Re: [systemd-devel] Standardizing names for graphical session units -- version 2

2016-07-06 Thread Martin Pitt
t/stop the targets are unaffected by this change; I'll follow up to Simon's reply about that). So again, the only change we should do in systemd is to ship the graphical.target user unit. WDYT? Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Develope

Re: [systemd-devel] Standardizing names for graphical session units

2016-07-04 Thread Martin Pitt
ical.slice" any more which you can refer to in units. We certainly don't want to use the root slice (-.slice) as we don't want to kill *all* the user services on graphical logout. Thanks, Martin -- Martin Pitt| http://www.piware.de

Re: [systemd-devel] how to use per-user systemd --user services / how to replace /etc/xdg/autostart/app.desktop?

2016-06-24 Thread Martin Pitt
e graphical-xfce.slice), and the whole Xsession gets wrapped into starting/stopping the per-session-type slice [2]. It's still a prototype (work on this is postponed until end of July on a sprint), but so far this works reasonably well. Martin [1] https://git.launchpad.net/~pitti/+git/systemd-grap

Re: [systemd-devel] When System is Degraded

2016-06-06 Thread Martin Pitt
uot;? Try adding a .service with "Type=idle" and add it to your default target (usually multi-user.target). This should run the unit after the system is booted (i. e. running or degraded). (Tested here with systemd 230) Martin -- Martin Pitt| http://www.piware

  1   2   3   4   5   6   >