Re: [systemd-devel] Antw: [EXT] Re: Q; syslog.socket dependency

2021-03-11 Thread Michael Chapman
On Fri, 12 Mar 2021, Ulrich Windl wrote: > >>> Reindl Harald schrieb am 11.03.2021 um 16:23 in > Nachricht <4422087b-9966-e7fb-66ad-4157d83f2...@thelounge.net>: > > > > > Am 11.03.21 um 12:17 schrieb Ulrich Windl: > >> Hi! > >> > >> I have a unit that uses logger, and I want to run it after

[systemd-devel] Antw: [EXT] Re: Q; syslog.socket dependency

2021-03-11 Thread Ulrich Windl
>>> Reindl Harald schrieb am 11.03.2021 um 16:23 in Nachricht <4422087b-9966-e7fb-66ad-4157d83f2...@thelounge.net>: > > Am 11.03.21 um 12:17 schrieb Ulrich Windl: >> Hi! >> >> I have a unit that uses logger, and I want to run it after syslog is > available. So I added syslog.socket as

Re: [systemd-devel] Activate netdev only on demand (e.g. for wireguard connection)

2021-03-11 Thread Amish
On 11/03/21 7:39 pm, Alvin Šipraga wrote: Hi, On 3/11/21 11:01 AM, Reindl Harald wrote: Am 11.03.21 um 06:36 schrieb Amish: Hello So I have a wireguard setup which I use to connect to my server. But I do not connect to it daily, just once a in a while. I have setup wg0.netdev file and

Re: [systemd-devel] Activate netdev only on demand (e.g. for wireguard connection)

2021-03-11 Thread Alvin Šipraga
Hi, On 3/11/21 11:01 AM, Reindl Harald wrote: > > > Am 11.03.21 um 06:36 schrieb Amish: >> Hello >> >> So I have a wireguard setup which I use to connect to my server. >> >> But I do not connect to it daily, just once a in a while. >> >> I have setup wg0.netdev file and wg0.network file and all

Re: [systemd-devel] Need help: Program not run when rebooting

2021-03-11 Thread Lennart Poettering
On Do, 11.03.21 15:53, Ulrich Windl (ulrich.wi...@rz.uni-regensburg.de) wrote: > Hi! > > I tried to write a simple test unit that logs a message when the system is > going down (for reboot or halt), but it does not work: > --- > [Unit] > Description=Test Stop log entries >

Re: [systemd-devel] Q; syslog.socket dependency

2021-03-11 Thread Reindl Harald
Am 11.03.21 um 12:17 schrieb Ulrich Windl: Hi! I have a unit that uses logger, and I want to run it after syslog is available. So I added syslog.socket as dependency, but it fails: Mar 11 12:11:02 jeos1 systemd[1]: syslog.socket: Socket service syslog.service not loaded, refusing. Mar 11

[systemd-devel] Need help: Program not run when rebooting

2021-03-11 Thread Ulrich Windl
Hi! I tried to write a simple test unit that logs a message when the system is going down (for reboot or halt), but it does not work: --- [Unit] Description=Test Stop log entries Documentation=man:logger(1) DefaultDependencies=no After=local-fs.target Before=reboot.target halt.target

Re: [systemd-devel] Activate netdev only on demand (e.g. for wireguard connection)

2021-03-11 Thread Mantas Mikulėnas
On Thu, Mar 11, 2021 at 12:01 PM Reindl Harald wrote: > > > Am 11.03.21 um 06:36 schrieb Amish: > > Hello > > > > So I have a wireguard setup which I use to connect to my server. > > > > But I do not connect to it daily, just once a in a while. > > > > I have setup wg0.netdev file and

[systemd-devel] systemd prerelease 248-rc3

2021-03-11 Thread systemd tag bot
A new systemd ☠️ pre-release ☠️ has just been tagged. Please download the tarball here: https://github.com/systemd/systemd/archive/v248-rc3.tar.gz NOTE: This is ☠️ pre-release ☠️ software. Do not run this on production systems, but please test this and report any issues you find to

Re: [systemd-devel] Q; syslog.socket dependency

2021-03-11 Thread Mantas Mikulėnas
On Thu, Mar 11, 2021, 13:17 Ulrich Windl wrote: > Hi! > > I have a unit that uses logger, and I want to run it after syslog is > available. So I added syslog.socket as dependency, but it fails: > Mar 11 12:11:02 jeos1 systemd[1]: syslog.socket: Socket service > syslog.service not loaded,

Re: [systemd-devel] Guidance on automount/unmount for external powered devices

2021-03-11 Thread Patrick O'Callaghan
On Thu, 2021-03-11 at 12:08 +, Dave Howorth wrote: > On Thu, 11 Mar 2021 11:00:04 + > Patrick O'Callaghan wrote: > > Unfortunately a system reboot always leaves it in the 'powered up and > > present in /dev/md' state, so I have to manually run the power-down > > script every time I

Re: [systemd-devel] Guidance on automount/unmount for external powered devices

2021-03-11 Thread Dave Howorth
On Thu, 11 Mar 2021 11:00:04 + Patrick O'Callaghan wrote: > Unfortunately a system reboot always leaves it in the 'powered up and > present in /dev/md' state, so I have to manually run the power-down > script every time I reboot. This is inelegant. There may be better ways, but could you use

[systemd-devel] Q; syslog.socket dependency

2021-03-11 Thread Ulrich Windl
Hi! I have a unit that uses logger, and I want to run it after syslog is available. So I added syslog.socket as dependency, but it fails: Mar 11 12:11:02 jeos1 systemd[1]: syslog.socket: Socket service syslog.service not loaded, refusing. Mar 11 12:11:02 jeos1 systemd[1]: Failed to listen on

[systemd-devel] Guidance on automount/unmount for external powered devices

2021-03-11 Thread Patrick O'Callaghan
Apologies in advance if this is a FAQ, or if there is a more appropriate list for this question. I'm looking for a step-by-step guide for the following situation: I have an external 2-bay USB3 drive enclosure, configured as an MD Raid-1 device. This works without issue. I normally only use the

Re: [systemd-devel] Activate netdev only on demand (e.g. for wireguard connection)

2021-03-11 Thread Reindl Harald
Am 11.03.21 um 06:36 schrieb Amish: Hello So I have a wireguard setup which I use to connect to my server. But I do not connect to it daily, just once a in a while. I have setup wg0.netdev file and wg0.network file and all is working fine. But how do I set it up such that interface wg0