Re: [systemd-devel] Udev rules on reboot

2020-12-19 Thread Adi Ml
I see. so if I have a rule against a certain usb in udev, it should be blocked automatically during the boot. בתאריך שבת, 19 בדצמ׳ 2020, 15:31, מאת Lennart Poettering ‏< lenn...@poettering.net>: > On Sa, 19.12.20 15:26, Adi Ml (maladi1...@gmail.com) wrote: > > > Hi, > > > > Is there a way to

Re: [systemd-devel] Mount options for ESP, LUKS and rootfs in automatic partition discovery and mounting

2020-12-19 Thread Mantas Mikulėnas
On Sat, Dec 19, 2020, 14:40 Lennart Poettering wrote: > On Sa, 28.11.20 01:26, Bastien Traverse (neit...@esrevart.net) wrote: > > > Hello everyone, > > > > Is it possible to specify mount options for ESP, root and LUKS devices > when > > using automatic partition discovery and mounting with no

Re: [systemd-devel] Udev rules on reboot

2020-12-19 Thread Lennart Poettering
On Sa, 19.12.20 15:26, Adi Ml (maladi1...@gmail.com) wrote: > Hi, > > Is there a way to enforce udev rules on all connected devices (which were > connected pre-boot) after a reboot? > I have tried udevadm trigger and seems like its not working udevadm trigger is invoked atuomatically at boot,

[systemd-devel] Udev rules on reboot

2020-12-19 Thread Adi Ml
Hi, Is there a way to enforce udev rules on all connected devices (which were connected pre-boot) after a reboot? I have tried udevadm trigger and seems like its not working Thank you ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] udev ATTR can have double dots and help writing a rule

2020-12-19 Thread Lennart Poettering
On Di, 01.12.20 02:17, Konomi (konomikit...@gmail.com) wrote: > So this is the eventual rule I ended up writing after having a lot of > trouble writing a udev rule: > > `ACTION=="add", SUBSYSTEM=="ata_port", KERNEL=="ata[0-9]", > TEST=="../../power/control" ATTR{../../power/control}="auto"` > >

Re: [systemd-devel] journalctl -f after restart of journald

2020-12-19 Thread Lennart Poettering
On Mo, 30.11.20 12:08, Ulrich Windl (ulrich.wi...@rz.uni-regensburg.de) wrote: > Hi! > > I just made an "interesting" observation: When running "journalctl > -f" there is no message when journald restarts, meaning you'll have > to restart "journalctl -f", too to see any messages after journald >

Re: [systemd-devel] Mount options for ESP, LUKS and rootfs in automatic partition discovery and mounting

2020-12-19 Thread Lennart Poettering
On Sa, 28.11.20 01:26, Bastien Traverse (neit...@esrevart.net) wrote: > Hello everyone, > > Is it possible to specify mount options for ESP, root and LUKS devices when > using automatic partition discovery and mounting with no fstab? There's not, currently. THere's an RFE issue open asking to

Re: [systemd-devel] No default route after "systemctl restart systemd-networkd"

2020-12-19 Thread Lennart Poettering
On Fr, 27.11.20 23:18, Gena Makhomed (g...@csdoc.com) wrote: > How to fix or workaround this problem with default route? Have you looked at networkd's logs? Lennart -- Lennart Poettering, Berlin ___ systemd-devel mailing list

Re: [systemd-devel] Why is journalctl -b so slow?

2020-12-19 Thread Lennart Poettering
On Fr, 20.11.20 10:39, Ulrich Windl (ulrich.wi...@rz.uni-regensburg.de) wrote: > Hi! > > journactl -b is quite fast to display the first lines, but when I > want to see the last lines, it's quite slow. How to you jump to the last lines? You are in "less" (i.e. the usual auto-paging) and press ?

Re: [systemd-devel] state of journal-upload and journal-remote?

