Re: [systemd-devel] Feedback sought: can we drop cgroupv1 support soon?

2023-08-07 Thread Lennart Poettering
On Do, 20.07.23 01:59, Dimitri John Ledkov (dimitri.led...@canonical.com) wrote: > Some deployments that switch back their modern v2 host to hybrid or v1, are > the ones that need to run old workloads that contain old systemd. Said old > systemd only has experimental incomplete v2 support that

Re: [systemd-devel] Feedback sought: can we drop cgroupv1 support soon?

2023-08-07 Thread Lennart Poettering
On Mi, 19.07.23 10:23, Lewis Gaul (lewis.g...@gmail.com) wrote: > Hi Lennart, all, > > TL;DR: A container making use of cgroup controllers must use the same > cgroup version as the host, Controllers on cgroupv1 are not safely delegatable. If you did, then this highly problematic anyway, as you

Re: [systemd-devel] Dropping SysV init script support? (was: systemd prerelease 254-rc3)

2023-08-07 Thread Tomasz Pala
On Mon, Aug 07, 2023 at 16:44:43 +0200, Lennart Poettering wrote: >> 0. systemd implements SysV-compat disable knob, > > We do since about forever. Hmmm... I'm using systemd since v37 (reading all the release notes) and it's a bit of new to me... I've just run through some docs and can't find

Re: [systemd-devel] Dropping SysV init script support? (was: systemd prerelease 254-rc3)

2023-08-07 Thread Lennart Poettering
On Mo, 07.08.23 16:24, Tomasz Pala (go...@polanet.pl) wrote: > > or to turn this around: this is only the way how people get off their > > asses and port the stuff over apparently. Nothing else worked for them. > > - nothing was truly done to make this happen. Well, what do you expect us to do?

Re: [systemd-devel] Dropping SysV init script support? (was: systemd prerelease 254-rc3)

2023-08-07 Thread Tomasz Pala
On Mon, Aug 07, 2023 at 15:22:38 +0200, Lennart Poettering wrote: > It's been 15 years. Stuff that has still not been ported over yet > should either be declared dead by now or finally be ported over. I > think this is generally in the interest of users. +1 BUT having said that: > or to turn

Re: [systemd-devel] sd-bus: get size of array container in D-Bus message

2023-08-07 Thread Lennart Poettering
On Mi, 02.08.23 06:39, Stanislav Angelovič (stanislav.angelo...@protonmail.com) wrote: > Hi folks, > > I have a quick question: is there a way to get container size when > deserializing an array from a D-Bus message (be it an array of > trivial or non-trivial D-Bus types)? Say I enter a

Re: [systemd-devel] Dropping SysV init script support? (was: systemd prerelease 254-rc3)

2023-08-07 Thread Lennart Poettering
On Mo, 24.07.23 19:29, Jeremy Linton (jeremy.lin...@arm.com) wrote: > > Because I don't necessarily control what other people do. And there's > > still a very long tail of software out there that only ships a > > sysvinit script. There are still people upgrading from RHEL 5/6, SLE > > 11, or

Re: [systemd-devel] Dropping SysV init script support? (was: systemd prerelease 254-rc3)

2023-08-07 Thread Lennart Poettering
On Mo, 24.07.23 10:15, Neal Gompa (ngomp...@gmail.com) wrote: > On Mon, Jul 24, 2023 at 9:00 AM systemd tag bot > wrote: > > > > * Support for System V service scripts is now deprecated and will be > > removed in a future release. Please make sure to update your > > software >

Re: [systemd-devel] sd-event: sd_event_source_set_io_handler()

2023-08-07 Thread Lennart Poettering
On Sa, 29.07.23 13:39, Donald Buczek (buc...@molgen.mpg.de) wrote: > Hi, experts, > > is there a fundamental reason, why sd-event doesn't provide > functions to update the handler of an existing event source, e.g. > > int sd_event_source_set_io_handler(sd_event_source *source, >

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

2023-08-07 Thread Andrei Borzenkov
On Mon, Aug 7, 2023 at 11:49 AM Martin Stenzel wrote: > > > Hi list, > I searched the _whole_ www but did not find the answer. > > > > I use bestcrypt > to mount the home directory. > > > This is my service file. > > -- > [Unit] > Description=Mount Bestcrypt containers > Wants=local-fs.target >

[systemd-devel] Service not run, although enabled

2023-08-07 Thread Martin Stenzel
Hi list,  I searched the _whole_ www but did not find the answer. ​​I use bestcrypt  to mount the home directory. This is my service file. -- [Unit] Description=Mount Bestcrypt containers Wants=local-fs.target After=local-fs.target [Service] Type=oneshot RemainAfterExit=true