[systemd-devel] What are the use cases of journalctl --flush ?

2021-09-21 Thread krave1986121
Hi, I have already read man page of journalctl and made some experiments with the command. All the efforts made me more confused. So, I would like to beg some help here. My system is Ubuntu 20.04.3 LTS. My procedures: 1. Create a .conf file for systemd-jounald.service with following c

Re: [systemd-devel] Xorg or Wayland Environment

2021-09-21 Thread David Edmundson
> What would be the proper way to get the DISPLAY environment varible use it as > opposed Having someone else (your desktop) call "dbus-update-activation-environment --systemd" on startup or an equivalent and ensure your service is started after that, such as being after graphical-session.target

Re: [systemd-devel] Xorg or Wayland Environment

2021-09-21 Thread Christopher Cox
On 9/21/21 9:13 AM, Michael Biebl wrote: Just curious: Can someone familiar with KDE/Plasma tell us, if they nowadays (can) use "systemd --user" to manage a login session. Seems to be the case on openSUSE Leap 15.3 So, I'll say yes. Am Di., 21. Sept. 2021 um 12:52 Uhr schrieb Ed Greshko :

Re: [systemd-devel] Xorg or Wayland Environment

2021-09-21 Thread Michael Biebl
Just curious: Can someone familiar with KDE/Plasma tell us, if they nowadays (can) use "systemd --user" to manage a login session. Am Di., 21. Sept. 2021 um 12:52 Uhr schrieb Ed Greshko : > > On 21/09/2021 18:20, Colin Guthrie wrote: > > Ed Greshko wrote on 19/09/2021 12:11: > >> OK.. > >> >

Re: [systemd-devel] Pre-installed portable services ?

2021-09-21 Thread Luca Boccassi
On Tue, 21 Sept 2021 at 09:30, Umut Tezduyar Lindskog wrote: > > Hi, > > On 2021-09-20, 5:19 PM, "Lennart Poettering" wrote: > > On Mo, 20.09.21 11:24, Umut Tezduyar Lindskog (umut.tezdu...@axis.com) > wrote: > > > Hi. Is there such thing as “pre-installed” portable services? If > >

Re: [systemd-devel] Xorg or Wayland Environment

2021-09-21 Thread Ed Greshko
On 21/09/2021 18:20, Colin Guthrie wrote: Ed Greshko wrote on 19/09/2021 12:11: OK.. I think I see the problem now.  I don't need Environment=.  But the issue is that, I assumed, "plasma-core.target" would be reached only after a user logged in to plasma. I was wrong and the user's servic

Re: [systemd-devel] when mount is delayed - start unit which depends on it - ?

2021-09-21 Thread Colin Guthrie
Mantas Mikulėnas wrote on 18/09/2021 09:41: On Fri, Sep 17, 2021 at 2:40 PM lejeczek > wrote: Hi guys. I'm trying to have unit to start... well, I have a luks device which waits for manual passphrase input, when that happens 'systemd' mounts, wi

Re: [systemd-devel] Xorg or Wayland Environment

2021-09-21 Thread Colin Guthrie
Ed Greshko wrote on 19/09/2021 12:11: OK.. I think I see the problem now.  I don't need Environment=.  But the issue is that, I assumed, "plasma-core.target" would be reached only after a user logged in to plasma. I was wrong and the user's service is run earlier when the login screen ap

[systemd-devel] Proc protection of services and TemporaryFileSystem=/

2021-09-21 Thread John
TemporaryFileSystem=/ can be used to limit the file system with just some necessary paths set by BindReadOnlyPaths/BindPaths to some files, depending on what the service needs. This does not mount /proc and /sys. There are some [service] settings regarding proc such as: ProtectProc, ProtectKern

Re: [systemd-devel] Pre-installed portable services ?

2021-09-21 Thread Umut Tezduyar Lindskog
Hi, On 2021-09-20, 5:19 PM, "Lennart Poettering" wrote: On Mo, 20.09.21 11:24, Umut Tezduyar Lindskog (umut.tezdu...@axis.com) wrote: > Hi. Is there such thing as “pre-installed” portable services? If > not, what is the best way to achieve it. One option can be to place > the