Re: [systemd-devel] Why are the priorities of stdout and stderr the same

2023-08-29 Thread Cecil Westerhof
Aug 29, 2023 at 10:25 PM Cecil Westerhof > wrote: > > > > Aargh, forgot again that gmail works differently when replying. :'-{ > > > > Op di 29 aug 2023 om 21:07 schreef Cecil Westerhof < > cldwester...@gmail.com>: > >> > >> Op di 29 aug 2

Re: [systemd-devel] Why are the priorities of stdout and stderr the same

2023-08-29 Thread Cecil Westerhof
Aargh, forgot again that gmail works differently when replying. :'-{ Op di 29 aug 2023 om 21:07 schreef Cecil Westerhof : > Op di 29 aug 2023 om 19:47 schreef Nils Kattenbeck : > >> Hi, At least for simple cases you can use systemd-cat which allows >> setting different pri

Re: [systemd-devel] Why are the priorities of stdout and stderr the same

2023-08-29 Thread Cecil Westerhof
Op di 29 aug 2023 om 11:58 schreef Lennart Poettering < lenn...@poettering.net>: > On Di, 29.08.23 11:56, Cecil Westerhof (cldwester...@gmail.com) wrote: > > > I agree with that usecase, and we have discussed this many times > > > before, but we couldn#t come up with a

Re: [systemd-devel] Why are the priorities of stdout and stderr the same

2023-08-29 Thread Cecil Westerhof
Op di 29 aug 2023 om 11:36 schreef Lennart Poettering < lenn...@poettering.net>: > On Di, 29.08.23 11:20, Cecil Westerhof (cldwester...@gmail.com) wrote: > > > Also: everything has a timestamp, so there is in my opinion when you > choose > > to take them apart no

Re: [systemd-devel] Why are the priorities of stdout and stderr the same

2023-08-29 Thread Cecil Westerhof
Op di 29 aug 2023 om 10:13 schreef Lennart Poettering < lenn...@poettering.net>: > On Sa, 26.08.23 06:14, Cecil Westerhof (cldwester...@gmail.com) wrote: > > Please keep mails like this on the mailing list. > Sorry, I am used to that when I am responding to a list, my repl

Re: [systemd-devel] Systemctl thinks a service file exists that does not

2023-08-28 Thread Cecil Westerhof
Op ma 28 aug 2023 om 14:31 schreef Cecil Westerhof : > Forgot again to change the To. :'-{ > > -- Forwarded message - > Van: Cecil Westerhof > Date: ma 28 aug 2023 om 13:56 > Subject: Re: [systemd-devel] Systemctl thinks a service file exists that >

[systemd-devel] Fwd: Systemctl thinks a service file exists that does not

2023-08-28 Thread Cecil Westerhof
Forgot again to change the To. :'-{ -- Forwarded message - Van: Cecil Westerhof Date: ma 28 aug 2023 om 13:56 Subject: Re: [systemd-devel] Systemctl thinks a service file exists that does not To: Andrei Borzenkov Op ma 28 aug 2023 om 13:30 schreef Andrei Borzenkov : > On

Re: [systemd-devel] Systemctl thinks a service file exists that does not

2023-08-28 Thread Cecil Westerhof
Op ma 28 aug 2023 om 11:55 schreef Andrei Borzenkov : > On Mon, Aug 28, 2023 at 12:27 PM Cecil Westerhof > wrote: > > > > On debian 12, when Itype: > > systemctl status spam > > > > and giving a tab I get: > > spamassassin-maintenance.service

[systemd-devel] Systemctl thinks a service file exists that does not

2023-08-28 Thread Cecil Westerhof
? And how do I make it forget it? -- Cecil Westerhof

Re: [systemd-devel] Normal user can ask status of services

2023-08-27 Thread Cecil Westerhof
Op zo 27 aug 2023 om 18:30 schreef Leon Fauster : > Am 26.08.23 um 18:41 schrieb Cecil Westerhof: > > Replying on google does not work as I am used to. It sends to the sender > > instead of the group.  > > > > Op za 26 aug 2023 om 18:36 schreef Cecil Westerhof > &

[systemd-devel] Can these three crontab lines be done with one timer/service combination

2023-08-27 Thread Cecil Westerhof
* * 1-5 sendProverbs.sh 5 'Middag spreekwoorden' 29 16 * * 1-5 sendProverbs.sh 5 'Avond spreekwoorden' Do I need to make three sets of timer/service files to set them over to systemd, or is there a smart way to do this? -- Cecil Westerhof

Re: [systemd-devel] Normal user can ask status of services

