Part of the script did work, that confused me. I found the cause, selinux.
When /etc/rc.d/rc.local is created the file gets it permission from the
directory its in. In this case etc_t, I saw other init files had
initrc_exec_t so I changed rc.local to initrc.exec_t and it worked.
On Sun, Sep 9, 201
> That is unnecessary as it is a "static" service. Check the note in
> /lib/systemd/system/rc-local.service
>
> # This unit gets pulled automatically into multi-user.target by
> # systemd-rc-local-generator if /etc/rc.d/rc.local is executable.
>
>
I stand corrected :)
--
Kind Regards
Earl Ramirez
I just found this: I get permission denied. I thought it would run as root.
Is this an selinux problem?
$systemctl status rc-local
● rc-local.service - /etc/rc.d/rc.local Compatibility
Loaded: loaded (/usr/lib/systemd/system/rc-local.service;
enabled-runtime; vendor preset: disabled)
Active:
On 9/10/18 9:33 AM, Earl A Ramirez wrote:
> Why does that command not want to work in a startup script? Is the boot
> environment different?
>
> By default rc-local is not running; therefore, you will need to enable the
> server
> # systemctl enable rc-local
That is unnecessary as it is a "stat
Why does that command not want to work in a startup script? Is the boot
environment different?
By default rc-local is not running; therefore, you will need to enable the
server
# systemctl enable rc-local
When you reboot your box the script will execute as long as the execute bit
is on
# chmod +x
On 9/10/18 9:07 AM, Louis Garcia wrote:
> I would like to add a printer at system startup if one is not present.
>
> I created /etc/rc.d/rc.local and made the file executable
>
> if [ ! -f "/etc/cups/ppd/Officejet-6700.ppd" ]; then
> /sbin/lpadmin -p Officejet-6700 -o printer-is-shared=false -L "
I would like to add a printer at system startup if one is not present.
I created /etc/rc.d/rc.local and made the file executable
if [ ! -f "/etc/cups/ppd/Officejet-6700.ppd" ]; then
/sbin/lpadmin -p Officejet-6700 -o printer-is-shared=false -L "Office" -E
-v hp:/net/Officejet_6700?ip=172.16.0.2
On 09/09/2018 05:32 AM, Tom Horsley wrote:
On Sat, 8 Sep 2018 20:43:46 -0600
Chris Murphy wrote:
Nope. There's no firmware state information saved to disk.
There must be something on disk, because I keep reading web pages that say
things like:
You can create a new image file
The bootloader
On 18-09-08 23:04:23, ToddAndMargo wrote:
...
Pidgin just because I have it. It is really hard to figure out.
Google irc chat, read the wikipedia article to find out what it is.
Google pidgin irc. Select some result and follow instructions.
Start pidgin. Add an account. Choose IRC protoc
On Saturday, September 8, 2018 6:52:59 PM EDT Cameron Simpson wrote:
> If you "tail -f /var/log/auth.log" (adjust to suit) on machine B as
> you do your sshes you will see useful log messages scroll by.
Or just do
$ journalctl -b -u sshd.service
if you are a member of either the wheel or sys
Dear friends,
I wanted to thank everyone for contributing and helping out. In the end, I
decided to go for ddrescue (because I could not find jetcat-mod beyond some old
posts of Michael online). In any case, ddrescue copied everything with a meter
in around six hours. It also reported a few bad
On Sat, 8 Sep 2018 20:43:46 -0600
Chris Murphy wrote:
> Nope. There's no firmware state information saved to disk.
There must be something on disk, because I keep
reading web pages that say things like:
You can create a new image file and add it to the
efi menu with efibootmgr (without, of cours
12 matches
Mail list logo