Re: [systemd-devel] Restart SystemD service when Memory Usage in More than a threshold

2023-09-18 Thread Ahmad Ismail
Here is the bug https://github.com/linuxmint/nemo/issues/3306 . Unfortunately nemo-desktop is a very important dependency for my regular work. Currently I manually restart it. Restarting this is not as bad as it sounds like. Just the desktop icons go away and come back. Here is the service file I

Re: [systemd-devel] Is systemd-cryptsetup binary internal?

2023-09-18 Thread mpan
/usr/lib/systemd/ is indeed the place for internal binaries with unstable interfaces. But it's also the place where we put binaries that we don't typically expect users to call, because they are generally called via some well define .service unit or so only. […] Thanks, that made the situation

Re: [systemd-devel] Restart SystemD service when Memory Usage in More than a threshold

2023-09-18 Thread Michal Koutný
Hello Ahmad. On Sat, Sep 16, 2023 at 09:29:07PM +0600, Ahmad Ismail wrote: > The file in ~/.config/autostart which autostart the service is: ^^^ > So, I came up with a systemd service which will restart nemo-desktop when > memory usage is 100MB. Is the bug you mention a memory lea

Re: [systemd-devel] Is systemd-cryptsetup binary internal?

2023-09-18 Thread Dimitri John Ledkov
On Mon, 18 Sept 2023, 17:43 Nils Kattenbeck, wrote: > > Why was the decision taken to put these into /usr/lib/systemd instead of >> > /usr/libexec/systemd/? >> >> That's a Fedoraism. Why would one put something there? >> >> /usr/lib/ is where private arch-dependent package stuff goes. What's >> t

Re: [systemd-devel] Is systemd-cryptsetup binary internal?

2023-09-18 Thread Nils Kattenbeck
> > > Why was the decision taken to put these into /usr/lib/systemd instead of > > /usr/libexec/systemd/? > > That's a Fedoraism. Why would one put something there? > > /usr/lib/ is where private arch-dependent package stuff goes. What's > the rationale for /usr/libexec/ though? > I am not aware o

Re: [systemd-devel] Is systemd-cryptsetup binary internal?

2023-09-18 Thread Lennart Poettering
On Mo, 18.09.23 17:47, Nils Kattenbeck (nilskem...@gmail.com) wrote: > Hi, > > /usr/lib/systemd/ is indeed the place for internal binaries with > > unstable interfaces. But it's also the place where we put binaries > > that we don't typically expect users to call, because they are > > generally ca

Re: [systemd-devel] Is systemd-cryptsetup binary internal?

2023-09-18 Thread Nils Kattenbeck
Hi, /usr/lib/systemd/ is indeed the place for internal binaries with > unstable interfaces. But it's also the place where we put binaries > that we don't typically expect users to call, because they are > generally called via some well define .service unit or so only. > > systemd-cryptsetup is one

Re: [systemd-devel] [PATCH 0/1] x86/kexec: UKI support

2023-09-18 Thread Dimitri John Ledkov
On Tue, 12 Sept 2023 at 11:38, Jarkko Sakkinen wrote: > > On Tue Sep 12, 2023 at 2:20 AM EEST, Neal Gompa wrote: > On Mon, Sep 11, 2023 > at 7:15 PM Jarkko Sakkinen wrote: > > > On Sat Sep 9, 2023 at 7:18 PM EEST, Jan Hendrik Farr wrote: > > > > Hello, > > > > > > > > this patch implements UKI s

Re: [systemd-devel] Is systemd-cryptsetup binary internal?

2023-09-18 Thread Lennart Poettering
On Mo, 18.09.23 15:22, mpan (systemdml-bfok4...@mpan.pl) wrote: > Hello, > > I got redirected to here from #systemd on Libera. While responding to a > query from another person (not on #systemd), I came across an ambiguity. Any > answer I give, its validity would be uncertain. I wish to receive

[systemd-devel] Is systemd-cryptsetup binary internal?

2023-09-18 Thread mpan
Hello, I got redirected to here from #systemd on Libera. While responding to a query from another person (not on #systemd), I came across an ambiguity. Any answer I give, its validity would be uncertain. I wish to receive an authoritative clarification. There is systemd-cryptsetup binary