Re: unable to start rc-local.service[SOLVED]

2016-09-07 Thread Joe Zeff
On 09/07/2016 02:06 PM, R. G. Newbury wrote: Lennart Poettering has a hate for rc.local. He discusses that somewhere in his systemd blog. For whatever reason, he dislikes it and thinks that no-one should use it, or be able to use it. So you must sacrifice the correct animal, at the exactly correc

Re: unable to start rc-local.service[SOLVED]

2016-09-07 Thread François Patte
Le 07/09/2016 23:06, R. G. Newbury a écrit : > On 09/05/2016 05:07 AM, oe Zeff wrote: > >> Subject: Re: unable to start rc-local.service[SOLVED] >> To: Community support for Fedora users >> Message-ID: <57cc87ea.3090...@zeff.us> >> Content-Type: text/plain; c

Re: unable to start rc-local.service[SOLVED]

2016-09-07 Thread Samuel Sieb
On 09/07/2016 02:06 PM, R. G. Newbury wrote: Lennart Poettering has a hate for rc.local. He discusses that somewhere in his systemd blog. For whatever reason, he dislikes it and thinks that no-one should use it, or be able to use it. So you must sacrifice the correct animal, at the exactly correc

Re: unable to start rc-local.service[SOLVED]

2016-09-07 Thread R. G. Newbury
On 09/05/2016 05:07 AM, oe Zeff wrote: Subject: Re: unable to start rc-local.service[SOLVED] To: Community support for Fedora users Message-ID: <57cc87ea.3090...@zeff.us> Content-Type: text/plain; charset=utf-8; format=flowed On 09/04/2016 01:34 PM, François Patte wrote: > Just

Re: unable to start rc-local.service[SOLVED]

2016-09-04 Thread Jon LaBadie
On Sun, Sep 04, 2016 at 10:34:20PM +0200, François Patte wrote: > Le 03/09/2016 22:59, François Patte a écrit : > > > > On other nstall of fedora 23 this works Why not on this computer? > > Just unwanted spaces before and after #!/bin/bash > > The script works when executed for itself, but

Re: unable to start rc-local.service[SOLVED]

2016-09-04 Thread Joe Zeff
On 09/04/2016 01:34 PM, François Patte wrote: Just unwanted spaces before and after #!/bin/bash The script works when executed for itself, but it seems that systemd is quite supercilious about that spaces and very avaricious to give some hints about the error encountered! Thank you for helpin

Re: unable to start rc-local.service[SOLVED]

2016-09-04 Thread François Patte
Le 03/09/2016 22:59, François Patte a écrit : > Bonsoir, > > I try to enable rc-local service: > > 1- I created /etc/rc.d/rc.local file: > > #!/bin/bash > > iptables -I INPUT -p udp --sport 1900 -j ACCEPT > > 2- I chmoded /etc/rc.d/rc.local > > chmod u+x /etc/rc.d/rc.local > > But the servi

Re: unable to start rc-local.service

2016-09-04 Thread Joe Zeff
On 09/04/2016 12:36 PM, jd1008 wrote: Starting and shutting down specific services should be totally at the discretion of the user/administrator even during system normal operations. Thank you for your blinding glimpse of the obvious. Clearly, you're not interested in my attempts to help you,

Re: unable to start rc-local.service

2016-09-04 Thread jd1008
On 09/04/2016 01:28 PM, Joe Zeff wrote: On 09/04/2016 11:59 AM, jd1008 wrote: That's interesting. Then how does a script that IS startable and stoppable from the command line invoked as systemctl some-file.service The service may need to be stopped, started or restarted manually, but it's

Re: unable to start rc-local.service

2016-09-04 Thread Joe Zeff
On 09/04/2016 11:59 AM, jd1008 wrote: That's interesting. Then how does a script that IS startable and stoppable from the command line invoked as systemctl some-file.service The service may need to be stopped, started or restarted manually, but it's normally only invoked during boot. -- user

Re: unable to start rc-local.service

2016-09-04 Thread jd1008
On 09/04/2016 12:49 PM, Joe Zeff wrote: On 09/04/2016 11:39 AM, jd1008 wrote: Does it not need to have logic to differentiate between start and stop ala No. The file is only used during boot, not shutdown or restart. That's interesting. Then how does a script that IS startable and stoppab

Re: unable to start rc-local.service

2016-09-04 Thread Joe Zeff
On 09/04/2016 11:45 AM, jd1008 wrote: On 09/03/2016 11:42 PM, Joe Zeff wrote: On 09/03/2016 05:22 PM, jd1008 wrote: On 09/03/2016 03:09 PM, Joe Zeff wrote: On 09/03/2016 01:59 PM, François Patte wrote: On other nstall of fedora 23 this works Why not on this computer? Have you compar

Re: unable to start rc-local.service

2016-09-04 Thread Joe Zeff
On 09/04/2016 11:39 AM, jd1008 wrote: Does it not need to have logic to differentiate between start and stop ala No. The file is only used during boot, not shutdown or restart. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fed

Re: unable to start rc-local.service

