Re: [systemd-devel] Select on value of log message

2018-08-30 Thread Uoti Urpala
On Thu, 2018-08-30 at 19:32 +0200, Michael Biebl wrote: > Am Do., 30. Aug. 2018 um 18:56 Uhr schrieb Uoti Urpala > : > > Keeping code using an up-to-date dependency disabled because other > > packages haven't been updated seems backwards... > I don't want to use systemd as a stick to beat

[systemd-devel] Não quero receber mais e-mails!

2018-08-30 Thread Andrei Junior
Gostaria de cancelar o envio de e-mails, de seu sistema! ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Select on value of log message

2018-08-30 Thread Michael Biebl
I don't want to use systemd as a stick to beat people^maintainers with Am Do., 30. Aug. 2018 um 18:56 Uhr schrieb Uoti Urpala : > > On Thu, 2018-08-30 at 16:39 +0200, Michael Biebl wrote: > > Am Do., 30. Aug. 2018 um 15:50 Uhr schrieb Jérémy Rosen < > > jeremy.ro...@smile.fr>: > > > I *think* that

Re: [systemd-devel] Select on value of log message

2018-08-30 Thread Uoti Urpala
On Thu, 2018-08-30 at 16:39 +0200, Michael Biebl wrote: > Am Do., 30. Aug. 2018 um 15:50 Uhr schrieb Jérémy Rosen < > jeremy.ro...@smile.fr>: > > I *think* that it's deactivated in debian because journalctl is a > > core package and debian doesn't want to pull the regex library into > > it's

Re: [systemd-devel] [Need Help]: What Systemd service directives to use

2018-08-30 Thread rajat rastogi
Sietse, thanks a lot for suggestions. I will give a try and test it. On Thu, Aug 30, 2018 at 5:24 PM Sietse van Zanen wrote: > Hi Rajat, > > > PropagateReload should indeed only effect reloads of units, not stops or > starts, that's what bindsto and partof are for. Systemd should protect >

Re: [systemd-devel] Select on value of log message

2018-08-30 Thread Cecil Westerhof
2018-08-30 16:39 GMT+02:00 Michael Biebl : > > > Am Do., 30. Aug. 2018 um 15:50 Uhr schrieb Jérémy Rosen < > jeremy.ro...@smile.fr>: > >> I *think* that it's deactivated in debian because journalctl is a core >> package and debian doesn't want to pull the regex library into it's core... >> > >

Re: [systemd-devel] Select on value of log message

2018-08-30 Thread Michael Biebl
Am Do., 30. Aug. 2018 um 15:50 Uhr schrieb Jérémy Rosen < jeremy.ro...@smile.fr>: > I *think* that it's deactivated in debian because journalctl is a core > package and debian doesn't want to pull the regex library into it's core... > Right, no need to file another bug report.

Re: [systemd-devel] Select on value of log message

2018-08-30 Thread Jérémy Rosen
I *think* that it's deactivated in debian because journalctl is a core package and debian doesn't want to pull the regex library into it's core... not sure, though. They'll probably tell you in the bug report you opened. On 30/08/2018 15:41, Simon McVittie wrote: On Thu, 30 Aug 2018 at

Re: [systemd-devel] Select on value of log message

2018-08-30 Thread Simon McVittie
On Thu, 30 Aug 2018 at 12:48:02 +0200, Cecil Westerhof wrote: > Posted the problem in a Debian newsgroup. Please send all Debian-specific bug reports and feature requests to its bug tracking system , filed against the package that has the bug or is missing the

[systemd-devel] Occasional issues with mounting NFS during reboot

2018-08-30 Thread Stefan Magnus Landrø
Hi there! I'm having occasional issues with mounting NFS during reboots (systemd 238 in latest coreos stable). systemd[1]: data-keys.mount: Mount process finished, but there is no mount. systemd[1]: data-keys.mount: Failed with result ‘protocol’. systemd[1]: Failed to mount NFS mount for

Re: [systemd-devel] [Need Help]: What Systemd service directives to use

2018-08-30 Thread Sietse van Zanen
Hi Rajat, PropagateReload should indeed only effect reloads of units, not stops or starts, that's what bindsto and partof are for. Systemd should protect against reload loops, but it may also give an error. I have not used this situation myself so test it. -Sietse

Re: [systemd-devel] Select on value of log message

2018-08-30 Thread Cecil Westerhof
Sadly sometimes GMail messes up reply. All my replies went to individuals instead of the mailing list. %<{ I give the most important things I wrote. 2018-08-29 20:09 GMT+02:00 Uoti Urpala : > On Wed, 2018-08-29 at 19:49 +0200, Cecil Westerhof wrote: > > There are a lot of ways you can select

Re: [systemd-devel] Select on value of log message

2018-08-30 Thread Jérémy Rosen
unfortunately, regex in journalctl is an optional feature that is decided at compile time. Your distro probably did not compile that support. The best approch would be to open a feature request on your distro's bugtracker. Alternatively you can recompile systemd yourself and add that

Re: [systemd-devel] [Need Help]: What Systemd service directives to use

2018-08-30 Thread rajat rastogi
Hi Sietse, Thanks for reply. So if use mentioned directives as below A.service file -- PropagatesReloadTo=B B.service file PropagatesReloadTo=A Will not it create a loop? If yes, how to avoid it. I will re-phrase the requirements: 1. If process A is

Re: [systemd-devel] Select on value of log message

2018-08-30 Thread Jérémy Rosen
One of the big advantage of --grep compared to |grep is that it returns the whole message, not just the line containig your regex so you can combine it with "-o verbose" and get all the info on the message easily On 29/08/2018 20:09, Uoti Urpala wrote: On Wed, 2018-08-29 at 19:49 +0200,

Re: [systemd-devel] [Need Help]: What Systemd service directives to use

2018-08-30 Thread Sietse van Zanen
Hi Rajat, Take a look at BindsTo, PartOf, PropagatesReloadTo, ReloadPropagatedFrom and OnFailure. I think a combination of these should achieve what you want,

[systemd-devel] [Need Help]: What Systemd service directives to use

2018-08-30 Thread rajat rastogi
Hi, My name is rajat. I have below requirement: There are 2 processes A and B. For the mentioned processes, below behaviour is required: 1. If process A is restarted then B should also be restarted 2. If process B is restarted then A should also be restarted For the above-desired behaviour,