2020-12-19 Thread Lennart Poettering
On So, 22.11.20 11:34, Florian Klink (flo...@flokli.de) wrote: > Hey, > > I'm wondering about the current state of journal-upload and journal-remote. > > Traffic on this list about it has gotten pretty silent, there has been > bug reports opened in 2018 about this being somewhat broken: > >

Re: [systemd-devel] How can I simply check that a service has been restarted ?

2020-12-19 Thread Lennart Poettering
On Mi, 18.11.20 09:15, Francis Moreau (francis.m...@gmail.com) wrote: > > > > Eg: > > > > $ busctl get-property org.freedesktop.systemd1 > > /org/freedesktop/systemd1/unit/gdm_2eservice > > org.freedesktop.systemd1.Service NRestarts > > u 0 > > > > I didn't know NRestart property, thanks. But

Re: [systemd-devel] How can I simply check that a service has been restarted ?

2020-12-19 Thread Lennart Poettering
On Di, 10.11.20 12:47, Arian Van Putten (ar...@wire.com) wrote: > I think what you might want is `Type=exec` instead of `Type=simple` in your > unit file. It was recently added to systemd. Recently? That was in 2018! 2 Years ago! Lennart -- Lennart Poettering, Berlin

Re: [systemd-devel] Mounting / as writable without in `/etc/fstab`

2020-12-19 Thread Lennart Poettering
On Mo, 23.11.20 16:23, Paul Menzel (pmenzel+systemd-de...@molgen.mpg.de) wrote: > Dear systemd folks, > > Is an entry for / in `/etc/fstab` still needed, or is there a systemd way of > doing it? What Mantas said, really. In a legacy-free system where you#d like to get rid of /etc/fstab i#d

Re: [systemd-devel] Antw: [EXT] Re: Journald retaining logs for only 10 days

2020-12-19 Thread Lennart Poettering
On Mo, 16.11.20 00:53, Vito Caputo (vcap...@pengaru.com) wrote: > On Mon, Nov 16, 2020 at 07:43:27AM +, mikko.rap...@bmw.de wrote: > > Hi, > > > > Interesting dicussion, here is one more view point. Few months back we > > tried to > > limit systemd journald output to retain a few MB of logs

Re: [systemd-devel] Journald retaining logs for only 10 days

2020-12-19 Thread Lennart Poettering
On Mo, 16.11.20 20:29, Andrei Borzenkov (arvidj...@gmail.com) wrote: > > Hu? As far as I can tell, I told it to keep 300 MB and it's using 320 > > MB. > > For all I can tell, SystemMaxUse applies to inactive journal files only > - this sets target how many archived files to delete. systemd will >

Re: [systemd-devel] log_target=console and multiple console devices

2020-12-19 Thread Lennart Poettering
On Sa, 14.11.20 12:23, Andrei Borzenkov (arvidj...@gmail.com) wrote: > Quoting https://freedesktop.org/wiki/Software/systemd/Debugging/ > > console= can be specified multiple times, systemd will output to all of > them. > > > That's wrong. systemd will write to /dev/console and according to

Re: [systemd-devel] Man page description for systemd.log_target & Co is completely lost.

2020-12-19 Thread Lennart Poettering
On Sa, 14.11.20 12:11, Andrei Borzenkov (arvidj...@gmail.com) wrote: > Well, I do not see any reference to "kernel command line" in description > above. There is cross reference to kernel-command-line(7) in See also > ... let's try it. Could you please file a bug about this on github? Lennart

Re: [systemd-devel] systemd prerelease 247-rc2

2020-12-19 Thread Lennart Poettering
On Do, 12.11.20 17:13, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > Some packages have been updated, while others not. For example: > > sg3_utils-1.45-3.fc33.x86_64 has: ACTION!="add|change", > GOTO="usb_blacklist_end" > I'm pretty sure that add|bind|change is appropriate here, at

Re: [systemd-devel] systemd prerelease 247-rc2

