Rainer Dorsch wrote:
> Nevertheless I am still wondering why it has the failed status,
> rc.local has an hard "exit 0" return code (?) :
Look at the first line of /etc/rc.local script.
> rd@nanette:/etc$ cat rc.local
> #!/bin/sh -e
The set -e ^^ here is what sets the -e flag for the shell.
Bob
Am 23.05.2015 um 20:56 schrieb Rainer Dorsch:
> Am Montag, 18. Mai 2015, 22:21:42 schrieb Michael Biebl:
>> As you can also see, powertop exits with a non-zero return code. Since
>> /etc/rc.local uses "set -e", your script exits at this point and the
>> service is marked as failed.
..
> Hmmse
Hi Michael,
thanks for your prompt reply.
Am Montag, 18. Mai 2015, 22:21:42 schrieb Michael Biebl:
> Am 18.05.2015 um 22:01 schrieb Rainer Dorsch:
> > root@nanette:~# systemctl status rc-local.service
> > ● rc-local.service - /etc/rc.local Compatibility
> >
> >Loaded: loaded (/lib/systemd/sy
Am 18.05.2015 um 22:01 schrieb Rainer Dorsch:
> root@nanette:~# systemctl status rc-local.service
> ● rc-local.service - /etc/rc.local Compatibility
>Loaded: loaded (/lib/systemd/system/rc-local.service; static)
>Active: failed (Result: exit-code) since Mon 2015-05-18 14:29:04 CEST; 7h
>
Hi Michael,
thanks for your quick reply.
Am Sonntag, 17. Mai 2015, 11:33:23 schrieben Sie:
> > Hello,
> >
> > I have a jessie system here on which /etc/rc.local is not executed.
> > /etc/rc.local is executable
> >
> > root@nanette:~# ls -l /etc/rc.local
> > -rwxr-xr-x 1 root root 328 Jan 31 15:
On 05/17/2015 03:49 AM, Rainer Dorsch wrote:
Hello,
I have a jessie system here on which /etc/rc.local is not executed.
/etc/rc.local is executable
root@nanette:~# ls -l /etc/rc.local
-rwxr-xr-x 1 root root 328 Jan 31 15:34 /etc/rc.local
root@nanette:~#
Before the jessie upgrade, it was execut
On 05/17/2015 03:49 AM, Rainer Dorsch wrote:
Hello,
I have a jessie system here on which /etc/rc.local is not executed.
/etc/rc.local is executable
root@nanette:~# ls -l /etc/rc.local
-rwxr-xr-x 1 root root 328 Jan 31 15:34 /etc/rc.local
root@nanette:~#
Before the jessie upgrade, it was execut
Hello,
I have a jessie system here on which /etc/rc.local is not executed.
/etc/rc.local is executable
root@nanette:~# ls -l /etc/rc.local
-rwxr-xr-x 1 root root 328 Jan 31 15:34 /etc/rc.local
root@nanette:~#
Before the jessie upgrade, it was executed properly during startup
root@nanette:~# l
Just wanted to chime in and say that this thread was very helpful to
me. I had the same issue with a mysterious eth0 entry showing up in
NetworkManager a minute or two every time after I woke up my laptop and
ruining connectivity. Very glad to have that working now!
--
Devrin Talen
--
To UN
On Sun, Aug 24, 2014 at 6:00 PM, Stephen Powell wrote:
> On Sun, 24 Aug 2014 15:44:26 -0400 (EDT), David Baron wrote:
>> On Sunday 24 August 2014 11:45:40 Stephen Powell wrote:
> I have a static route command in my /etc/rc.local file to define
> a route to another network. I won't go into the re
Resending to the list
On Sun, Aug 24, 2014 at 2:12 PM, Erwan David wrote:
> Le 24/08/2014 19:31, Tom H a écrit :
>>
>> With v208, there's a generator,
>> "/lib/systemd/system-generators/systemd-rc-local-generator", that
>> creates a symlink at boot in
>> "/run/systemd/generator/multi-user.target
On Sun, 24 Aug 2014 19:05:52 -0400 (EDT), Michael Biebl wrote:
>
> If you set managed=true, you actually tell NetworkManager to manage the
> interface. So I'm not sure why you are surprised that it does.
In a previous release of network-manager, if I didn't set "managed=true"
in the [ifupdown] s
Am 25.08.2014 00:00, schrieb Stephen Powell:
> simply "eth0". (I have "managed=true" in the [ifupdown] section
> of /etc/NetworkManager/NetworkManager.conf.) I then select
If you set managed=true, you actually tell NetworkManager to manage the
interface.
So I'm not sure why you are surprised tha
On Sun, 24 Aug 2014 18:00:52 -0400 (EDT)
Stephen Powell wrote:
> network-manager! Is there anything I can do to make
> it leave eth0 totally in the control of ifupdown and to not
> touch it at all
The settings in /etc/network/interfaces are automatically used instead of
network-manager. Or
On Sun, 24 Aug 2014 18:00:52 -0400 (EDT) Stephen Powell sent:
> The default installation of Debian for a
> desktop system (XFCE in my case) installs both ifupdown and
> network-manager. It allows ifupdown to manage only the local
> loopback interface (lo) and allows network-manager to manage
> e
Stephen Powell wrote:
> I hate network-manager! Is there anything I can do to make it leave
> eth0 totally in the control of ifupdown and to not touch it at all,
> and to not create a stupid extra connection, and to leave my static
> routes, that it did not create, alone?
Delete ist. XFCE does
On Sun, 24 Aug 2014 15:44:26 -0400 (EDT), David Baron wrote:
> On Sunday 24 August 2014 11:45:40 Stephen Powell wrote:
>> ...
>> Here is how I enabled it. (The following commands are
>> executed as root.)
>>
>> cd /lib/systemd/system/multi-user.target.wants
>> ln -s ../rc-local.service rc-local.s
On Sunday 24 August 2014 11:45:40 Stephen Powell wrote:
> Hello, list.
>
> I just thought I'd pass along something that I recently discovered.
> When using sysvinit as the init system, if the file /etc/rc.local
> exists and is executable, it will be invoked at the tail end of the
> boot process.
On Sun, Aug 24, 2014 at 11:45 AM, Stephen Powell wrote:
>
> I just thought I'd pass along something that I recently discovered.
> When using sysvinit as the init system, if the file /etc/rc.local
> exists and is executable, it will be invoked at the tail end of the
> boot process. But under system
On Sun 24 Aug 2014 at 11:45:40 -0400, Stephen Powell wrote:
> I just thought I'd pass along something that I recently discovered.
> When using sysvinit as the init system, if the file /etc/rc.local
> exists and is executable, it will be invoked at the tail end of the
> boot process. But under sys
Hello, list.
I just thought I'd pass along something that I recently discovered.
When using sysvinit as the init system, if the file /etc/rc.local
exists and is executable, it will be invoked at the tail end of the
boot process. But under systemd, this file is not executed during
boot. Not by de
21 matches
Mail list logo