LinuxQuestions.org
Register a domain and help support LQ
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 09-12-2012, 06:31 PM   #1
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 174

Rep: Reputation: 50
Errors in rc.inet1 for a while now


I'm running Slackware -current for some months now. After some upgrades in the past I got errors at boot:

Code:
/etc/rc.d/rc.inet1: line 54: /sbin/ifconfig: No such file or directory
/etc/rc.d/rc.inet1: line 58: /sbin/route: No such file or directory
I never cared about these messages, since everything is working fine. But now that Slackware is near a new stable release I'm starting to think that this is a problem on my end.

How can I fix these errors?

Last edited by schmatzler; 09-12-2012 at 06:50 PM.
 
Old 09-12-2012, 06:40 PM   #2
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,441

Rep: Reputation: 70
That is very strange. Did you try to ls both of the files? Are they there? It's not a profile/path issue since the full path is there. Is your /sbin on a network partition that isn't up when the script it run (not a good idea)?
 
1 members found this post helpful.
Old 09-12-2012, 06:49 PM   #3
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 174

Original Poster
Rep: Reputation: 50
The files were not there so I did some digging and found out, that the net-tools package was not installed.

Strange thing is, that a "slackpkg install-new" did not show that package either. And I don't know how it got removed.

But nevermind - Slack is running without any problem again
 
Old 09-13-2012, 04:39 AM   #4
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,817

Rep: Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817
Quote:
Originally Posted by schmatzler View Post
the net-tools package was not installed.

Strange thing is, that a "slackpkg install-new" did not show that package either. And I don't know how it got removed.
net-tools existed in previous Slackware releases (e.g. 13.37), so it is not a new package. Hence why "slackpkg install-new" wouldn't find it.

Ignoring testing/ and extra/, these are the newly added packages that install-new would offer to those using slackpkg to upgrade their distro:

Code:
wget -qO- http://mirrors.slackware.com/slackware/slackware-current/ChangeLog.txt | grep "Added\.$" | grep -v -e "^testing/" -e "^extra/"
Quote:
Originally Posted by schmatzler View Post
And I don't know how it got removed.
Weird, perhaps you used slackpkg to remove something else and your remove command matched part of the net-tools name so was listed as one of the package to remove and you didn't notice it?

Last edited by ruario; 09-13-2012 at 04:43 AM. Reason: Completely changed the final sentance
 
Old 09-13-2012, 09:09 PM   #5
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,441

Rep: Reputation: 70
Quote:
Originally Posted by schmatzler View Post
The files were not there so I did some digging and found out, that the net-tools package was not installed.

Strange thing is, that a "slackpkg install-new" did not show that package either. And I don't know how it got removed.

But nevermind - Slack is running without any problem again
That'd do it.

Next time you upgrade you might just want to use a loop similar to the one in UPGRADE.TXT instead of using slackpkg. That way you can be sure you aren't missing any packages you might need from the full install. You can still create exceptions in your loop so that you don't install software you don't need...or just removepkg them afterwards.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
rc.inet1 gone... reikyv Slackware 4 11-27-2007 07:32 AM
rc.inet1 ve1drg Slackware - Installation 2 12-29-2006 10:48 AM
/etc/rc.d/rc.inet1 ratmz Slackware 1 11-10-2005 12:38 PM
rc.inet1 and rc.inet1.conf edafe Slackware 0 02-16-2005 09:51 AM
rc.inet1 Half_Elf Linux - Networking 2 01-26-2002 11:23 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration