Re: [systemd-devel] ExecStartPre checking conf

2019-05-20 Thread Uoti Urpala
On Mon, 2019-05-20 at 11:56 +0200, Lennart Poettering wrote: > about that though). Using ExecStartPre= for a syntax checker appears > pretty pointless to me, as yes, you just end up doing the same work > twice, and you might as well have the ExecStart= fail rather than the > ExecStartPre=, there's

Re: [systemd-devel] Does "systemctl daemon-reload" discard service information?

2019-05-20 Thread Andrei Borzenkov
20.05.2019 16:36, Ulrich Windl пишет: > Hi! > > I have had the effect that a "systectl status" before and after a > "daemon-reload" is different, while the service in question wasn't restarted: > ...> > Is that intentional? > daemon-reload is known to lose state for years. Some problems get

Re: [systemd-devel] Failed to start apache2 with error code exited 1 failure

2019-05-20 Thread Dorian ROSSE
Finaly I can’t success to repair apache2 I search but all failed… I just need wait the apache2 mailler worker… I copy past a lot of shell for show I am on the bug but without success ! Provenance : Courrier pour Windows 10

Re: [systemd-devel] [PATCH] man: systemd-nspawn: Update syntax to launch an image

2019-05-20 Thread systemd github import bot
Patchset imported to github. To create a pull request, one of the main developers has to initiate one via: -- Generated by https://github.com/haraldh/mail2git

[systemd-devel] [PATCH] man: systemd-nspawn: Update syntax to launch an image

2019-05-20 Thread Kashyap Chamarthy
To access a shell on a disk image, the man page on Fedora-29 says to run: `systemd-nspawn -M Fedora-Cloud-Base-28-1.1.x86_64.raw`. Let's try. List existing images: $> machinectl list-images | awk '{print $1,$2}'; NAME TYPE Fedora-Cloud-Base-30… raw 1 images Now invoke

[systemd-devel] Does "systemctl daemon-reload" discard service information?

2019-05-20 Thread Ulrich Windl
Hi! I have had the effect that a "systectl status" before and after a "daemon-reload" is different, while the service in question wasn't restarted: h02:~ # systemctl status iotwatch@* ● iotwatch@VAR.service - iotwatch I/O performance monitor instance "VAR" Loaded: loaded (/etc/iotwatch.conf;

Re: [systemd-devel] Failed to start apache2 with error code exited 1 failure

2019-05-20 Thread Dorian ROSSE
Thank you after your command line I launch apachectl status then I installed all Navigator I will put again the command line after the installing of Navigator program they should be repair before the answer of an apache Mailler worker  Provenance :

Re: [systemd-devel] Failed to start apache2 with error code exited 1 failure

2019-05-20 Thread Reindl Harald
Am 20.05.19 um 11:34 schrieb Dorian ROSSE: > Ok I will ask to Apache but I was know this Is a systemd problem because > the engine of Apache is systemd... no! it don't matter who starts httpd, it fails and system is just the messenger as there is pretty clear at least one config error in the

[systemd-devel] udev: Access permission of fw character device in which fw node includes unit handled by ALSA

2019-05-20 Thread Takashi Sakamoto
Hi all, I'm an ALSA developer, mainly committing to drivers for audio and music units on IEEE 1394 bus (yes, it's legacy FireWire). I have a concern about access permission for fw character device. In the last few years 9 drivers have been added to support 120 models around[1]. The drivers allow

Re: [systemd-devel] Proper way for systemd service to wait mdev gvt device initialization

2019-05-20 Thread Andrei Borzenkov
On Mon, May 20, 2019 at 10:08 AM Mantas Mikulėnas wrote: > > On Sun, May 19, 2019 at 9:50 PM Alex Ivanov wrote: >> >> Hello. >> What is the proper way to do that? I have a unit that creates gvt device in >> the system >> >> ExecStart = "sh -c 'echo a297db4a-f4c2-11e6-90f6-d3b88d6c9525 > >>