2023-08-26 Thread Cecil Westerhof
Replying on google does not work as I am used to. It sends to the sender instead of the group.  Op za 26 aug 2023 om 18:36 schreef Cecil Westerhof : > Op za 26 aug 2023 om 14:46 schreef Michael Biebl : > >> Am Sa., 26. Aug. 2023 um 09:44 Uhr schrieb Cecil Westerhof >> : >

Re: [systemd-devel] Normal user can ask status of services

2023-08-26 Thread Cecil Westerhof
Replying on google does not work as I am used to. It sends to the sender instead of the group.  Op za 26 aug 2023 om 18:31 schreef Cecil Westerhof : > > Op za 26 aug 2023 om 17:35 schreef Dave Howorth : > >> On Sat, 26 Aug 2023 16:17:46 +0300 >> Andrei Borzenkov wrote: >

Re: [systemd-devel] Normal user can ask status of services

2023-08-26 Thread Cecil Westerhof
Op za 26 aug 2023 om 15:16 schreef Andrei Borzenkov : > Do not send personal reply to the list post. > > On 26.08.2023 15:35, Cecil Westerhof wrote: > > Op za 26 aug 2023 om 13:45 schreef Andrei Borzenkov >: > > > >> On 26.08.2023 10:44, Cecil Westerhof wrote:

[systemd-devel] Normal user can ask status of services

2023-08-26 Thread Cecil Westerhof
: /system.slice/cron.service └─790 /usr/sbin/cron -f Warning: some journal files were not opened due to insufficient permissions. Is this the expected behaviour? If not: what could be wrong with my system? This is on Debian 11. -- Cecil Westerhof

[systemd-devel] Why are the priorities of stdout and stderr the same

2023-08-24 Thread Cecil Westerhof
. -- Cecil Westerhof

[systemd-devel] Append to logfile with year-month

2023-08-24 Thread Cecil Westerhof
with a timed service, but I really would not like that kind of solution. -- Cecil Westerhof

Re: [systemd-devel] Strange problem: Failed to get properties: Failed to activate service

2018-10-18 Thread Cecil Westerhof
Op wo 17 okt. 2018 om 20:06 schreef Cecil Westerhof : > Since this morning I have a strange problem, when I execute: > systemctl status cups > > I get: > Failed to get properties: Failed to activate service > 'org.freedesktop.systemd1': timed out > > This is with

[systemd-devel] Strange problem: Failed to get properties: Failed to activate service

2018-10-17 Thread Cecil Westerhof
(stretch) Release:9.5 Codename: stretch -- Cecil Westerhof ___ 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 Cecil Westerhof
the regex library into it's core... >> > > Right, no need to file another bug report. https://bugs.debian. > org/cgi-bin/bugreport.cgi?bug=890265 > Indeed not. Seeing that the last message is from three months ago, I am afraid it will not

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 yo

[systemd-devel] Select on value of log message

2018-08-29 Thread Cecil Westerhof
There are a lot of ways you can select the output you get from journalctl, but it seems you cannot select on the message itself. That is why I need to do something like: journalctl | grep 'Database is locked' Is this true, or am I overlooking something? -- Cecil Westerhof

Re: [systemd-devel] Return codes of systemctl (status)

2018-08-16 Thread Cecil Westerhof
2018-08-16 18:18 GMT+02:00 Dave Reisner : > On Thu, Aug 16, 2018 at 01:27:12PM +0200, Cecil Westerhof wrote: > > The man page of systemctl says: > > On success, 0 is returned, a non-zero failure code otherwise. > > > > When I do a systemctl status on a service th

Re: [systemd-devel] Return codes of systemctl (status)

2018-08-16 Thread Cecil Westerhof
you interpret things. On Thu, Aug 16, 2018, 6:27 AM Cecil Westerhof > wrote: > >> The man page of systemctl says: >> On success, 0 is returned, a non-zero failure code otherwise. >> >> When I do a systemctl status on a service that is not running I get a 3. >&

[systemd-devel] Return codes of systemctl (status)

2018-08-16 Thread Cecil Westerhof
The man page of systemctl says: On success, 0 is returned, a non-zero failure code otherwise. When I do a systemctl status on a service that is not running I get a 3. What other values can be returned and where do I find those? -- Cecil Westerhof

Re: [systemd-devel] Restarting a service as user instead as root

2018-08-13 Thread Cecil Westerhof
2018-08-13 12:52 GMT+02:00 Michael Chapman : > On Mon, 13 Aug 2018, Cecil Westerhof wrote: > > 2018-08-13 11:51 GMT+02:00 Michael Chapman : > > > > > On Mon, 13 Aug 2018, Cecil Westerhof wrote: > > > > I have a service that is run as a different use

