-
Getting rid of startup script actions
Hello,
I have used Knoppix for about 2 years now on my hard drive. I periodically update via apt to keep my system up to date and I had not realized there was a knoppix site in sources.list. Recently when I did an update I have all kinds of annoying behavior I woudl like to get rid of. After this, I removed any Knoppix references from sources.list so this cannot happen again, but the damage has been done.
Some startup script is now active and it rewrites my inetd.conf and fstab each time I boot. The annoying thing is it makes an inetd.conf that activates pop and imap each time which is silly on my computer. Each time I comment them out, they come back the next reboot. I then decided to be clever and installed xinetd to replace inetd. Since knoppix does not touch my xinetd.conf, those two services are no longer started, but now I have a flood of messages about using xinetd.conf and how the changes to inetd.conf are not taking effect. Good, I do not want them! However, I really want rid of these messages during startup and shutdown. I cannot find where this is done. I found the part of knoppix-autoconfig where fstab is rewritten and I have commented this out. What script tries to rewrite inetd.conf?
Is there a reasonably simple way to get my Knoppix to be more like Debian in terms of booting and where from programs are called? I do not want to install a new Knoppix with the Debian-like option because the system is working pretty well and I don't want to have to reconfigure all my settings. If I am going to reinstalll, I will use a Debian CD but I hope this is not necessary.
-
Senior Member
registered user
What type of HD install is this (looks like a Knoppix-style). The /etc/init.d/knoppix-autoconfig script is not used with the Debian style install.
You can compensate for some of this using cheatcodes; eg cheatcode 'nofstab' will prevent Knoppix from overwriting your fstab. On a Hd install, cheatcodes are implemented by the 'append=' line in /etc/lilo.conf. Just edit tis file then rerun lilo to implement the changes.
Apt-get upgrade modifies the system to start every available service by default. Run sysV-init to remove any services you don't want.
The startup sequence is in /etc/rcS.d, the startup sequence for each runlevel is in the rc file for that runlevel.
You can check out here: http://www.icon.co.za/~psheer/book/index.html.gz for an excellent reference which gives more detail on Linux boot & startup processes.
-

Originally Posted by
CrashedAgain
The startup sequence is in /etc/rcS.d, the startup sequence for each runlevel is in the rc file for that runlevel. You can check out here:
http://www.icon.co.za/~psheer/book/index.html.gz for an excellent reference which gives more detail on Linux boot & startup processes.
Before /etc/rcS.d there is a script in Knoppix which does all the reconfiguring. I can't remember which one it was, whether it was in /etc or in the CD-ROM, and I can't find the reference in this forums.
I had a similar problem with hostname and the date. No matter what configuration file I had, the script would overwrite it. A search in the Knoppix packages using aptitude, dpkg or similar should make it easy to identify (if you have the linuxtag server in sources.list of course
)
--GN
Similar Threads
-
By monkeyking in forum MS Windows & New to Linux
Replies: 1
Last Post: 01-03-2005, 10:19 PM
-
By niXnoob in forum General Support
Replies: 3
Last Post: 10-06-2004, 04:56 AM
-
By obsoleto in forum General Support
Replies: 1
Last Post: 06-02-2004, 05:43 AM
-
By darthczyz in forum Customising & Remastering
Replies: 2
Last Post: 04-14-2004, 06:06 PM
-
By orcslayer in forum General Support
Replies: 1
Last Post: 01-03-2004, 02:04 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

(2) Seagate SAS Hard Drive Exos 7E8 3TB 7200RPM 128MB 12Gb/s 3.5 ST3000NM0035
$49.99

Dell EMC WD-HITACHI H5H72101CLAR10T0 10TB 7.2K SAS 12Gb/s SED 3.5in A POH 0-50k
$189.99

Seagate BarraCuda ST3000DM008 3TB Internal SATA 6Gb 3.5" Hard Drive 7200RPM 64MB
$91.99

Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive
$14.99

Toshiba MG04ACA400 4TB 3.5-inch SATA 6 Gb/s 7,200 RPM Internal Hard Drive
$49.99

Toshiba 14TB MG07 MG07ACA14TEY 7.2K RPM SATA 6Gb/s 512e 3.5" Enterprise HDD
$299.00

Seagate ST28000NM001C 28TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$669.99

ST6000NM0034 DELL 6TB 7.2K 12G SAS 512E 3.5" ENTERPRISE HARD DRIVE 8D1V4 08D1V4
$54.99

Seagate 1YY207-004 SEAGATE EXOS 4TB SAS 6G 7.2K 25MM HDD
$45.00

WD Ultrastar DC HC530 14TB SATA 6G 3.5" 7200RPM Enterprise HDD - WUH721414ALE604
$329.99