2016-09-04 Thread jd1008
On 09/04/2016 01:45 AM, François Patte wrote: Le 03/09/2016 23:17, Mike Wright a écrit : On 09/03/2016 01:59 PM, François Patte wrote: Bonsoir, I try to enable rc-local service: 1- I created /etc/rc.d/rc.local file: #!/bin/bash iptables -I INPUT -p udp --sport 1900 -j ACCEPT 2- I chmoded

Re: unable to start rc-local.service

2016-09-04 Thread jd1008
On 09/03/2016 11:42 PM, Joe Zeff wrote: On 09/03/2016 05:22 PM, jd1008 wrote: On 09/03/2016 03:09 PM, Joe Zeff wrote: On 09/03/2016 01:59 PM, François Patte wrote: On other nstall of fedora 23 this works Why not on this computer? Have you compared that command line with the one used

Re: unable to start rc-local.service

2016-09-04 Thread jd1008
On 09/03/2016 08:41 PM, Kevin Cummings wrote: On 09/03/16 16:59, François Patte wrote: Bonsoir, I try to enable rc-local service: 1- I created /etc/rc.d/rc.local file: #!/bin/bash iptables -I INPUT -p udp --sport 1900 -j ACCEPT 2- I chmoded /etc/rc.d/rc.local chmod u+x /etc/rc.d/rc.loca

Re: unable to start rc-local.service

2016-09-04 Thread sixpack13
cat /etc/rd.d/rc.local : === #!/bin/bash touch /var/lock/subsys/local ... exit 0; don't know if /var/lock line is needed today, but I get no error's ... ls -l /etc/rd.d.&rc.local : = -rwx--. 1 root root 4,6K 4. Jun 19:56 rc.local -- users mailing list users@l

Re: unable to start rc-local.service

2016-09-04 Thread Ahmad Samir
On 4 September 2016 at 09:45, François Patte wrote: > Le 03/09/2016 23:17, Mike Wright a écrit : >> On 09/03/2016 01:59 PM, François Patte wrote: >>> Bonsoir, >>> >>> I try to enable rc-local service: >>> >>> 1- I created /etc/rc.d/rc.local file: >>> >>> #!/bin/bash >>> >>> iptables -I INPUT -p ud

Re: unable to start rc-local.service

2016-09-04 Thread François Patte
Le 03/09/2016 23:17, Mike Wright a écrit : > On 09/03/2016 01:59 PM, François Patte wrote: >> Bonsoir, >> >> I try to enable rc-local service: >> >> 1- I created /etc/rc.d/rc.local file: >> >> #!/bin/bash >> >> iptables -I INPUT -p udp --sport 1900 -j ACCEPT >> >> 2- I chmoded /etc/rc.d/rc.local >

Re: unable to start rc-local.service

2016-09-03 Thread Joe Zeff
On 09/03/2016 05:22 PM, jd1008 wrote: On 09/03/2016 03:09 PM, Joe Zeff wrote: On 09/03/2016 01:59 PM, François Patte wrote: On other nstall of fedora 23 this works Why not on this computer? Have you compared that command line with the one used on the other computer to make sure there ar

Re: unable to start rc-local.service

2016-09-03 Thread Kevin Cummings
On 09/03/16 16:59, François Patte wrote: > Bonsoir, > > I try to enable rc-local service: > > 1- I created /etc/rc.d/rc.local file: > > #!/bin/bash > > iptables -I INPUT -p udp --sport 1900 -j ACCEPT > > 2- I chmoded /etc/rc.d/rc.local > > chmod u+x /etc/rc.d/rc.local Is the file owned by r

Re: unable to start rc-local.service

2016-09-03 Thread jd1008
On 09/03/2016 03:09 PM, Joe Zeff wrote: On 09/03/2016 01:59 PM, François Patte wrote: On other nstall of fedora 23 this works Why not on this computer? Have you compared that command line with the one used on the other computer to make sure there are no typos? I know it sounds obvious,

Re: unable to start rc-local.service

2016-09-03 Thread Mike Wright
On 09/03/2016 01:59 PM, François Patte wrote: Bonsoir, I try to enable rc-local service: 1- I created /etc/rc.d/rc.local file: #!/bin/bash iptables -I INPUT -p udp --sport 1900 -j ACCEPT 2- I chmoded /etc/rc.d/rc.local chmod u+x /etc/rc.d/rc.local But the service won't start: # systemctl

Re: unable to start rc-local.service

2016-09-03 Thread Joe Zeff
On 09/03/2016 01:59 PM, François Patte wrote: On other nstall of fedora 23 this works Why not on this computer? Have you compared that command line with the one used on the other computer to make sure there are no typos? I know it sounds obvious, but it's better to check now, than after

unable to start rc-local.service

2016-09-03 Thread François Patte
Bonsoir, I try to enable rc-local service: 1- I created /etc/rc.d/rc.local file: #!/bin/bash iptables -I INPUT -p udp --sport 1900 -j ACCEPT 2- I chmoded /etc/rc.d/rc.local chmod u+x /etc/rc.d/rc.local But the service won't start: # systemctl status rc-local.service ● rc-local.service - /e