[heads up] - current post rc.6 update freezes on reboot
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[heads up] - current post rc.6 update freezes on reboot
There was a recent change to rc.6 in current a few days ago, and when I rebooted my server today for the first time since then, it froze after unmounting, forcing me to use the power button. Tested, happened again, can't debug ATM so I left it to run for now. Still no idea how but please note that it does happen.
(Full installation, x86_64, current, up-to-date, Dell OptiPlex 790)
Here's the diff from 20171008 and 20171109 (the last two VM snapshots of -current I have handy):
Code:
--- rc.6.20171008 2017-06-09 12:36:32.000000000 -0500
+++ rc.6.20171109 2017-11-02 19:51:48.000000000 -0500
@@ -78,13 +78,13 @@
fi
# Stop the MySQL database:
-if [ -r /var/run/mysql/mysql.pid ]; then
- . /etc/rc.d/rc.mysqld stop
+if [ -x /etc/rc.d/rc.mysqld -a -r /var/run/mysql/mysql.pid ]; then
+ /etc/rc.d/rc.mysqld stop
fi
# Stop the Samba server:
if [ -x /etc/rc.d/rc.samba ]; then
- . /etc/rc.d/rc.samba stop
+ /etc/rc.d/rc.samba stop
fi
# Shut down the NFS server:
@@ -109,7 +109,7 @@
# Stop D-Bus:
if [ -x /etc/rc.d/rc.messagebus ]; then
- sh /etc/rc.d/rc.messagebus stop
+ /etc/rc.d/rc.messagebus stop
fi
# Kill any processes (typically gam) that would otherwise prevent
@@ -164,7 +164,7 @@
# Shut down PCMCIA devices:
if [ -x /etc/rc.d/rc.pcmcia ]; then
- . /etc/rc.d/rc.pcmcia stop
+ /etc/rc.d/rc.pcmcia stop
# The cards might need a little extra time here to deactivate:
/bin/sleep 5
fi
@@ -176,7 +176,7 @@
# Terminate acpid before syslog:
if [ -x /etc/rc.d/rc.acpid -a -r /var/run/acpid.pid ]; then # quit
- . /etc/rc.d/rc.acpid stop
+ /etc/rc.d/rc.acpid stop
fi
# Stop udev:
I don't see how any of that could cause what you're seeing... :/
Found the issue. I had an NFS to a remote server and that server was acting funny. On switching to init6, there where processes stuck on the local mount, trying to unmount it and being stuck on it forever. lsof, cd, file, updatedb, du etc' would freeze on the local folder holding the mount and I needed to kill -9 them. When init6 was trying to kill all processes involved with that mount point, reboot would simply freeze with most FS already unmounted.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.