2020-12-19 Thread Lennart Poettering
On Do, 12.11.20 16:36, Michael Biebl (mbi...@gmail.com) wrote: > I have to admit, it's unclear to me, what exactly this change means. > As far as udev_device_has_tag() is concerned, it seems the Debian > archive only ships one package (plymouth) which makes use of it. >

Re: [systemd-devel] sd_bus. Message refrence count between sd_bus_call_async callback and sd_bus_process.

2020-12-19 Thread Lennart Poettering
On Di, 10.11.20 23:30, igo95...@yandex.ru (igo95...@yandex.ru) wrote: > Calling sd_bus_process with second parameter as sd_bus_message** will put a > new message in to that pointer. The man page says that the caller should > unref it ,however, I found out that if you do that it will get garbage >

Re: [systemd-devel] systemd-rfkill.service: Failed to set up special execution directory in /var/lib: Read-only file system

2020-12-19 Thread Lennart Poettering
On Di, 10.11.20 11:57, Mark Rogers (m...@more-solutions.co.uk) wrote: > I have a Raspberry Pi-based development kiosk system which has been working > fine for ages. But without having made any changes that I can relate to the > boot sequence, it now errors on startup with multiple: > > [FAILED]

Re: [systemd-devel] A minor problem with systemd-boot boot menu

2020-12-19 Thread Lennart Poettering
On Mo, 09.11.20 23:23, u...@net9.ga (u...@net9.ga) wrote: > Here, sytsemd-boot boot menu has 2 methods to present the default boot entry: > > 1. An ascii type arrow, =>, pointing to the default entry. > 2. Reverse video for the text and background of the line of the default. > > So far it seem to

Re: [systemd-devel] homectl --auto-login=yes has no effect

2020-12-19 Thread Damian Ivanov
Yeah I suspected that might be the case. In Fedora I can't properly use homed yet, since default PAM configuration doesn't work with homed and there currently is no way to use SElinux with homed. gnome-control-center also doesn't work with users created by homed... :( On Sat, Dec 19, 2020 at

Re: [systemd-devel] WLANInterfaceType="mesh-point" not matching

2020-12-19 Thread Lennart Poettering
On Mo, 26.10.20 19:17, Paul Cabot (p...@topguncomputers.com) wrote: > I currently have wpa_supplicant setup to connect my WLE600VX to my 802.11S > mesh network.  It connects fine. > > However when I setup my systemd.network file as the following. > > [Match] > > Name=wlp6s0 > >

Re: [systemd-devel] homectl --auto-login=yes has no effect

2020-12-19 Thread Lennart Poettering
On Mo, 26.10.20 19:30, Damian Ivanov (damianator...@gmail.com) wrote: > Hello! > > Latest Fedora Rawhide here. > I've exactly one user created with --auto-login=yes > /etc/gdm/custom.conf is unchanged and as far as I know, > no .conf file is created in other places. > > How is --auto-login

Re: [systemd-devel] journalctl: how to view pstore logs files

2020-12-19 Thread Lennart Poettering
On Fr, 25.09.20 01:36, Santosh (ysa...@gmail.com) wrote: > Hi, > > What is the journalctl command to view pstore log files logged into the > journal by systemd-pstore? > > I'm able to view it using command: > armbox8:/home/bot1# journalctl -o export -u systemd-pstore -b > Is this the correct

Re: [systemd-devel] portable profile broken file bind mount (/etc/resolv.conf)

2020-12-19 Thread Lennart Poettering
On Mi, 23.09.20 03:14, Peter Morrow (pemor...@linux.microsoft.com) wrote: > Hi, > > I ran into an issue (v239 custom yocto based distro, though the code is the > same with latest releases) where a portable service ends up with a broken file > bind mount since the file is deleted and recreated on

Re: [systemd-devel] Issue regarding running systemd under a container

