Re: [systemd-devel] missing sd_listen_fds & sd_is_socket

2012-01-01 Thread Michael D. Berger
> -Original Message- > From: Lennart Poettering [mailto:lenn...@poettering.net] > Sent: Sunday, January 01, 2012 09:28 > To: Michael D. Berger > Cc: systemd-devel@lists.freedesktop.org > Subject: Re: [systemd-devel] missing sd_listen_fds & sd_is_socket > > On

[systemd-devel] missing sd_listen_fds & sd_is_socket

2011-12-31 Thread Michael D. Berger
you see I cannot run MyDaemon.socket . It looks like my installation is incomplete. Any suggestions? Thanks, Mike. -- Michael D. Berger m.d.ber...@ieee.org http://www.rosemike.net/ ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://l

[systemd-devel] misplaced sd-daemon.h

2011-12-31 Thread Michael D. Berger
# find / -name sd-daemon.h /usr/share/doc/systemd/sd-daemon.h and my program doesn't find it. Of course I can fix this, but might it indicate that there is something wrong with my installation? Thanks, Mike. -- Michael D. Berger m.d.ber...@ieee.org http://www.rosemik

Re: [systemd-devel] extra SIGTERM

2011-12-30 Thread Michael D. Berger
> -Original Message- > From: Lennart Poettering [mailto:lenn...@poettering.net] > Sent: Friday, December 30, 2011 11:13 > To: Michael D. Berger > Cc: systemd-devel@lists.freedesktop.org > Subject: Re: [systemd-devel] extra SIGTERM > > On Thu, 29.12.11 19:14, Mi

[systemd-devel] extra SIGTERM

2011-12-29 Thread Michael D. Berger
-user.target Using the service as shown, when I stop myDaemon, it gets one SIGTERM . However, if I uncomment the ExecStop line, it gets two SIGTERMs in rapid succession. Looks like a bug to me. What do you think? Mike. -- Michael D. Berger m.d.ber...@ieee.org http://www.rosemike.net

Re: [systemd-devel] sd_listen_fds: find file descriptor

2011-12-16 Thread Michael D. Berger
> -Original Message- > From: Lennart Poettering [mailto:lenn...@poettering.net] > Sent: Friday, December 16, 2011 09:40 > To: Michael D. Berger > Cc: systemd-devel@lists.freedesktop.org > Subject: Re: [systemd-devel] sd_listen_fds: find file descriptor > > On Thu,

Re: [systemd-devel] sd_listen_fds: find file descriptor

2011-12-15 Thread Michael D. Berger
be 3. How do we know that 3 is not being used by something else? I thought that the system has to choose a handle that is available. Mike. -- Michael D. Berger m.d.ber...@ieee.org http://www.rosemike.net/ ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] meaning of =-

2011-12-14 Thread Michael D. Berger
> -Original Message- > From: Michael Biebl [mailto:mbi...@gmail.com] > Sent: Wednesday, December 14, 2011 21:59 > To: Michael D. Berger > Cc: systemd-devel@lists.freedesktop.org > Subject: Re: [systemd-devel] meaning of =- > > 2011/12/15 Michael D. Berger : >

[systemd-devel] meaning of =-

2011-12-14 Thread Michael D. Berger
In many places in service files I see "=-" where I expect to see just "=". What does it mean? Thanks, Mike. -- Michael D. Berger m.d.ber...@ieee.org http://www.rosemike.net/ ___ systemd-devel mailing list systemd-devel@lists.

[systemd-devel] sd_listen_fds: find file descriptor

2011-12-14 Thread Michael D. Berger
< 8; ++jj) if () break; if (jj < 8) Right? If not, then what? Thanks, Mike. -- Michael D. Berger m.d.ber...@ieee.org http://www.rosemike.net/ ___ systemd-devel mailing list systemd-devel@lists.freedesktop.or

Re: [systemd-devel] ExecStop required in service file?

2011-12-13 Thread Michael D. Berger
> -Original Message- > From: Lennart Poettering [mailto:lenn...@poettering.net] > Sent: Tuesday, December 13, 2011 05:57 > To: Michael D. Berger > Cc: systemd-devel@lists.freedesktop.org > Subject: Re: [systemd-devel] ExecStop required in service file? > >