Re: [systemd-devel] Restarting a service as user instead as root

2018-08-13 Thread Cecil Westerhof
2018-08-13 11:51 GMT+02:00 Michael Chapman : > On Mon, 13 Aug 2018, Cecil Westerhof wrote: > > I have a service that is run as a different user as root. But only root > can > > restart the service. Is there a way to make 'systemctl restart' work for > > the user that r

Re: [systemd-devel] Restarting a service as user instead as root

2018-08-13 Thread Cecil Westerhof
2018-08-13 11:28 GMT+02:00 Cecil Westerhof : > I have a service that is run as a different user as root. But only root > can restart the service. Is there a way to make 'systemctl restart' work > for the user that runs the service? > Thanks for the answers. At the moment it is not ve

[systemd-devel] Restarting a service as user instead as root

2018-08-13 Thread Cecil Westerhof
I have a service that is run as a different user as root. But only root can restart the service. Is there a way to make 'systemctl restart' work for the user that runs the service? -- Cecil Westerhof ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] Newer videos

2018-01-23 Thread Cecil Westerhof
2018-01-23 16:14 GMT+01:00 Lennart Poettering <lenn...@poettering.net>: > On So, 21.01.18 15:21, Cecil Westerhof (cldwester...@gmail.com) wrote: > > > But that one is 2½ years old. Is there something more recent? It was > > certainly interesting, but it is not completely

Re: [systemd-devel] Newer videos

2018-01-22 Thread Cecil Westerhof
2018-01-22 9:29 GMT+01:00 Michal Koutný <mkou...@suse.com>: > > > On 01/21/2018 03:21 PM, Cecil Westerhof wrote: > > I wanted to dive deeper into systemd. So I sought videos on YouTube. > [...] > > But that one is 2½ years old. Is there something more recent? &g

Re: [systemd-devel] Is it possible to set CPUAffinity at runtime

2018-01-21 Thread Cecil Westerhof
2018-01-21 17:18 GMT+01:00 Cecil Westerhof <cldwester...@gmail.com>: > > I would like to change the CPUaffinity of a service at runtime. Is this > possible? > ​If it is not possible with a systemd command, it can be done like this: taskset -cp 3 21234​ ​This set the CPUA

[systemd-devel] Is it possible to set CPUAffinity at runtime

2018-01-21 Thread Cecil Westerhof
I would like to change the CPUaffinity of a service at runtime. Is this possible? -- Cecil Westerhof ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] Newer videos

2018-01-21 Thread Cecil Westerhof
/lib/systemd/system ​is now: /lib/systemd/system ​ ​And there are probably a lot of new functionalities.​ -- Cecil Westerhof ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd

Re: [systemd-devel] Disabling tomcat8

2017-12-19 Thread Cecil Westerhof
2017-12-19 2:58 GMT+01:00 Reindl Harald <h.rei...@thelounge.net>: > > > Am 19.12.2017 um 02:23 schrieb Cecil Westerhof: > >> 2017-12-19 1:36 GMT+01:00 Reindl Harald <h.rei...@thelounge.net > h.rei...@thelounge.net>>: >> >> >>

[systemd-devel] Default reply to the mailing-list instead of sender

2017-12-19 Thread Cecil Westerhof
With most mailing-lists when replying with GMail a reply is default send to the mailing-list, but with this mailing-list it is default send to the sender. Would it be possible to change this? -- Cecil Westerhof ___ systemd-devel mailing list systemd

Re: [systemd-devel] journalctl --unit and pattern

2017-12-18 Thread Cecil Westerhof
2017-12-18 22:53 GMT+01:00 Kai Krakow <hurikha...@gmail.com>: > Am Mon, 18 Dec 2017 18:01:21 +0100 schrieb Cecil Westerhof: > > > At the moment I am using: > > journalctl --boot --follow --no-tail --unit storeSystemStatistics > > --unit vmstatLog > > >

[systemd-devel] Disabling tomcat8

2017-12-18 Thread Cecil Westerhof
: Start Tomcat.. -- Cecil Westerhof ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] journalctl --unit and pattern

2017-12-18 Thread Cecil Westerhof
ke it work. How should I use a pattern. (I could not find info about it.)​ -- Cecil Westerhof ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] xmodmap gives: No protocol specified

2016-11-04 Thread Cecil Westerhof
2016-11-04 15:46 GMT+01:00 Cecil Westerhof <cldwester...@gmail.com>: > I want to set my own keyboard definitions when they get lost. They > sometimes do. The only way of doing this automatically is in a cronjob > or a systemd service. I would prefer a systemd service. But for

