LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-13-2018, 03:20 AM   #1
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,925

Rep: Reputation: 5041Reputation: 5041Reputation: 5041Reputation: 5041Reputation: 5041Reputation: 5041Reputation: 5041Reputation: 5041Reputation: 5041Reputation: 5041Reputation: 5041
reasoning behind rc.6 telinit change?


Quote:
rc.6: restart init when shutting down - this prevents it from holding file handles to removed/upgraded versions of the glibc shared libraries which would interfere with shutdown.
No issue, I'm just curious about this one. How is init holding file-descriptors for the removed (unlinked) glibc shared libraries any different than it holding file-descriptors for the newer (linked) versions of the libraries during shutdown?
 
Old 06-13-2018, 03:22 AM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,561

Rep: Reputation: 8603Reputation: 8603Reputation: 8603Reputation: 8603Reputation: 8603Reputation: 8603Reputation: 8603Reputation: 8603Reputation: 8603Reputation: 8603Reputation: 8603
Quote:
Originally Posted by GazL View Post
No issue, I'm just curious about this one. How is init holding file-descriptors for the removed (unlinked) glibc shared libraries any different than it holding file-descriptors for the newer (linked) versions of the libraries during shutdown?
Not sure, but it is. I had wondered if it still made sense to restart init and tested it here... without the restart / fails to remount and gets an fsck on the next boot.
 
6 members found this post helpful.
Old 06-13-2018, 03:33 AM   #3
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,925

Original Poster
Rep: Reputation: 5041Reputation: 5041Reputation: 5041Reputation: 5041Reputation: 5041Reputation: 5041Reputation: 5041Reputation: 5041Reputation: 5041Reputation: 5041Reputation: 5041
Ahh, of course, the inode still needs to be freed even though its unlinked and I guess that stops the filesystem being mounted read-only. Interesting. Thanks for the reply. I just learnt something.
 
3 members found this post helpful.
Old 06-17-2018, 09:26 AM   #4
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
As did I !

This may explain an odd error I get on a home-brew server application ... off to check it out !

Thanks for asking GazL and thanks for your reply volkerdi !

-- kjh
 
3 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
The Fallacious Reasoning that Drives Internet Censorship frankbell General 30 05-23-2015 07:03 AM
Reasoning behind console limitations theKbStockpiler Linux - Newbie 13 12-08-2013 06:19 PM
C language: fast code for Reasoning - Artificial Intelligence? Xeratul Programming 8 07-09-2013 11:29 AM
Not seeing strong connection to MAC/Physical Addressing and reasoning. theKbStockpiler Linux - Networking 5 07-26-2011 03:37 PM
My reasoning! And why Slackware. onebuck Slackware 12 04-03-2006 09:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration