Log /etc/rc.local
std{out,err}
#66
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Output:
Would help Benjamin_Loison/openssh/issues/20.
/etc/rc.local
:does not return anything on reboot.
Let us add:
to see if boot stays stuck as
&
usage seems to suggest.Benjamin_Loison/coreutils/issues/19 would help.
Well it is not, so maybe the permissions are to blame.
is expected.
I have:
However, permanent with date logs would be nice.
may help.
Output:
so this folder looks already quite full.
works as wanted.
/etc/rc.local
:Output:
After a reboot:
Output:
while [ true ]
makes the boot stuck.Shell:
Shell:
log.txt
correctly get filled./etc/rc.local
:Output:
/etc/rc.local
:After a reboot:
Output:
Tested on Debian 12 GNOME.
/etc/rc.local
:Source: the Stack Overflow answer 6852984
Output:
would help figure out when an error occurs.
Let us not add
tail -c +2
to be precise, despite being less clean in this case.Source: the Stack Overflow question 51877092.
Without
autossh
:Output:
If add
-a
totee
:Output:
/etc/rc.local
:results in:
So
env
does not mention it butAUTOSSH_FIRST_POLL
is correctly set within-c
.There is no need to wait 30 seconds after boot in my Virtual Machine Manager virtual machine to access it via SSH:
Output:
these are the only references to
AUTOSSH_FIRST_POLL
andAUTOSSH_POLL
.So 30 seconds seems to just be make 600 seconds behavior happens faster.
I tested on my host Debian 12 GNOME laptop flat wifi:
/etc/rc.local
:and it works fine without waiting 30 seconds.
Bash script:
Bash script:
Maybe
export
may help as it may help withAUTOSSH_FIRST_POLL
.See Benjamin_Loison/util-linux/issues/7.