Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Weird problems with rc.local.start
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
redblade7
n00b
n00b


Joined: 11 Jan 2018
Posts: 39

PostPosted: Tue Dec 03, 2019 9:20 pm    Post subject: Weird problems with rc.local.start Reply with quote

Hi,

At some point between when I last started my computer and power outages last night, something happened where roughly 75% of my /etc/local.d/rc.local.start appears to be ignored.

I'd like to find out the cause, but it goes by too fast, with everything blanked once sddm starts.

I was wondering if anyone could offer suggestions on how to find out what is happening, perhaps changes to logging settings, etc. Among the ignored commands are creating a swap partition with cryptsetup create, adding folders to /tmp, changing permissions and groups on two devices, and running iptables-restore.

Does anyone have any suggestions on how I can diagnose what's actually going on? This is completely new.

Thank you!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44193
Location: 56N 3W

PostPosted: Tue Dec 03, 2019 9:38 pm    Post subject: Reply with quote

redblade7,

Is root staying read only because of filesystem errors the rootfsck could not fix?
What does
Code:
mount
so about things being ro rather than rw ?

Is udev running?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
redblade7
n00b
n00b


Joined: 11 Jan 2018
Posts: 39

PostPosted: Thu Dec 05, 2019 12:46 am    Post subject: Reply with quote

NeddySeagoon wrote:
redblade7,

Is root staying read only because of filesystem errors the rootfsck could not fix?
What does
Code:
mount
so about things being ro rather than rw ?

Is udev running?


The drives were rw, and udev was running.

However, I tried several proper shutdowns, and it appears the problem only happens when starting up after an incorrect shutdown (such as a power outage).

Also I noticed that a few things like unbound have to be manually started when that happens.

Weird. But it works now :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum