[systemd-devel] rename a block device

2022-04-25 Thread Pascal
hi, the udev rules prohibit renaming anything other than a network device : what is (would be) the way to really rename a block device (not just to create a symbolic link) ? the objective behind this question is (would be) to give access to the block device through an associated read-only loop de

Re: [systemd-devel] rename a block device

2022-04-25 Thread Pascal
device (because absorbed by the snapshot)...* regards, lacsaP. Le lun. 25 avr. 2022 à 16:33, Lennart Poettering a écrit : > On Mo, 25.04.22 16:25, Pascal ([email protected]) wrote: > > > hi, > > > > the udev rules prohibit renaming anything other than a network dev

[systemd-devel] killmode

2022-05-20 Thread Pascal
hi, is it possible to influence the *killmode* of a script launched by an udev rule ? I have a udev rule that starts a script that itself starts qemu-nbd that gets killed once the script is finished (qemu-nbd links a block device to an nbd node). it is not strictly speaking a *long-running proce

Re: [systemd-devel] killmode

2022-05-20 Thread Pascal
acsaP. Le ven. 20 mai 2022 à 17:43, Mike Gilbert a écrit : > On Fri, May 20, 2022 at 10:51 AM Pascal wrote: > > it is not strictly speaking a long-running process but it is a child who > survives his father and who is killed when his father stops living > successfully ! what a strang

Re: [systemd-devel] killmode

2022-05-20 Thread Pascal
will try in this way. thanks for feedback. regards, lacsaP. Le ven. 20 mai 2022 à 19:38, Mike Gilbert a écrit : > On Fri, May 20, 2022 at 1:34 PM Mike Gilbert wrote: > > > > On Fri, May 20, 2022 at 12:54 PM Pascal wrote: > > > > > > not really in the

Re: [systemd-devel] Preventing automatic driver loading on live boot disk

2022-11-17 Thread Pascal
an udev specific rule may be... Le mer. 16 nov. 2022 à 10:41, Andrei Borzenkov a écrit : > On Wed, Nov 16, 2022 at 12:25 PM Vadim Lebedev > wrote: > > > > I'm preparing ubuntu-based live boot disk. It works fine mostly, but on > some machines equipped with Nvidia Quadro cards the default nouvea

Re: [systemd-devel] homed, LUKS2 passphrase encoding, and recovery key

2020-01-24 Thread Pascal
could cryptsetup be "insensitive" to the configured keyboard layout and adopt/toggle the US/ASCII layout ? as the physical keys on the keyboard do not move ;-), the end user would enter the password he wants and cryptsetup would only receive ASCII characters... let's say I use "zézé" (french keyboa

[systemd-devel] renamed link

2017-05-18 Thread Pascal
hi, I rename my network cards (with udev rule or systemd .link file) in order to use their new name everywhere else: sysctl, systemd-networkd, samba, iptables, etc ... unfortunately, sysctl and systemd-networkd are started before the name change and the defined configurations are not applied to m

Re: [systemd-devel] renamed link

2017-05-19 Thread Pascal
or not) : ~> systemd etc... (with new name available) thanks for sysctl tip :-) 2017-05-19 1:52 GMT+02:00 Zbigniew Jędrzejewski-Szmek : > On Thu, May 18, 2017 at 11:51:25PM +0200, Pascal wrote: > > hi, > > > > I rename my network cards (with udev rule or systemd .link file)

Re: [systemd-devel] renamed link

2017-05-19 Thread Pascal
and I'm running/testing on version 232 2017-05-19 16:06 GMT+02:00 Pascal : > note that it's about version 210 (year 2014) > > 2017-05-19 16:04 GMT+02:00 Pascal : > >> hi Lennart, >> >> I read this on https://coreos.com/blog/intro-to-systemd-networkd.

Re: [systemd-devel] renamed link

2017-05-19 Thread Pascal
T+02:00 Lennart Poettering : > On Fri, 19.05.17 09:02, Pascal ([email protected]) wrote: > > > is udev responsible for linking the system with the hardware? > > in this case, why does renaming not take place at the very first level ? > > which would make new name available for