Re: [systemd-devel] xmodmap gives: No protocol specified

2016-11-04 Thread Cecil Westerhof
2016-11-04 13:29 GMT+01:00 Mantas Mikulėnas <graw...@gmail.com>: > On Fri, Nov 4, 2016 at 1:47 PM, Cecil Westerhof <cldwester...@gmail.com> > wrote: >> >> I have a script I want to run as a service which uses: >> xmodmap -pk >> I have to define the DIS

[systemd-devel] Is there a way to see if a script is run from systemd

2016-05-08 Thread Cecil Westerhof
I have written a Bash script to be used for a service. Is it possible to see in the script if it is run from systemd? I could use this for debugging purposes. -- Cecil Westerhof ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https

[systemd-devel] Let journalctl give only output of script

2016-05-08 Thread Cecil Westerhof
I made my own service and I can get info about it with: ​journalctl -u firefoxCPUUsageStore​ ​But this gives also info about starting, restarting and the like. Is it possible to get only the logging that is generated by the script itself?​ -- Cecil Westerhof

[systemd-devel] Fwd: Start, stop en restart service by the user that is used to run the service script

2016-04-01 Thread Cecil Westerhof
Went to the wrong address. :'-( -- Forwarded message -- From: Cecil Westerhof <cldwester...@gmail.com> Date: 2016-04-02 1:29 GMT+02:00 Subject: Re: [systemd-devel] Start, stop en restart service by the user that is used to run the service script To: Lennart Poettering

Re: [systemd-devel] From command-line 'systemctl suspend' works' from cron it does not

2016-04-01 Thread Cecil Westerhof
2016-04-01 21:34 GMT+02:00 Lennart Poettering <lenn...@poettering.net>: > On Mon, 21.03.16 09:21, Cecil Westerhof (cldwester...@gmail.com) wrote: > > > When executing > > systemctl suspend || echo "Error code: ${?}" > > from the command-line it outputs

Re: [systemd-devel] Suspend does not work from a service

2016-03-24 Thread Cecil Westerhof
2016-03-21 10:34 GMT+01:00 Colin Guthrie <co...@mageia.org>: > Cecil Westerhof wrote on 19/03/16 23:54: > > 2016-03-18 17:16 GMT+01:00 Cecil Westerhof <cldwester...@gmail.com > > <mailto:cldwester...@gmail.com>>: > > > > I wrote as script to

[systemd-devel] Start, stop en restart service by the user that is used to run the service script

2016-03-24 Thread Cecil Westerhof
I have a service that is run as a normal user. I can ask a status of this service, but would it also be possible to start, stop en restart the service by the user itself? -- Cecil Westerhof ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] From command-line 'systemctl suspend' works' from cron it does not

2016-03-24 Thread Cecil Westerhof
2016-03-23 8:11 GMT+01:00 Cecil Westerhof <cldwester...@gmail.com>: > Have you tried running from a root > >> crontab? >> > > ​Just tried it and that works. One important difference: it returns an > error code of 0 instead of 1. > So probably I need to set

Re: [systemd-devel] From command-line 'systemctl suspend' works' from cron it does not

2016-03-23 Thread Cecil Westerhof
2016-03-23 1:32 GMT+01:00 Kai Krakow <hurikha...@gmail.com>: > Am Mon, 21 Mar 2016 09:21:39 +0100 > schrieb Cecil Westerhof <cldwester...@gmail.com>: > > > When executing > > systemctl suspend || echo "Error code: ${?}" > > from

Re: [systemd-devel] Suspend does not work from a service

2016-03-21 Thread Cecil Westerhof
2016-03-21 10:34 GMT+01:00 Colin Guthrie <co...@mageia.org>: > Cecil Westerhof wrote on 19/03/16 23:54: > > 2016-03-18 17:16 GMT+01:00 Cecil Westerhof <cldwester...@gmail.com > > <mailto:cldwester...@gmail.com>>: > > > > I wrote as script to

[systemd-devel] From command-line 'systemctl suspend' works' from cron it does not

2016-03-21 Thread Cecil Westerhof
et: Access denied and gives the output: Error code: 4 What is happening here? Is it possible to run 'systemctl suspend' from cron, or is there a reason why this is not possible? -- Cecil Westerhof ___ systemd-devel mailing list sys

Re: [systemd-devel] Suspend does not work from a service

