Re: [systemd-devel] EXT :Re: Disk Label Handling

2019-07-26 Thread Lennart Poettering
On Fr, 26.07.19 14:07, Boyce, Kevin P [US] (AS) (kevin.bo...@ngc.com) wrote: > The link_priority option to me does not seem to have a method where > all devices with duplicated filesystem labels have a unique symlink. > More importantly, this approach would only work if custom device > specific

Re: [systemd-devel] Health check for a service managed by systemd

2019-07-26 Thread Debraj Manna
Thanks Mantas and Reindl for all your suggestions. On Fri, Jul 26, 2019 at 7:29 PM Reindl Harald wrote: > > > Am 26.07.19 um 15:37 schrieb Debraj Manna: > > Thanks Reindl for replying. > > > > Can we make use of the watchdog & systemd-notify functionality of > > systemd? I mean something like

Re: [systemd-devel] EXT :Re: Disk Label Handling

2019-07-26 Thread Boyce, Kevin P [US] (AS)
Lennart, Thanks for the reply. I am looking at the man page now. Am I correct that if two filesystems are detected by udev sequentially that the last one updates the /dev/disk/by-label symlink, and the reference that the first one lost out? Is there any way to preserve that the first

Re: [systemd-devel] Health check for a service managed by systemd

2019-07-26 Thread Reindl Harald
Am 26.07.19 um 15:37 schrieb Debraj Manna: > Thanks Reindl for replying.  > > Can we make use of the watchdog & systemd-notify functionality of > systemd? I mean something like this.  probably you can but i doubt you gain anything you just increase complexity with additional points of errors

Re: [systemd-devel] Health check for a service managed by systemd

2019-07-26 Thread Debraj Manna
Thanks Reindl for replying. Can we make use of the watchdog & systemd-notify functionality of systemd? I mean something like this. [Unit] Description=Test service After=network.target [Service] Type=notify # test.sh wrapper script to call the service ExecStart=/opt/test/test.sh Restart=always

Re: [systemd-devel] Health check for a service managed by systemd

2019-07-26 Thread Mantas Mikulėnas
On Fri, Jul 26, 2019 at 4:37 PM Debraj Manna wrote: > Can we make use of the watchdog & systemd-notify functionality of > systemd? I mean something like this. > > [Unit] > Description=Test service > After=network.target > > [Service] > Type=notify > # test.sh wrapper script to call the service >

Re: [systemd-devel] Disk Label Handling

2019-07-26 Thread Lennart Poettering
On Fr, 26.07.19 13:18, Boyce, Kevin P [US] (AS) (kevin.bo...@ngc.com) wrote: > Good morning list! > > How is udev supposed to handle the creation of /dev/disk/by-label/ > symlinks when there are more than one filesystems detected with the > same label, such as DATA. > > In the past I remember

[systemd-devel] Disk Label Handling

2019-07-26 Thread Boyce, Kevin P [US] (AS)
Good morning list! How is udev supposed to handle the creation of /dev/disk/by-label/ symlinks when there are more than one filesystems detected with the same label, such as DATA. In the past I remember udev linking these subsequently detected filesystems as DATA_1, DATA_2, etc. Yet with