Re: [systemd-devel] Using LoadCredential for passing API key to s3 bucket mount unit

2021-09-02 Thread Vladimir Timofeenko
Hi Lennart, Thank you for your reply! > systemd only resolves env vars in ExecXYZ= lines, nowhere else. And > definitely not in Options= Background: fuse mounts can use arbitrary executables that provide mount-like calling interface. Those executables can be specified as type

Re: [systemd-devel] systemd | Requires statement with an instantiated service

2021-09-02 Thread Colin Guthrie
Leon Fauster wrote on 02/09/2021 15:39: On 02.09.21 15:12, Andrei Borzenkov wrote: On 02.09.2021 15:10, Leon Fauster wrote: On 02.09.21 08:00, Andrei Borzenkov wrote: On 02.09.2021 01:19, Leon Fauster wrote: Example: a@.service b.service a@.service is started as a@host1.service and

Re: [systemd-devel] systemd | Requires statement with an instantiated service

2021-09-02 Thread Leon Fauster
On 02.09.21 15:12, Andrei Borzenkov wrote: On 02.09.2021 15:10, Leon Fauster wrote: On 02.09.21 08:00, Andrei Borzenkov wrote: On 02.09.2021 01:19, Leon Fauster wrote: Example: a@.service b.service a@.service is started as a@host1.service and b.service must be started after a@host1.service

Re: [systemd-devel] systemd | Requires statement with an instantiated service

2021-09-02 Thread Andrei Borzenkov
On 02.09.2021 15:10, Leon Fauster wrote: > On 02.09.21 08:00, Andrei Borzenkov wrote: >> On 02.09.2021 01:19, Leon Fauster wrote: >>> Example: >>> >>> a@.service >>> b.service >>> >>> a@.service is started as a@host1.service and b.service must be started >>> after a@host1.service but the unit will

Re: [systemd-devel] systemd | Requires statement with an instantiated service

2021-09-02 Thread Leon Fauster
On 02.09.21 08:00, Andrei Borzenkov wrote: On 02.09.2021 01:19, Leon Fauster wrote: Example: a@.service b.service a@.service is started as a@host1.service and b.service must be started after a@host1.service but the unit will be differently parameterized (depended of the region). So I want to

Re: [systemd-devel] Unable to boot Linux distribution ISO files that have systemd services

2021-09-02 Thread Lennart Poettering
On Mi, 01.09.21 11:39, EpicLemon99 (epiclemo...@protonmail.com) wrote: > I am unable to boot up ISO files of Linux distributions that use systemd. My > computer is a HP Pavilion TG01-2856no, it is recent hardware. The boot gets > stuck when it tries to start systemd services, such as Network

Re: [systemd-devel] Using LoadCredential for passing API key to s3 bucket mount unit

2021-09-02 Thread Lennart Poettering
On Mi, 01.09.21 13:31, Vladimir Timofeenko (vladi...@vtimofeenko.com) wrote: > Hi, > > I am playing with the idea of using systemd mount to mount S3 bucket on > the system using s3fs. > > To mount a bucket, an API key is required. s3fs can read the API key > from a file specified as an option: >

Re: [systemd-devel] systemd | Requires statement with an instantiated service

2021-09-02 Thread Andrei Borzenkov
On 02.09.2021 01:19, Leon Fauster wrote: > Dear list, > > following requirement exists here (systemd-239 installed): > > Applying a "Requires" statement with an instantiated service. > > Example: > > a@.service > b.service > > a@.service is started as a@host1.service and b.service must be