2016-03-19 Thread Cecil Westerhof
2016-03-18 17:16 GMT+01:00 Cecil Westerhof <cldwester...@gmail.com>: > I wrote as script to put my netbook into suspend when it is locked for > five minutes and not connected to the AC adapter: > > https://github.com/CecilWesterhof/BashLibrary/blob/master/bin/suspend.sh >

[systemd-devel] Suspend does not work from a service

2016-03-19 Thread Cecil Westerhof
/bash/bin/suspend.sh Restart=always User=cecil [Install] WantedBy=multi-user.target ​ ​On a related note​: why does: systemctl suspend give an exit status of 1? And why does it returns immediately? I had to add a sleep 5 to my script to make it work. -- Cecil Westerhof

[systemd-devel] Service runs as imaps, but imaps can not read the journal

2015-04-04 Thread Cecil Westerhof
-user.target But when I as imaps run: journalctl --since=2015-04-04 08:00 I do not see any log information. Would it not be logical that the user can see the log information of its own process? This is with systemd version 210. -- Cecil Westerhof

[systemd-devel] is-enabled does not work

2015-03-20 Thread Cecil Westerhof
​When executing on a Debian system: systemctl is-enabled atd.service I get:​ Failed to issue method call: No such file or directory On a openSUSE system it works without a hitch. What could be the reason it does not work on the Debian systems? -- Cecil Westerhof

Re: [systemd-devel] is-enabled does not work

2015-03-20 Thread Cecil Westerhof
2015-03-20 22:09 GMT+01:00 Cecil Westerhof cldwester...@gmail.com: 2015-03-20 21:59 GMT+01:00 Tomasz Torcz to...@pipebreaker.pl: On Fri, Mar 20, 2015 at 09:55:37PM +0100, Cecil Westerhof wrote: ​When executing on a Debian system: systemctl is-enabled atd.service I get

Re: [systemd-devel] is-enabled does not work

2015-03-20 Thread Cecil Westerhof
2015-03-20 22:08 GMT+01:00 Cameron Norman camerontnor...@gmail.com: On Mar 20, 2015 1:56 PM, Cecil Westerhof cldwester...@gmail.com wrote: ​When executing on a Debian system: systemctl is-enabled atd.service I get:​ Failed to issue method call: No such file or directory

[systemd-devel] Most important changes the last 15 months

2015-03-16 Thread Cecil Westerhof
About 15 months ago I gave a presentation about systemd/journald. I am asked to give another presentation about systemd/journald. What are the most important changes I should integrate into my presentation? -- Cecil Westerhof ___ systemd-devel mailing

Re: [systemd-devel] Restarting service does not work

2014-12-21 Thread Cecil Westerhof
2014-12-21 14:52 GMT+01:00 Andrei Borzenkov arvidj...@gmail.com: В Sun, 21 Dec 2014 13:24:16 +0100 Cecil Westerhof cldwester...@gmail.com пишет: I have a service in which I log vmstat info in a H2 database. Of-course this is only useful when H2 is actually running. So I have the following

Re: [systemd-devel] [ANNOUNCE] systemd 210

2014-02-24 Thread Cecil Westerhof
On 02/25/2014 01:30 AM, David Timothy Strauss wrote: On Mon, Feb 24, 2014 at 2:08 PM, Lennart Poettering lenn...@poettering.net wrote: logind is now a lot more aggressive when suspending the machine due to a closed laptop lid. Instead of acting only on the lid close action

Re: [systemd-devel] [HEADS-UP] It's release time!

2014-02-18 Thread Cecil Westerhof
am not a systemd guru, but if there is a (simple) way I could help with testing, I would not mind. I work with openSUSE, but I could install other distributions in a VirtualBox. Met vriendelijke groet, Cecil Westerhof Engineer mobiel +31 - 6 - 25 00 38 81 -- Snow B.V. Unix Specialists

Re: [systemd-devel] [HEADS-UP] It's release time!

2014-02-18 Thread Cecil Westerhof
away. Then I should step away. But on the other hand, I could just create VM's. If they bomb out: no problem. Met vriendelijke groet, Cecil Westerhof Engineer mobiel +31 - 6 - 25 00 38 81 -- Snow B.V. Unix Specialists De Ooyen 11 4191 PB Geldermalsen http://www.snow.nl tel. +31 - 345

[systemd-devel] First draft what to treat in the white-papers about systemd/journald

2013-12-17 Thread Cecil Westerhof
At the moment there are four white-papers I have to write: - Remote Log Server - Resource Management - Security - Process Management Here I am going to describe what I think I should include. When something is missing: I gladly get notified about it. - Remote Log Server Journald is primarily

Re: [systemd-devel] Why doe I not see the logging with -u