Re: [systemd-devel] renamed link

2017-05-19 Thread Pascal
note that it's about version 210 (year 2014) 2017-05-19 16:04 GMT+02:00 Pascal : > hi Lennart, > > I read this on https://coreos.com/blog/intro-to-systemd-networkd.html : > > *"Also, we should note that networkd is only made aware of new network > devices after ud

[systemd-devel] log queries on DHCPServer provided by systemd-networkd

2017-05-25 Thread Pascal
hi, how to enable DHCPServer log queries ? I can't find any trace of conversations in the journal. regards, lacsaP. ___ systemd-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] systemd-nspawn

2016-01-24 Thread Pascal
hi, I'm discovering and playing with systemd-nspawn and I must say it's pretty cool ! I have a question about the --port option : why it doesn't work on the loopback with --private-network option ? eg "systemd-nspawn -b -D my_container --private-network --port 1234" doesn't connect the port 1234

Re: [systemd-devel] systemd-nspawn

2016-01-25 Thread Pascal
on 0.0.0.0:80 and act as reverse proxy for nodebb : with "systemd-nspawn -b -D nodebb --private-network --port 4567" and without other network setting, I could access nodebb just with "proxy_pass http://127.0.0.1:4567;"; in nginx. regards, lacsaP. 2016-01-25 0:10 GMT+01:00 Pascal : &

Re: [systemd-devel] systemd-nspawn

2016-02-02 Thread Pascal
saP. 2016-01-25 18:39 GMT+01:00 Pascal : > hi again, > > some calrification : I'm on archlinux and systemd version is > systemd 228 > +PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP > +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS

[systemd-devel] Systemd of course

2013-04-07 Thread Pascal
Hi, I need some help to (even) understand systemd process (philosophy)... How, from a service, stop the boot process if an error occurs in this service? For example, a bash script do a check and return false or true. If true returned, all is ok and the boot process go on with default target and

[systemd-devel] systemd debug out of memory

2017-02-28 Thread Pascal kolijn
eedesktop.systemd1': timed out And after the systemd: Freezing execution. systemctl is no longer able to communicate with systemd. It has all the looks of a memory leak somewhere (systemd (-logind) or telnetd) but how can I debug this... Pascal Kolijn Vrije Universiteit - Amsterdam ___

Re: [systemd-devel] systemd debug out of memory

2017-03-05 Thread Pascal Kolijn
Peace, On 28/02/2017 16:00, Lennart Poettering wrote: > On Tue, 28.02.17 13:26, Pascal kolijn ([email protected]) wrote: > >> Hi List, >> >> I've subscribed to this list to ask for help in debugging a problem we >> seem to have with the socket activated telnetd

[systemd-devel] udev rule to mount ext4 with data=journal

2017-06-14 Thread Pascal K
_label_auto_mount_end" Any help is highly appreciated, so far I can only mount with "data=ordered" since this seems to be the default option (for that the two lines matching "ENV{ID_FS_TYPE} are removed). Best regards Pascal ___ systemd-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] udev rule to mount ext4 with data=journal

2017-06-14 Thread Pascal K
I try to achieve that regardless the device plugged to my embedded system the mount will be in folder /media/"name_of_volume". If I understand correctly for the usage of fstab I have to give a static name for the mount point. Thanks for pointing out the "nofail" option.

Re: [systemd-devel] udev rule to mount ext4 with data=journal

2017-06-14 Thread Pascal K
t this means that with setting ENV{mount_options} I am setting a variable from udevd namespace, therefore "...mount -o %E{mount_options}..." should try to run /sbin/mount with the options I selected before? Best regards, Pascal Lennart Poettering schrieb am Mi., 14. Juni 2017 um 10:3

Re: [systemd-devel] udev rule to mount ext4 with data=journal

2017-06-14 Thread Pascal K
To clear things up a bit: I build a Image using Buildroot running Busybox on top. I have SystemVinit. Is there something else commonly used out there? Otherwise I just create my own daemon. Best regards, Pascal Lennart Poettering schrieb am Mi., 14. Juni 2017 um 11:23 Uhr: > On