Re: [systemd-devel] Weston not launching Via Service file.

2019-05-20 Thread Rajshekhar Sanda
Here are the logs as follows: ● launchWeston.service - launch weston Loaded: loaded (/etc/systemd/system/launchWeston.service; disabled; vendor preset: enabled) Active: failed (Result: protocol) since Fri 2019-02-22 04:56:02 UTC; 3min 12s ago Process: 3177 ExecStart=/usr/bin/weston

Re: [systemd-devel] ExecStartPre checking conf

2019-05-20 Thread Lennart Poettering
On Mo, 20.05.19 12:37, Olaf van der Spek (m...@vdspek.org) wrote: > On Mon, May 20, 2019 at 11:56 AM Lennart Poettering > wrote: > > > > On So, 19.05.19 11:45, Olaf van der Spek (m...@vdspek.org) wrote: > > > > > Hi, > > > > > > ExecStartPre is sometimes used to check the configuration. Does

[systemd-devel] Fwd: Fwd: Excess of StartLimitBurst

2019-05-20 Thread Alexander Mykolaichyk
Thanks, Sorry for bad English. As you wrote > This setting means the service is attempted to be started at most 3 times within 5min > Note that these settings apply to any kind of start, i.e. both "systemctl start" and "systemctl restart". So after my OS is booted up and my service is started -

Re: [systemd-devel] ExecStartPre checking conf

2019-05-20 Thread Olaf van der Spek
On Mon, May 20, 2019 at 11:56 AM Lennart Poettering wrote: > > On So, 19.05.19 11:45, Olaf van der Spek (m...@vdspek.org) wrote: > > > Hi, > > > > ExecStartPre is sometimes used to check the configuration. Does this > > make sense? > > I don't think it does. I figure what people are actually

Re: [systemd-devel] Antw: Re: Antw: Re: Re: "bad" status for genersated target; why?

2019-05-20 Thread Ulrich Windl
>>> Lennart Poettering schrieb am 16.05.2019 um 10:29 in Nachricht <20190516082910.GA24042@gardel-login>: > On Do, 16.05.19 08:55, Ulrich Windl (ulrich.wi...@rz.uni‑regensburg.de) wrote: > >> Hi! >> >> After having read the page again, it's not more clear than >> before. Even I have some more

Re: [systemd-devel] ExecStartPre checking conf

2019-05-20 Thread Lennart Poettering
On So, 19.05.19 11:45, Olaf van der Spek (m...@vdspek.org) wrote: > Hi, > > ExecStartPre is sometimes used to check the configuration. Does this > make sense? I don't think it does. I figure what people are actually looking for is a way they can run a syntax checker on restart, before stopping

Re: [systemd-devel] sd-bus dynamic property table

2019-05-20 Thread Lennart Poettering
On Mo, 13.05.19 08:25, Stephen Hemminger (step...@networkplumber.org) wrote: > I have a simple application that does provides property table for network > devices (maybe it would be useful for a more complete example somewhere). > The app is more to show how to use sdbus, not to replace network

Re: [systemd-devel] Password agent for user services

2019-05-20 Thread Lennart Poettering
On Mo, 13.05.19 20:30, Michal Koutný (mkou...@suse.com) wrote: > Hello, > I was pondering a user service that would ask for password via the > password agent infrastructure (as there is > systemd-gnome-ask-password-agent it could be quite integrated with the > desktop environment) as an

Re: [systemd-devel] systemd-nspawn and cgroup hybrid mode

2019-05-20 Thread Lennart Poettering
On Mo, 13.05.19 11:07, Antoine Pietri (antoine.piet...@gmail.com) wrote: > On Mon, May 13, 2019 at 10:42 AM Lennart Poettering > wrote: > > you can use it to lock up the machine, hence we generally don't do it. > > Thanks, got it. For my usecase though, security isn't much of a > concern and I

Re: [systemd-devel] Failed to open system journal: Invalid argument