2013-12-16 Thread Cecil Westerhof
On 12/14/2013 09:22 AM, Cecil Westerhof wrote: I made a first setup to make a service for the H2 database. I made the folowing service file: [Unit] Description=H2 Database [Service] Type=simple ExecStart=/usr/bin/java -cp /home/cecil/java/h2/bin/h2-1.3.174.jar org.h2

[systemd-devel] Does not start in graphical mode

2013-12-16 Thread Cecil Westerhof
I made a openSUSE 13.1 VM in virtualbox. I start it in graphical mode. But I do not get a X environment. With journalctl I see that it is reached: Dec 16 12:18:33 linux-r4lo.site systemd[1]: Starting Graphical Interface. Dec 16 12:18:33 linux-r4lo.site systemd[1]: Reached target Graphical

Re: [systemd-devel] Does not start in graphical mode

2013-12-16 Thread Cecil Westerhof
On 12/16/2013 12:32 PM, Cecil Westerhof wrote: I made a openSUSE 13.1 VM in virtualbox. I start it in graphical mode. But I do not get a X environment. With journalctl I see that it is reached: Dec 16 12:18:33 linux-r4lo.site systemd[1]: Starting Graphical Interface. Dec 16 12:18:33 linux

Re: [systemd-devel] Why doe I not see the logging with -u

2013-12-15 Thread Cecil Westerhof
On 12/15/2013 04:57 AM, Zbigniew Jędrzejewski-Szmek wrote: On Sun, Dec 15, 2013 at 01:08:29AM +0100, Cecil Westerhof wrote: And for good measure, the output from SYSTEMD_LOG_LEVEL=debug journalctl -u h2 21 /dev/null|grep 'Journal filter' That gives nothing. Even when I remove /dev/null So

[systemd-devel] Why doe I not see the logging with -u

2013-12-14 Thread Cecil Westerhof
I made a first setup to make a service for the H2 database. I made the folowing service file: [Unit] Description=H2 Database [Service] Type=simple ExecStart=/usr/bin/java -cp /home/cecil/java/h2/bin/h2-1.3.174.jar org.h2.tools.Console -tool -tcp Restart=always

Re: [systemd-devel] Why doe I not see the logging with -u

2013-12-14 Thread Cecil Westerhof
On 12/14/2013 09:56 AM, Andrey Borzenkov wrote: I made a first setup to make a service for the H2 database. I made the folowing service file: [Unit] Description=H2 Database [Service] Type=simple ExecStart=/usr/bin/java -cp /home/cecil/java/h2/bin/h2-1.3.174.jar

Re: [systemd-devel] Why doe I not see the logging with -u

2013-12-14 Thread Cecil Westerhof
On 12/14/2013 05:25 PM, Zbigniew Jędrzejewski-Szmek wrote: On Sat, Dec 14, 2013 at 09:22:46AM +0100, Cecil Westerhof wrote: I made a first setup to make a service for the H2 database. I made the folowing service file: [Unit] Description=H2 Database [Service] Type=simple

Re: [systemd-devel] No security on systemd-journal-gatewayd

2013-12-12 Thread Cecil Westerhof
On 12/12/2013 05:20 AM, Kay Sievers wrote: On Wed, Dec 11, 2013 at 11:53 PM, Reindl Harald h.rei...@thelounge.net wrote: Am 11.12.2013 22:41, schrieb Cecil Westerhof: I tried out systemd-journal-gatewayd. But it looks like that everyone that can contact, can get log info. Is that true, or am I

Re: [systemd-devel] Last question about systemd before my presentation

2013-12-12 Thread Cecil Westerhof
On 12/12/2013 03:43 PM, Lennart Poettering wrote: What I mend was the following: As I understood it, there are Virtual Machine solutions that are implemented as a service. When there are several VM's running in this service and one of those should get a lot more from the processor as the rest,

Re: [systemd-devel] Logging in an enterprise environment

2013-12-11 Thread Cecil Westerhof
On 12/10/2013 07:16 PM, Lennart Poettering wrote: As I understand it, journald is mend to log locally. Two methods to log centrally are, if I have understand it correctly: - mounting and merging through NFS - systemd-journal-gateway Whereby the first would be the preferred method. That would

Re: [systemd-devel] Logging in an enterprise environment

2013-12-11 Thread Cecil Westerhof
On 12/11/2013 02:25 PM, Cecil Westerhof wrote: You can to centralized logging with the journal too, by simply making the journal files you want to look at accessible on the same machine. This could be done via NFS sharing, or by copying them to a central host via rsync or scp or even ftp

Re: [systemd-devel] Logging in an enterprise environment

