Hallo,
nachdem ich ja
nicht einmal mehr eine Internetverbindung so ganz plötzlich habe und ich dadurch aktuell nicht wirklich arbeiten kann, habe ich mich daran gemacht, mein System auf systemd umzustellen. Ich habe versucht, mich an das englische Wiki zu halten, aber es läuft noch nicht alles so, wie es soll, ich bin auch noch nicht ganz fertig, und manches ist mir auch noch nicht so ganz klar.
(1) Was ist denn der Unterschied zu sysvinit und initscripts? Bzw. brauche ich davon noch irgendwas am Ende?
(2) Folgende Sachen werden aktuell beim Start noch bemängelt: "Syslog socket" laden klappt nicht, ebenso wie das Laden der "Kernel Modules".
(3) Beim Umstellen ist mir aufgefallen, dass ich als Daemons in der rc.conf noch "ntpdate" und "fam" eingetragen hatte. Beide haben ursprünglich dazu geführt, dass das Booten teils sehr lange brauchte, aber insb. am Ende dann doch komplett hing und er nicht mehr booten wollte. Da die beiden ja veraltet sind, habe ich sie aus der Daemon-Liste herausgenommen.Seither startet er zumindest in Runlevel 3 mit mindestens obig erwähnten Fehlermeldungen. Aber er startet noch nicht automatisch KDE. Woran liegt das? Einloggen auf der Konsole und "startx" Eintippen funktioniert und resultiert in einem startenden KDE. Das Ausloggen wiederum brachte mich auf die Konsole zurück, bei dem er als letzte Meldung irgendwie den akonadiserver beendet hat, aber da passierte auch nichts mehr und er hing (dass er nach manuellem Start von X bzw. KDE beim Ausloggen hängt, das kenne ich aber fast nicht anders ...). CTRL + C beendete das aber wieder (Kann so etwas in einer solche Situation schiefgehen? Ich hatte ja den Eindruck, dass er hing, zumindest sollte er nicht so lange dafür brauchen, mich auszuloggen und mir wieder eine nutzbare Konsole zurückzugeben.) und ich konnte rebooten.
(4) fsck
musst durchgeführt werden, ich konnte es nicht mehr mit CTRL + C beim Booten beenden. Das ist untragbar! (Mit fettem Ausrufezeichen!) Ich hoffe, es ist weiterhin noch möglich, diesen abzubrechen. Falls ja, kann mir einer sagen, wie? Gerade beim Herumtüfteln oder beim "mal schnell PC hochfahren, weil noch schnell etwas ausdrucken müssen, aber nicht mehr viel Zeit haben", da darf es nicht passieren, dass die Kiste nicht unter 20 min bootet, weil er ein paar Tests noch durchführen möchte. Ich habe ihn bisher immer testen lassen, wenn ich die Zeit dazu hatte.
(5) Woran erkenne ich am Ende, ob alles gut genug läuft, so dass ich initscripts deinstallieren und den Zusatz "/usr/lib/systemd/systemd" aus der Grub-Einstellungsdatei wieder herauslöschen kann?
Ich bin also noch nicht bei dem Schritt angekommen, bei dem man die Daemons starten kann oder gar initscripts deinstallieren durfte. Internet funktionierte selbst bei erfolgreichem Start von KDE mittels "startx" immer noch nicht (-> sehr, sehr nervig).
Als Informationen für euch, hier einmal, was ich so eingetragen habe in den jeweiligen Dateien, auch meine rc.conf ist dabei. Hier habe ich einfach nur eine Menge auskommentiert - ich wollte es löschen, sobald systemd funktioniert.
bash-4.2# cat /etc/locale.conf
LANG=en_US.utf8
#LC_ALL=en_US.utf8
bash-4.2# cat /etc/vconsole.conf
KEYMAP=us
FONT=lat9w-16
#FONT_MAP=
bash-4.2# cat /etc/hostname
panda1
bash-4.2# cat /etc/hosts
#
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost panda1
# End of file
bash-4.2# cat /etc/localtime
TZi2
`ٮ qKͩCϒ4Ђ%rѶXҡO4cK#9 gըs),▒ xΗMD3#ܐ͐▒㯐Ӡ▒Ñ| lr!\c"LT#<E$,6%'&
▒'C'4(%)*+,-ڐ.ː/t0d1]2r3=4R562x688a9v:C;X<_=:>A?@f#A9BFCd
%ECFɐG#GIIJKL̿MNOnnPQWRleS7lTLGUNV,)V0XFXY(Z[
\]^_`_a}b?c]̐de=gg藐hriyjTk[lqm=nSohp5qQ<rfs1tEuv/vxxyِz{λ|}~y *0 *0 CESTCETCEMTTZif2 oa
`ٮ qKͩCϒ4Ђ%rѶXҡO4cK#9 gըs),▒ xΗMD3#ܐ͐▒㯐Ӡ▒Ñ| lr!\c"LT#<E$,6%'&
▒'C'4(%)*+,-ڐ.ː/t0d1]2r3=4R562x688a9v:C;X<_=:>A?@f#A9BFCd
%ECFɐG#GIIJKL̿MNOnnPQWRleS7lTLGUNV,)V0XFXY(Z[
\]^_`_a}b?c]̐de=gg藐hriyjTk[lqm=nSohp5qQ<rfs1tEuv/vxxyِz{λ|}~y
0 LMTCESTCETCEMT
CET-1CEST,M3.5.0,M10.5.0/3
bash-4.2# cat /etc/rc.conf
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
##LOCALE="en_US.utf8"
##HARDWARECLOCK="localtime"
###USEDIRECTISA="no"
##TIMEZONE="Europe/Berlin"
##KEYMAP="de-latin1-nodeadkeys"
##CONSOLEFONT=
##CONSOLEMAP=
###USECOLOR="yes"
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
##MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
# aus MODULES entfernt: snd-pcm-oss
##MODULES=(forcedeth snd-mixer-oss snd-page-alloc snd-pcm snd-timer snd snd-bt87x soundcore !ctxfi usbcore !usblp)
# Scan for LVM volume groups at startup, required if you use LVM
###USELVM="no"
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
##HOSTNAME="panda1"
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
eth0="dhcp"
#eth1="dhcp"
INTERFACES=(eth0)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
NETWORKS=(ethernet-dhcp)
#NETWORKS=(main)
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng dbus net-profiles netfs crond fam cupsd)
#DAEMONS=(syslog-ng hal dbus network netfs crond fam @ntpdate alsa cupsd)
#read
bash-4.2# ls /etc/modules-load.d
ctxfi.conf snd.conf snd-pcm.conf usbcore.conf
forcedeth.conf snd-mixer-oss.conf snd-timer.conf usblp.conf
snd-bt87x.conf snd-page-alloc.conf soundcore.conf
bash-4.2# cat /etc/modules-load.d/ctxfi.conf
!ctxfi
bash-4.2# cat /etc/modules-load.d/usblp.conf
!usblp
bash-4.2# cat /etc/modules-load.d/snd.conf
snd
Viele Grüße,
\ guy.brush
PS: Ja, die localtime Datei wurde in der Tat so komisch erzeugt. Vermutlich muss ich wegen Windows-Partition eh auf "localtime" statt "UTC" umstellen, aber da muss ich mich noch einmal einlesen. Auch ntpd will ja dann eingerichtet werden, wobei das vermutlich eh wieder nur in sehr seltenen Fällen funktioniert.
PPS: Kleine Semenatik beim Auskommentieren in der rc.conf: 2x "#" bedeutet, dass ich der Meinung bin, diese Option durch eine entsprechende Datei inkl. Inhalt für systemd ersetzt zu haben. 3x "#" bedeutet, dass ich das Wiki zur rc.conf so verstehe, dass ich das auch auskommentieren bzw. später aus der rc.conf Datei herausnehmen sollte.