2019-05-20 Thread Lennart Poettering
On Sa, 18.05.19 09:59, Kay One (kayone...@gmail.com) wrote: > *[ 2002.668599] systemd-journald[743]: Journal effective settings seal=yes > compress=yes compress_threshold_bytes=512B* > *[ 2002.679080] systemd-journald[743]: Failed to open system journal: > Invalid argument* Hmm, this is

Re: [systemd-devel] Failed to start apache2 with error code exited 1 failure

2019-05-20 Thread Dorian ROSSE
Taken * Télécharger Outlook pour Android From: Dorian ROSSE Sent: Monday, May 20, 2019 11:34:38 AM To: Andy Pieters; systemd-de...@freedesktop.org Subject: Re: [systemd-devel] Failed to start apache2 with error code exited 1 failure Ok I

Re: [systemd-devel] Failed to start apache2 with error code exited 1 failure

2019-05-20 Thread Dorian ROSSE
Ok I will ask to Apache but I was know this Is a systemd problem because the engine of Apache is systemd... It is not bad you have take the time for explained, Have a Nice week, Regards. Dorian Rosse. Télécharger Outlook pour Android

Re: [systemd-devel] Fwd: Excess of StartLimitBurst

2019-05-20 Thread Lennart Poettering
On Mo, 20.05.19 10:59, Alexander Mykolaichyk (to4...@gmail.com) wrote: > Dear all, > > Help me please with my problem. > For example, I have systems service config with such parameters: > > Restart=always > RestartSec=1 > StartLimitInterval=300 > StartLimitBurst=3 This setting means the service

Re: [systemd-devel] Failed to start apache2 with error code exited 1 failure

2019-05-20 Thread Andy Pieters
Dorian, n’oubliez pas que cette liste concerne des problèmes spécifiques à systemd. (Please remember that this list is for systemd-specific problems only) Your own output mentions an apache configuration issue. On Mon, May 20, 2019 at 10:24 AM Dorian ROSSE wrote: > Hello, > > > My apache2

Re: [systemd-devel] Failed to start apache2 with error code exited 1 failure

2019-05-20 Thread Lennart Poettering
On Mo, 20.05.19 09:24, Dorian ROSSE (dorianbr...@hotmail.fr) wrote: > Hello, > > > My apache2 seem broken and I need them for listen the radio on my ISP TV > receiver by nagios core, Please contact apache for help, not systemd. This is not a systemd problem, but an Apache problem. Thank you

[systemd-devel] Failed to start apache2 with error code exited 1 failure

2019-05-20 Thread Dorian ROSSE
Hello, My apache2 seem broken and I need them for listen the radio on my ISP TV receiver by nagios core, I copy paste : systemctl status apache2 ● apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled) Drop-In:

Re: [systemd-devel] ExecStartPre checking conf

2019-05-20 Thread Olaf van der Spek
On Sun, May 19, 2019 at 12:26 PM Reindl Harald wrote: > Am 19.05.19 um 11:45 schrieb Olaf van der Spek: > > ExecStartPre is sometimes used to check the configuration. Does this make > > sense? > > It seems this causes a lot of code to run twice, as the configuration > > is checked on the real

[systemd-devel] Fwd: Excess of StartLimitBurst

2019-05-20 Thread Alexander Mykolaichyk
Dear all, Help me please with my problem. For example, I have systems service config with such parameters: Restart=always RestartSec=1 StartLimitInterval=300 StartLimitBurst=3 systemd version = 215 After the system boot up I can restart the service 4 times with systemctl restart service. But

Re: [systemd-devel] Proper way for systemd service to wait mdev gvt device initialization

2019-05-20 Thread Mantas Mikulėnas
On Sun, May 19, 2019 at 9:50 PM Alex Ivanov wrote: > Hello. > What is the proper way to do that? I have a unit that creates gvt device > in the system > > ExecStart = "sh -c 'echo a297db4a-f4c2-11e6-90f6-d3b88d6c9525 > >