2013-12-11 Thread Cecil Westerhof
On 12/11/2013 02:25 PM, Cecil Westerhof wrote: Eventually journald should provide you with both a pull and a push model, however it currently onyl supports a pull model. Note that for Where can I information about that, or do you mean copying the files? You probably mend systemd-journal

Re: [systemd-devel] Logging in an enterprise environment

2013-12-11 Thread Cecil Westerhof
On 12/11/2013 02:52 PM, Reindl Harald wrote: I just had a little check. Copying is not acceptable. Logging on the log-server should be real-time so just install rsyslog and you have the same as before rsyslog is running here on any machine and journald with Storage=none I already suggested

Re: [systemd-devel] Last question about systemd before my presentation

2013-12-11 Thread Cecil Westerhof
On 12/05/2013 08:39 PM, Lennart Poettering wrote: When virtual machines are implementd as a service. You need to let the host define the limits per guest I suppose? Not following? You can pack as many services in a slice as you want, and you can create a tree of slices, so that you can run a

Re: [systemd-devel] Questions I got about systemd

2013-12-11 Thread Cecil Westerhof
On 12/06/2013 01:18 PM, Mantas Mikulėnas wrote: Is it possible to do an automatic shutdown when there is no more room to for journald to log? (They did not want to have logging removed.) Currently no. journald tries to never use more than the configured % of disk space and rotates away old

Re: [systemd-devel] Questions I got about systemd

2013-12-11 Thread Cecil Westerhof
On 12/11/2013 07:24 PM, Mantas Mikulėnas wrote: Is it possible to do an automatic shutdown when there is no more room to for journald to log? (They did not want to have logging removed.) Currently no. journald tries to never use more than the configured % of disk space and rotates

[systemd-devel] No security on systemd-journal-gatewayd

2013-12-11 Thread Cecil Westerhof
I tried out systemd-journal-gatewayd. But it looks like that everyone that can contact, can get log info. Is that true, or am I overlooking something? ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

[systemd-devel] Logging in an enterprise environment

2013-12-10 Thread Cecil Westerhof
After giving a presentation about systemd/journald I am seen as the expert, so they come to me with the challenges they see. As I understand it, journald is mend to log locally. Two methods to log centrally are, if I have understand it correctly: - mounting and merging through NFS -

Re: [systemd-devel] Presentation was a success

2013-12-06 Thread Cecil Westerhof
On 12/06/2013 02:47 AM, poma wrote: It was a lot of work, but the presentation about systemd/journald was a success. I got several colleges interested: so mission accomplished. There are some things I still should respond to, but I am a ‘little’ tired, so I will respond later. Thank everyone

Re: [systemd-devel] Presentation was a success

2013-12-06 Thread Cecil Westerhof
On 12/06/2013 12:30 PM, Reindl Harald wrote: In 7th slide - Improvements - Only necessary kernel modules How does it actually refers to systemd? You do not need to have modules loaded that are not used much. They can be loaded when a program that needs them is run and unloaded when the

[systemd-devel] Questions I got about systemd

2013-12-06 Thread Cecil Westerhof
Is it possible to do an automatic shutdown when there is no more room to for journald to log? (They did not want to have logging removed.) Is there something to automatically convert the inittab? ___ systemd-devel mailing list

Re: [systemd-devel] Presentation was a success

2013-12-06 Thread Cecil Westerhof
On 12/06/2013 12:43 PM, Reindl Harald wrote: Am 06.12.2013 12:38, schrieb Cecil Westerhof: On 12/06/2013 12:30 PM, Reindl Harald wrote: In 7th slide - Improvements - Only necessary kernel modules How does it actually refers to systemd? You do not need to have modules loaded

Re: [systemd-devel] Presentation was a success

2013-12-06 Thread Cecil Westerhof
On 12/06/2013 03:45 PM, Reindl Harald wrote: /etc/modules-load.d/ *adds* modules otherwise not loaded by the kernel and they are loaded at boot Strange I thought that I used this to have the loop module loaded when starting truecrypt and unloaded when stopping truecrypt. I have to check this

Re: [systemd-devel] Presentation was a success

2013-12-06 Thread Cecil Westerhof
On 12/05/2013 09:10 PM, Cecil Westerhof wrote: It was a lot of work, but the presentation about systemd/journald was a success. I got several colleges interested: so mission accomplished. There are some things I still should respond to, but I am a ‘little’ tired, so I will respond later. Thank

Re: [systemd-devel] Last question about systemd before my presentation