[systemd-devel] FW: F16_64: attempt at OpenVPN server service file

2011-11-28 Thread Michael D. Berger
I resend some of this because I think it is inportant, and for some reason it didn't make it to the list. > > The change shown is not bad, but I might say something like > "... other > > than the Stop command being issued..." > There are other reasons why a unit can be stopped: if the unit > Requ

Re: [systemd-devel] RefuseEnable

2011-11-28 Thread Michael D. Berger
> -Original Message- > From: Bill Nottingham [mailto:nott...@redhat.com] > Sent: Monday, November 28, 2011 12:14 > To: Michael D. Berger > Cc: systemd-devel@lists.freedesktop.org > Subject: Re: [systemd-devel] RefuseEnable > > Michael D. Berger (m.d.ber...@ieee.or

Re: [systemd-devel] F16_64: attempt at OpenVPN server service file

2011-11-28 Thread Michael D. Berger
> -Original Message- > From: Zbigniew Jedrzejewski-Szmek [mailto:zbys...@in.waw.pl] > Sent: Monday, November 28, 2011 04:38 > To: Michael D. Berger > Cc: systemd-devel@lists.freedesktop.org; 'Reindl Harald' > Subject: Re: [systemd-devel] F16_64: attempt at Op

Re: [systemd-devel] F16_64: attempt at OpenVPN server service file

2011-11-27 Thread Michael D. Berger
> -Original Message- > From: Zbigniew Jedrzejewski-Szmek [mailto:zbys...@in.waw.pl] > Sent: Sunday, November 27, 2011 14:12 > To: systemd-devel@lists.freedesktop.org > Cc: Michael D. Berger; 'Reindl Harald' > Subject: Re: [systemd-devel] F16_64: attempt at Op

[systemd-devel] RefuseEnable

2011-11-27 Thread Michael D. Berger
Is there a way to prevent a service from being enabled? Thanks, Mike. -- Michael D. Berger m.d.ber...@ieee.org http://www.rosemike.net/ ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo

Re: [systemd-devel] F16_64: attempt at OpenVPN server service file

2011-11-26 Thread Michael D. Berger
-- I spoke too soon. By more completely duplicating the functionality in SysV, I got the same problems. I'm now going to set up a delayed start. Sorry, Mike. -- Michael D. Berger m.d.ber...@ieee.org http://www.rosemike.net/ ___ systemd-d

Re: [systemd-devel] F16_64: attempt at OpenVPN server service file

2011-11-26 Thread Michael D. Berger
> -Original Message- > From: Reindl Harald [mailto:h.rei...@thelounge.net] > Sent: Saturday, November 26, 2011 17:17 > To: Michael D. Berger > Cc: systemd-devel@lists.freedesktop.org > Subject: Re: [systemd-devel] F16_64: attempt at OpenVPN > server service file >

Re: [systemd-devel] F16_64: attempt at OpenVPN server service file

2011-11-26 Thread Michael D. Berger
lists.freedesktop.org > Subject: Re: [systemd-devel] F16_64: attempt at OpenVPN > server service file > > > > Am 26.11.2011 21:54, schrieb Michael D. Berger: > > #/etc/systemd/system/vpn_srv.service: > > > > [Unit] > > Description=OpenVPN

[systemd-devel] F16_64: attempt at OpenVPN server service file

2011-11-26 Thread Michael D. Berger
ExecStopPost=-/bin/systemctl restart network.service [Install] WantedBy=multi-user.target -- Michael D. Berger m.d.ber...@ieee.org http://www.rosemike.net/ ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] openvpn: tap0 & br0 missing

2011-11-21 Thread Michael D. Berger
s: In this line: ExecStopPost=-/etc/init.d/openvpn-bridge stop Restart=always Why do you have '-' after '=' ? I don't see the '-' in man 5 systemd.service . Why do you have "Restart=always" ? The only time I would want it to restart

Re: [systemd-devel] openvpn: tap0 & br0 missing

2011-11-21 Thread Michael D. Berger
lists.freedesktop.org > Subject: Re: [systemd-devel] openvpn: tap0 & br0 missing > > > > Am 21.11.2011 21:49, schrieb Miklos Vajna: > > On Mon, Nov 21, 2011 at 01:18:08PM -0500, "Michael D. > Berger" wrote: > >> What might I put in the .service

Re: [systemd-devel] openvpn: tap0 & br0 missing

2011-11-21 Thread Michael D. Berger
11 16:07 > To: systemd-devel@lists.freedesktop.org > Subject: Re: [systemd-devel] openvpn: tap0 & br0 missing > > On 11/21/2011 06:18 PM, Michael D. Berger wrote: > > It appears that, unlike the SysV control script, the > systemd version > > calls neither bridge-start nor bridge-st

Re: [systemd-devel] openvpn: tap0 & br0 missing

2011-11-21 Thread Michael D. Berger
> -Original Message- > From: > systemd-devel-bounces+m.d.berger=ieee@lists.freedesktop.or > g > [mailto:systemd-devel-bounces+m.d.berger=ieee.org@lists.freede sktop.org] On Behalf Of Michael D. Berger > Sent: Saturday, November 19, 2011 14:51 &

[systemd-devel] openvpn: tap0 & br0 missing

2011-11-19 Thread Michael D. Berger
warnings from NetworkManager (which I don't use on the old box) so I shut it off, but it didn't help. If you think that this is not a systemd problem, please let me know, and I'll post it elsewhere. Thanks, Mike. -- Michael D. Berger m.d.ber...@ieee.org http://w

Re: [systemd-devel] httpd fails to start on boot

2011-11-18 Thread Michael D. Berger
> -Original Message- > From: Michal Schmidt [mailto:mschm...@redhat.com] > Sent: Friday, November 18, 2011 20:24 > To: Michael D. Berger > Cc: systemd-devel@lists.freedesktop.org > Subject: Re: [systemd-devel] httpd fails to start on boot > > On Fri, 18 Nov 2011

Re: [systemd-devel] httpd fails to start on boot

2011-11-18 Thread Michael D. Berger
> -Original Message- > From: Michal Schmidt [mailto:mschm...@redhat.com] > Sent: Friday, November 18, 2011 19:38 > To: Michael D. Berger > Cc: systemd-devel@lists.freedesktop.org > Subject: Re: [systemd-devel] httpd fails to start on boot > > On Fri, 18 Nov 2011

[systemd-devel] httpd fails to start on boot

2011-11-18 Thread Michael D. Berger
Even though it is enabled, httpd fails to start on boot. After boot, I can start it with no problem. I do have a rather complex httpd.conf . Thanks for your suggestions. Mike. -- Michael D. Berger m.d.ber...@ieee.org http://www.rosemike.net

Re: [systemd-devel] openvpn@.service

2011-11-18 Thread Michael D. Berger
fill in the config path. (I have only one.) 3. A better suggestion? Thanks, Mike. -- Michael D. Berger m.d.ber...@ieee.org http://www.rosemike.net/ > -Original Message- > From: Michal Schmidt [mailto:mschm...@redhat.com] > Sent: Wednesday, November 16, 2011 10:21 >

Re: [systemd-devel] openvpn@.service

2011-11-16 Thread Michael D. Berger
up keys and well documented scripts and config files, I started openvpn with: /etc/init.d/openvpn start . On F16_64 can I now do: systemctl start openvpn.service , or perhaps: systemctl start openvpn@.service , or do I have to do something else? Thanks, Mike. -- Michael D. Berger m.d.b

[systemd-devel] openvpn@.service

2011-11-15 Thread Michael D. Berger
Why does "openvpn@.service" have the '@'? Thanks, Mike. -- Michael D. Berger m.d.ber...@ieee.org http://www.rosemike.net/ ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] ExecStop required in service file?

2011-11-14 Thread Michael D. Berger
exit(0). The lockup occurs even if I do: systemctl stop mySrvDaemon ps -ef | grep mySrvDaemon | grep -v grep # it seems to be gone reboot # lockup So, at least in this case, the ExecStop line eems to be required. What do you think about this? Thanks, Mike. -- Michael D. Berger

Re: [systemd-devel] systemd logging isl broken

2011-11-11 Thread Michael D. Berger
don't like sysV, but I found the mixture, shall we say, unaesthetic. Mike. -- Michael D. Berger m.d.ber...@ieee.org http://www.rosemike.net/ > -Original Message- > From: > systemd-devel-bounces+m.d.berger=ieee@lists.freedesktop.or > g > [mailto:systemd-deve

[systemd-devel] systemd logging isl broken

2011-11-10 Thread Michael D. Berger
] Error 1 The same things happens when I call "systemctl enable myDaemon.service" directly, rather than in a Makefile. Thanks for your suggestions. Mike. -- Michael D. Berger m.d.ber...@ieee.org http://www.rosemike.net/ ___ systemd-de

[systemd-devel] Requires and After

2011-11-09 Thread Michael D. Berger
myDaemon must start after myBaseDaemon, and must start only if myBaseDaemon is started. Do I use: After=myBaseDaemon Requires=myBaseDaemon ;or only: Requires=myBaseDaemon ? Thanks, Mike. -- Michael D. Berger m.d.ber...@ieee.org http://www.rosemike.net

[systemd-devel] modprobe in service file

2011-11-08 Thread Michael D. Berger
In my /etc/init.d/filterDaemon, I have, for example, modprobe -q ip_queue How do I do this in a new filterDaemon.service? Thanks, Mike. -- Michael D. Berger m.d.ber...@ieee.org http://www.rosemike.net/ ___ systemd-devel mailing list systemd-devel

[systemd-devel] calling systemctl from C++

2011-11-06 Thread Michael D. Berger
I see no way to directly call systemctl from a C++ program, so I'll use a pipe. Right? I think a library function would be better. Mike. -- Michael D. Berger m.d.ber...@ieee.org http://www.rosemike.net/ ___ systemd-devel mailing list systemd-

[systemd-devel] After httpd.service

2011-11-05 Thread Michael D. Berger
lem I don't see? If so, how else could I obtain the required dependency? Thanks, Mike. -- Michael D. Berger m.d.ber...@ieee.org http://www.rosemike.net/ ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.o

[systemd-devel] contingent After

2011-11-05 Thread Michael D. Berger
daemons in this way, some written by me and some not, for example, httpd and ntpd. How do I specify this in myUpperDaemon.service? Thanks, Mike. Toto, I've a feeling we're not in Kansas any more. -- Michael D. Berger m.d.ber...@ieee.org http://www.ro

[systemd-devel] removing daemon(0,0)

2011-11-04 Thread Michael D. Berger
> -Original Message- > From: Michal Schmidt [mailto:mschm...@redhat.com] > Sent: Friday, November 04, 2011 17:45 > To: Michael D. Berger > Cc: systemd-devel@lists.freedesktop.org > Subject: Re: [systemd-devel] FW: pthread_create() fails SysV > in myDaemon on boo

Re: [systemd-devel] FW: pthread_create() fails SysV in myDaemon on boot

2011-11-04 Thread Michael D. Berger
> -Original Message- > From: Michal Schmidt [mailto:mschm...@redhat.com] > Sent: Friday, November 04, 2011 18:16 > To: Lennart Poettering > Cc: Michael D. Berger; 'Kay Sievers'; > systemd-devel@lists.freedesktop.org > Subject: Re: [systemd-devel] FW: pt

Re: [systemd-devel] FW: pthread_create() fails SysV in myDaemon on boot

2011-11-04 Thread Michael D. Berger
--daemon [Install] WantedBy=multi-user.target and it works as a systemd daemon and starts on boot iff: DefaultControllers= Also, I think that a change in "DefaultControllers=" requires a reboot (or perhaps "systemctl restart ") to take effect, which accouunts for some previous c

Re: [systemd-devel] FW: pthread_create() fails SysV in myDaemon on boot

2011-11-04 Thread Michael D. Berger
> -Original Message- > From: Michael D. Berger [mailto:m.d.ber...@ieee.org] > Sent: Friday, November 04, 2011 13:12 > To: 'Lennart Poettering' > Cc: 'Kay Sievers'; 'systemd-devel@lists.freedesktop.org' > Subject: RE: [systemd-devel] FW: pt

Re: [systemd-devel] FW: pthread_create() fails SysV in myDaemon on boot

2011-11-04 Thread Michael D. Berger
[...] Correction! Debug shows the thread is now being created, so the problem in this thread is solved. Something else is killing myDaemon in systemd. I'll look further. Thanks, Mike. -- Michael D. Berger m.d.ber...@ieee.org http://www.rosemik

Re: [systemd-devel] FW: pthread_create() fails SysV in myDaemon on boot

2011-11-04 Thread Michael D. Berger
> -Original Message- > From: Michal Schmidt [mailto:mschm...@redhat.com] > Sent: Friday, November 04, 2011 07:20 > To: Michael D. Berger > Cc: systemd-devel@lists.freedesktop.org > Subject: Re: [systemd-devel] FW: pthread_create() fails SysV > in myDaemon on boot >

Re: [systemd-devel] FW: pthread_create() fails SysV in myDaemon on boot

2011-11-04 Thread Michael D. Berger
> -Original Message- > From: Lennart Poettering [mailto:lenn...@poettering.net] > Sent: Friday, November 04, 2011 08:14 > To: Michael D. Berger > Cc: 'Kay Sievers'; systemd-devel@lists.freedesktop.org > Subject: Re: [systemd-devel] FW: pthread_create() fails

Re: [systemd-devel] FW: pthread_create() fails SysV in myDaemon on boot

2011-11-03 Thread Michael D. Berger
> -Original Message- > From: > systemd-devel-bounces+m.d.berger=ieee@lists.freedesktop.or > g > [mailto:systemd-devel-bounces+m.d.berger=ieee.org@lists.freede sktop.org] On Behalf Of Michael D. Berger > Sent: Thursday, November 03, 2011 19:27 > To: 'Lenn

Re: [systemd-devel] FW: pthread_create() fails SysV in myDaemon on boot

2011-11-03 Thread Michael D. Berger
> -Original Message- > From: Lennart Poettering [mailto:lenn...@poettering.net] > Sent: Thursday, November 03, 2011 18:08 > To: Michael D. Berger > Cc: 'Kay Sievers'; systemd-devel@lists.freedesktop.org > Subject: Re: [systemd-devel] FW: pthread_create() fails

Re: [systemd-devel] FW: pthread_create() fails SysV in myDaemon on boot

2011-11-03 Thread Michael D. Berger
> -Original Message- > From: Kay Sievers [mailto:kay.siev...@vrfy.org] > Sent: Thursday, November 03, 2011 14:58 > To: Michael D. Berger > Cc: Michal Schmidt; systemd-devel@lists.freedesktop.org > Subject: Re: [systemd-devel] FW: pthread_create() fails SysV > in myD

Re: [systemd-devel] FW: pthread_create() fails SysV in myDaemon on boot

2011-11-03 Thread Michael D. Berger
> -Original Message- > From: Michal Schmidt [mailto:mschm...@redhat.com] > Sent: Thursday, November 03, 2011 09:05 > To: Michael D. Berger > Cc: systemd-devel@lists.freedesktop.org > Subject: Re: [systemd-devel] FW: pthread_create() fails SysV > in myDaemon on bo

Re: [systemd-devel] FW: pthread_create() fails SysV in myDaemon on boot

2011-11-03 Thread Michael D. Berger
[...] > -Original Message- > From: > systemd-devel-bounces+m.d.berger=ieee@lists.freedesktop.or > g > [mailto:systemd-devel-bounces+m.d.berger=ieee.org@lists.freede > sktop.org] On Behalf Of Michael D. Berger > Sent: Wednesday, November 02, 2011 21:0

[systemd-devel] FW: pthread_create() fails SysV in myDaemon on boot

2011-11-03 Thread Michael D. Berger
It was suggested that I send below problem to you. I tried to join the list but it didn't work. Mike. -- Michael D. Berger m.d.ber...@ieee.org http://www.rosemike.net/ > -Original Message- > From: users-boun...@lists.fedoraproject.org > [mailto:users-boun...@lists.fed