LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   [heads up] - current post rc.6 update freezes on reboot (https://www.linuxquestions.org/questions/slackware-14/%5Bheads-up%5D-current-post-rc-6-update-freezes-on-reboot-4175617736/)

cmyster 11-16-2017 06:55 AM

[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)

rworkman 11-17-2017 05:31 PM

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... :/

cmyster 11-28-2017 03:56 AM

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.


All times are GMT -5. The time now is 11:10 AM.