2013-12-05 Thread Cecil Westerhof
does not have any network interfaces by default. (Relevant man pages: clone, unshare, setns, nsenter; LXC also uses this.) OK, it is an on/off switch. There is not a possibility to limit the bandwidth? Met vriendelijke groet, Cecil Westerhof Engineer mobiel +31 - 6 - 25 00 38 81 -- Snow

[systemd-devel] Presentation was a success

2013-12-05 Thread Cecil Westerhof
It was a lot of work, but the presentation about systemd/journald was a success. I got several colleges interested: so mission accomplished. There are some things I still should respond to, but I am a ‘little’ tired, so I will respond later. Thank everyone who helped me in making this

[systemd-devel] Last question about systemd before my presentation

2013-12-04 Thread Cecil Westerhof
. You need to let the host define the limits per guest I suppose? How do you let a block-device be read-only for a service? Any last tips about what to share? -- Cecil Westerhof Snow B.V. ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] Seeing logging as user

2013-11-29 Thread Cecil Westerhof
On 11/29/2013 04:00 AM, Lennart Poettering wrote: On Fri, 29.11.13 01:32, Cecil Westerhof (cecil.wester...@snow.nl) wrote: Your cronjobs do not run in a systemd-logind session (though they could), but they /do/ run with your uid, so you would be able to see them in the split-by-uid mode

Re: [systemd-devel] Is restart gracefull?

2013-11-29 Thread Cecil Westerhof
On 11/29/2013 08:59 AM, David Timothy Strauss wrote: On Fri, Nov 29, 2013 at 12:53 PM, Lennart Poettering lenn...@poettering.net wrote: On Fri, 29.11.13 00:11, Cecil Westerhof (cecil.wester...@snow.nl) wrote: I have done a trial presentation about systemd. One of the questions there was: when

Re: [systemd-devel] Is restart gracefull?

2013-11-29 Thread Cecil Westerhof
On 11/29/2013 01:12 PM, Jan Alexander Steffens wrote: On Fri, Nov 29, 2013 at 12:52 PM, Cecil Westerhof cecil.wester...@snow.nl wrote: Just to clarify, stop (and, by extension restart) is also up to the implementer of the unit file. There just happens to be a default, unlike with reload. See

Re: [systemd-devel] Is restart gracefull?

2013-11-29 Thread Cecil Westerhof
On 11/30/2013 02:28 AM, David Timothy Strauss wrote: If you're willing to use nginx instead, it's fairly straightforward. I'd have to research the options for Apache. I would be willing, but that is not the point. I have to give the presentation to my colleges and they have to use it at our

[systemd-devel] Is restart gracefull?

2013-11-28 Thread Cecil Westerhof
I have done a trial presentation about systemd. One of the questions there was: when a restart of for example apache is doen, is this restart done graceful? Met vriendelijke groet, Cecil Westerhof Engineer mobiel +31 - 6 - 25 00 38 81 -- Snow B.V. Unix Specialists De Ooyen 11 4191 PB

Re: [systemd-devel] Seeing logging as user

2013-11-28 Thread Cecil Westerhof
On 11/28/2013 12:37 AM, Kay Sievers wrote: I have to give a presentation about systemd/journald. One of the things I want to show is that you do not need an administrator to see the log messages that are generated by you. I did: - makedir /var/log/journal - systemctl kill -s SIGUSR1

[systemd-devel] What if a service is started manually

2013-11-28 Thread Cecil Westerhof
started? Nothing, or is the service first stopped and then again started? - What happens if someone started the service manually? So bypassing systemd and running directly /usr/bin/vde_switch. Met vriendelijke groet, Cecil Westerhof Engineer mobiel +31 - 6 - 25 00 38 81 -- Snow B.V. Unix

[systemd-devel] QOS

2013-11-28 Thread Cecil Westerhof
I was asked if you could use systemd for QOS? ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] xnitd

2013-11-28 Thread Cecil Westerhof
How does systemd compare to xinitd? Met vriendelijke groet, Cecil Westerhof Engineer mobiel +31 - 6 - 25 00 38 81 -- Snow B.V. Unix Specialists De Ooyen 11 4191 PB Geldermalsen http://www.snow.nl tel. +31 - 345 - 65 66 66 ___ systemd-devel

Re: [systemd-devel] What if a service is started manually

2013-11-28 Thread Cecil Westerhof
On 11/29/2013 12:23 AM, Cecil Westerhof wrote: In a trial presentation I used the following service file: [Unit] Description=Virtual Distributed Ethernet After=syslog.target [Service] Type=forking PIDFile=/var/run/vde.pid # Note the -f: don't fail if there is no PID file ExecStartPre=/bin/rm -f

  1   2   >