2020-12-19 Thread Lennart Poettering
On Fr, 16.10.20 13:09, Atul Singh (atu...@gmail.com) wrote: > Hello systemd-devel, > > I am working to dockerize the buildroot based rootfs. > While dockerization if I run the container with privilege mode am able to > run the container and it works fine. > > But, when I try to run/restart other

Re: [systemd-devel] Q: shutdown messages and the lack of such

2020-12-19 Thread Lennart Poettering
On Do, 08.10.20 13:39, Ulrich Windl (ulrich.wi...@rz.uni-regensburg.de) wrote: > Hi! > > I hadn't used shutdown without "now" for a long time, but to day I did: > I was surprised about the messages: In traditional UNIX shutdown would > announce the shutdown using wall messages. With systemd (in

Re: [systemd-devel] [RFE] distinguish reclaimable memory in `systemctl status` output

2020-12-19 Thread Lennart Poettering
On Mo, 28.09.20 14:29, Vito Caputo (vcap...@pengaru.com) wrote: > Hello list, > > Inspired by recent, unnecessarily combative discussion on the list, I > thought I'd try restart this conversation anew: > > Is it possible to either add a reclaimable field the total memory line > of `systemctl

Re: [systemd-devel] Sandboxing options

2020-12-19 Thread Lennart Poettering
On Mo, 28.09.20 17:00, Christopher Wong (christopher.w...@axis.com) wrote: > Hi, > > > There are a bunch of sandboxing options that I am trying to enable > but I got no effects when I am setting them. Below are the options > that I am trying to set, but I can't seem to turn them on. > >

Re: [systemd-devel] how to depend the service which is triggerred by uevent

2020-12-19 Thread Lennart Poettering
On Do, 24.09.20 17:22, lchina77 (lchin...@163.com) wrote: > Hi, All, > I have two services: service_A and service_B. The service_A which > depends on the tap0 uevent will configure the virtual net, > while the service_B which depends on the virtual net should run > After the

Re: [systemd-devel] correct usage for file-only & (sub)dir-only shell globs in unit tmpfiles?

2020-12-19 Thread Lennart Poettering
On Mo, 21.09.20 15:05, PGNet Dev (pgnet@gmail.com) wrote: > but, with > > /etc/tmpfiles.d/test.conf > (1) Z /home/test/TEST/{.,**/} 0750 nobody nobody - > (2A)Z /home/test/TEST/** 0640 nobody nobody - mm, the "**" syntax is not something fnmatch(3) nor

Re: [systemd-devel] journalctl --sync blocks when some app intensively log to stdout

2020-12-19 Thread Lennart Poettering
On Fr, 11.09.20 09:39, Belisko Marek (marek.beli...@gmail.com) wrote: > Hi, Sorry for the late reply. > and it blocks forever. I was looking into a similar issue: > https://github.com/systemd/systemd/pull/1848 but this part is already > included in the systemd we're using (v234) and it's about

Re: [systemd-devel] can networkd's DHCP server do static leases or dynamic updates?

2020-12-19 Thread Lennart Poettering
On Sa, 19.12.20 01:52, Dan Egli (d...@newideatest.site) wrote: > I have searched all over the internet and I can't seem to find an answer to > the question in the subject line. > > Right now I use ISC's dhcpd and ISC's bind together to generate updates to a > dynamic zone, where some machines get

[systemd-devel] can networkd's DHCP server do static leases or dynamic updates?

2020-12-19 Thread Dan Egli
I have searched all over the internet and I can't seem to find an answer to the question in the subject line. Right now I use ISC's dhcpd and ISC's bind together to generate updates to a dynamic zone, where some machines get whatever IP is available in the pool while others are always

[systemd-devel] systemd-networkd and GNOME integration

2020-12-19 Thread Paul Menzel
Dear systemd folks, For several GNOME systems, systemd-networkd is an alternative to the NetworkManager. For example, desktop systems with a plugged in Ethernet cable, which do not use wireless devices. As systemd-networkd is often not packaged separately by distributions, it’s a viable