Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] udev-Initscript nach Wechsel zu systemd
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3337
Location: de

PostPosted: Sat Jun 01, 2013 9:10 am    Post subject: [solved] udev-Initscript nach Wechsel zu systemd Reply with quote

Guten Morgen,

vor einiger Zeit hab ich meine Rechner auf systemd umgestellt und bin damit eigentlich auch mehr und mehr zufrieden. Da ich aber dem Lennart nicht zu 100% traue und auch noch gern eine Fallback-Variante hätte, ist openrc noch immer installiert. Wäre wohl auch etwas problematisch, da z.B. die functions.sh, die von einigen Gentoo-Funktionen benötigt wird, mit der Deinstallation von openrc auch flöten gehen würde.

Problematisch ist das jetzt, wenn ich mal die OpenRC-Variante des Systems booten will. Udev ist zwar deinstalliert, aber durch Systemd noch im System vorhanden. Dummerweise fehlt aber jetzt das Init-Script /etc/init.d/udev + evtl. udev-postmount. Damit ist z.B. auf meinem HTPC sofort nach dem Start von X weder die Fernbedienung (da udev-Regel von eventX auf irremote) noch die Tastatur ansprechbar. Wenn ich mich über ssh einlog, kann ich mit udevd udev einfach so starten. Dann hab ich auch die Devices wieder.

Um dass Init-Script wieder zurückzubekommen, hab ich probiert eudev und udev-197 nach /var/tmp/portage zu entpacken. Interessanterweise ist weder dort noch im files-Ordner des Portage Tree das Init-Script vorhanden.

Wo krieg ich das Init-Script her?


Last edited by musv on Sat Jun 01, 2013 1:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jean-Paul
Guru
Guru


Joined: 13 Apr 2009
Posts: 307

PostPosted: Sat Jun 01, 2013 12:01 pm    Post subject: Reply with quote

In udev kann das Script nicht liegen, das würde Lennart schon zu verhindern wissen.
Es liegt in openrc.

EDIT:
... ist aber nur dann sichtbar, wenn udev auch installiert ist (siehe ebuild-openrc).
Warum hast du udev deinstalliert, oder ist das ein Schreibfehler ?

Jean-Paul
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4545
Location: Germany

PostPosted: Sat Jun 01, 2013 12:32 pm    Post subject: Reply with quote

musv wrote:
[...] Problematisch ist das jetzt, wenn ich mal die OpenRC-Variante des Systems booten will. Udev ist zwar deinstalliert, aber durch Systemd noch im System vorhanden. Dummerweise fehlt aber jetzt das Init-Script /etc/init.d/udev + evtl. udev-postmount. [...]

Hm, nur eine wage Vermutung (ich kenne mich mit dem neuen systemd Zeugs nicht wirklich aus)
Wenn du sys-apps/systemd mit USE=openrc baust sollte als Abhängigkeit auch sys-fs/udev-init-scripts mitinstalliert werden aus dem dann auch das /etc/init.d/udev InitScript mitkommt.
Sprich, vermutlich sollte es funktionieren wenn du systemd mit USE=openrc baust.
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3337
Location: de

PostPosted: Sat Jun 01, 2013 1:05 pm    Post subject: Reply with quote

Jean-Paul wrote:
Warum hast du udev deinstalliert, oder ist das ein Schreibfehler ?

Der Lennart hat einfach mal das udev in den Systemd reingepackt. Aus dem Grund haben die Leute hier bei Gentoo udev auch geforkt, um das Systemd-Zeug da wieder auszupatchen.

Josef.95 wrote:
sollte als Abhängigkeit auch sys-fs/udev-init-scripts mitinstalliert werden

Danke.

Code:
emerge udev-init-scripts

brachte mir die Scripte zurück. Hab einfach das Paket installiert.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
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