View previous topic :: View next topic |
Author |
Message |
Randy Andy Veteran
Joined: 19 Jun 2007 Posts: 1148 Location: /dev/koelsch
|
Posted: Fri Nov 16, 2012 5:15 pm Post subject: broken symlinks in /etc/runlevels/boot/ u. sysinit/ [solved] |
|
|
Hallo Leute,
bin da gerade beim überprüfen einiger Ungereimtheiten meines Systems über folgendes gestolpert und frage mich ob ich das bedenkenlos löschen kann, weil es sich dabei eventuell um alte Dateileichen, vielleicht aus der Openrc-Migration handelt?
Einmal im Verzeichnis :
Quote: | ls -l /etc/runlevels/boot/
insgesamt 0
lrwxrwxrwx 1 root root 21 18. Mai 2008 alsasound -> /etc/init.d/alsasound
lrwxrwxrwx 1 root root 20 3. Mai 2008 bootmisc -> /etc/init.d/bootmisc
lrwxrwxrwx 1 root root 23 3. Mai 2008 consolefont -> /etc/init.d/consolefont
lrwxrwxrwx 1 root root 16 3. Mai 2008 fsck -> /etc/init.d/fsck
lrwxrwxrwx 1 root root 20 3. Mai 2008 hostname -> /etc/init.d/hostname
lrwxrwxrwx 1 root root 19 3. Mai 2008 hwclock -> /etc/init.d/hwclock
lrwxrwxrwx 1 root root 19 3. Mai 2008 keymaps -> /etc/init.d/keymaps
lrwxrwxrwx 1 root root 22 3. Mai 2008 localmount -> /etc/init.d/localmount
lrwxrwxrwx 1 root root 23 26. Nov 2011 migrate-run -> /etc/init.d/migrate-run
lrwxrwxrwx 1 root root 19 2. Mai 2008 modules -> /etc/init.d/modules
lrwxrwxrwx 1 root root 16 3. Mai 2008 mtab -> /etc/init.d/mtab
lrwxrwxrwx 1 root root 18 2. Mai 2008 net.lo -> /etc/init.d/net.lo
lrwxrwxrwx 1 root root 18 3. Mai 2008 procfs -> /etc/init.d/procfs
lrwxrwxrwx 1 root root 16 3. Mai 2008 root -> /etc/init.d/root
lrwxrwxrwx 1 root root 16 3. Mai 2008 swap -> /etc/init.d/swap
lrwxrwxrwx 1 root root 21 23. Feb 2012 swapfiles -> /etc/init.d/swapfiles
lrwxrwxrwx 1 root root 18 3. Mai 2008 sysctl -> /etc/init.d/sysctl
lrwxrwxrwx 1 root root 24 3. Mai 2008 termencoding -> /etc/init.d/termencoding
lrwxrwxrwx 1 root root 27 7. Nov 17:32 tmpfiles.setup -> //etc/init.d/tmpfiles.setup
lrwxrwxrwx 1 root root 27 19. Okt 17:22 tmpfilesd.boot -> //etc/init.d/tmpfilesd.boot
lrwxrwxrwx 1 root root 19 3. Mai 2008 urandom -> /etc/init.d/urandom |
Und Einmal hier:
Quote: | ls -l /etc/runlevels/sysinit
insgesamt 0
lrwxrwxrwx 1 root root 17 23. Dez 2008 devfs -> /etc/init.d/devfs
lrwxrwxrwx 1 root root 17 23. Dez 2008 dmesg -> /etc/init.d/dmesg
lrwxrwxrwx 1 root root 18 19. Okt 17:22 sysfs -> //etc/init.d/sysfs
lrwxrwxrwx 1 root root 30 19. Okt 17:22 tmpfilesd.sysinit -> //etc/init.d/tmpfilesd.sysinit
lrwxrwxrwx 1 root root 16 3. Dez 2008 udev -> /etc/init.d/udev
lrwxrwxrwx 1 root root 23 7. Nov 17:32 udev-mount -> //etc/init.d/udev-mount |
Was denkt ihr, kann ich das Zeug bedenkenlos löschen, bzw. ne Idee woher das stammt? (Jeweils die Fett markierten Dateien)
Probleme habe ich eigentlich keine, jedenfalls keine von denen ich weiß...
Gruß, Andy. _________________ If you want to see a Distro done right, compile it yourself!
Last edited by Randy Andy on Mon Nov 19, 2012 7:15 am; edited 1 time in total |
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3922 Location: Hamburg
|
Posted: Fri Nov 16, 2012 5:35 pm Post subject: |
|
|
Klar - kannst löschen, anbei den hier nutze ich zum Auffinden von vanished symlinks : Code: | find -L / \( -path '/dev' -o -path '/proc' -o -path '/run' -o -path '/sys' \) -prune -o -type l -print
|
|
|
Back to top |
|
|
Josef.95 Advocate
Joined: 03 Sep 2007 Posts: 4552 Location: Germany
|
Posted: Fri Nov 16, 2012 6:00 pm Post subject: |
|
|
Ja, am besten die toten Dienste mit Code: | rc-update del toter_dienst <runlevel> | aus den Runlevel's entfernen. |
|
Back to top |
|
|
Randy Andy Veteran
Joined: 19 Jun 2007 Posts: 1148 Location: /dev/koelsch
|
Posted: Fri Nov 16, 2012 6:29 pm Post subject: |
|
|
Danke Josef und Toralf.
Josef, hat so funktioniert.
Interessant, da ja bei einem rc-update die broken runlevels nicht angezeigt werden. Lassen sich aber trotzdem wie von Dir beschrieben löschen.
Toralf, danke für die Syntax, kann sie vielleicht später mal sinnvoll einsetzten.
Dieses mal aber nicht. Hab ich sie auf mein System losgelassen, anfangs trudelten schon recht viele Treffer ein, doch nach kurzer Zeit wurde ich von Treffern erschlagen, die nicht mehr aufhören wollten.
Liegt wohl daran dass ich gerade in einer ge-symlinkten 32 Bit Chroot Umgebung für ein älteres Laptop KDE-4.9.3 compiliere. Das hat deine Find-Syntax dann wohl komplett listen wollen
Werd's ein anderes mal damit prüfen.
Dank Euch und noch'n geruhsamen Abend.
Andy. _________________ If you want to see a Distro done right, compile it yourself! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|