Re: [systemd-devel] The best way to execute kexec via dbus

2022-08-26 Thread Andrei Borzenkov
Please answer to the list, not me personally. You do it second time. On 26.08.2022 17:12, Tomáš Hnyk wrote: > On Friday 26. August 2022, 15:02:54 (+02:00), Andrei Borzenkov wrote: > >> On 26.08.2022 13:54, Tomáš Hnyk wrote: >>> >> > Indeed, it must have been the late night, they are the

[systemd-devel] logind: discontinuous TTYs?

2022-08-26 Thread Toomas Rosin
Hi, I would like to configure logind so that it spawns getties only on tty1 and tty12. I know I can set NAutoVTs to 12, but how to disable getties on tty2..tty11? Regards, T.

Re: [systemd-devel] logind: discontinuous TTYs?

2022-08-26 Thread Mantas Mikulėnas
Do they have to be autospawned by logind? You can always statically start getty@.service on any tty you want (like it used to be with inittab). On Fri, Aug 26, 2022 at 7:11 PM Toomas Rosin wrote: > Hi, > > I would like to configure logind so that it spawns getties only on tty1 > and tty12. I

Re: [systemd-devel] logind: discontinuous TTYs?

2022-08-26 Thread Arseny Maslennikov
On Fri, Aug 26, 2022 at 06:55:46PM +0300, Toomas Rosin wrote: > Hi, > > I would like to configure logind so that it spawns getties only on tty1 > and tty12. I know I can set NAutoVTs to 12, but how to disable getties > on tty2..tty11? $ TTYID=tty2 # for example $ ln -s /dev/null

Re: [systemd-devel] logind: discontinuous TTYs?

2022-08-26 Thread Toomas Rosin
Hi, Arseny Maslennikov wrote: > $ TTYID=tty2 # for example > $ ln -s /dev/null /etc/systemd/system/autovt@$TTYID.service This works, thank you! T.

Re: [systemd-devel] The best way to execute kexec via dbus

2022-08-26 Thread Tomáš Hnyk
On Friday 26. August 2022, 06:55:15 (+02:00), Andrei Borzenkov wrote: > On 26.08.2022 03:59, Tomáš Hnyk wrote: > > Hello,I am trying to be able to reboot with kexec from a GUI (I am > > modifying this: https://github.com/varlesh/org.kde.plasma.compact-shutdown > > ). As far as I can tell, I need

Re: [systemd-devel] socket activation selinux context on create

2022-08-26 Thread Lennart Poettering
On Do, 25.08.22 14:46, Ted Toth (txt...@gmail.com) wrote: > I've tested setting the type of the port using semanage port -a > however when I start the service netstat still shows the type as > init_t. I don't know of any other way to get a type transition of a > socket to happen, do you?. I've

[systemd-devel] systemd-oomd: why swap only?

2022-08-26 Thread Oleg Solovyov
man oomd.conf: > SwapUsedLimit= >Sets the limit for memory and swap usage on the system before systemd-oomd will take action. If the fraction of memory used and the fraction of swap used on the system are both more than what is defined here, systemd- oomd will act on eligible >

Re: [systemd-devel] The best way to execute kexec via dbus

2022-08-26 Thread Andrei Borzenkov
On 26.08.2022 12:29, Tomáš Hnyk wrote: > On Friday 26. August 2022, 06:55:15 (+02:00), Andrei Borzenkov wrote: > >> On 26.08.2022 03:59, Tomáš Hnyk wrote: >>> Hello,I am trying to be able to reboot with kexec from a GUI (I am >>> modifying this:

Re: [systemd-devel] The best way to execute kexec via dbus

2022-08-26 Thread Andrei Borzenkov
On 26.08.2022 13:54, Tomáš Hnyk wrote: > > > >> > > > Indeed, it must have been the late night, they are the same. However, > the following are not the same even the man page says they are: > > > > > > sudo systemctl kexec # results in kexec > > > > > > full log here:

Re: [systemd-devel] The best way to execute kexec via dbus

2022-08-26 Thread Tomáš Hnyk
On Friday 26. August 2022, 16:29:04 (+02:00), Andrei Borzenkov wrote: > Please answer to the list, not me personally. You do it second time. > Sorry, most other mailing lists I am on have reply-to-list as default, I will pay attention to it. > On 26.08.2022 17:12, Tomáš Hnyk wrote: > > On

[systemd-devel] Antw: [EXT] Re: [systemd‑devel] Ordering units and targets with devices

2022-08-26 Thread Ulrich Windl
>>> Michael Cassaniti schrieb am 26.08.2022 um 06:46 >>> in Nachricht <01000182d8797b39-375650cc-485b-43ec-84e0-9be3a66f22f4-000...@email.amazonses.co >: > On 25/8/22 22:22, Lennart Poettering wrote: >> On Do, 25.08.22 10:50, Michael Cassaniti (mich...@cassaniti.id.au) wrote: >> >>> It seems