WIP: /etc/rc.d/xdm RCORDER problems
keramida at linux.gr
Mon Sep 27 10:16:42 PDT 2004
On 2004-09-27 14:50, Jose M Rodriguez <josemi at freebsd.jazztel.es> wrote:
> I have now a working /etc/rc.d/xdm script for booting
> But I have reached a problem.
> The xdm script requires LOGIN syscons and moused.
> But xdm is take very early by rcorder and gets running before init launch
> the gettys.
> For a safe solution, I think that /etc/rc.d/xdm must tagged 'nostart' and
> launch from /etc/ttys.
> No. In this case must become a real wrapper.
> But I recall that gnome users do this from /usr/X11R6/etc/rc.d/gdm.sh
> without too much problems
> So, I think that must be a real /etc/rc.d/ problem
> After a first look, IMHO, seems that a lot of BEFORE tags are missing. At
> last several BEFORE: LOGIN.
> rcorder -k FreeBSD -s nostart /etc/rc.d/*
> This is FreeBSD-5BETA5
> May I send-pr this?
Sure, you can always send-pr something that bothers you. In this case
though, IMHO, you should wait a bit.
Some of the rc.d scripts you listed above have a `REQUIRE: LOGIN' line.
This will create a dependency problem if combined with a line that
contains `BEFORE: LOGIN', since a script cannot depend on LOGIN to start
but start before LOGIN.
The scripts that depend on LOGIN and are listed above are:
/etc/rc.d/syscons:# REQUIRE: LOGIN usbd
/etc/rc.d/sshd:# REQUIRE: LOGIN
/etc/rc.d/sendmail:# REQUIRE: LOGIN
/etc/rc.d/archdep:# REQUIRE: LOGIN
/etc/rc.d/abi:# REQUIRE: LOGIN
/etc/rc.d/cron:# REQUIRE: LOGIN
/etc/rc.d/devfs:# REQUIRE: LOGIN
/etc/rc.d/jail:# REQUIRE: LOGIN
/etc/rc.d/pcvt:# REQUIRE: LOGIN
/etc/rc.d/othermta:# REQUIRE: LOGIN
/etc/rc.d/msgs:# REQUIRE: LOGIN
/etc/rc.d/mixer:# REQUIRE: LOGIN usbd
/etc/rc.d/inetd:# REQUIRE: DAEMON LOGIN
More information about the freebsd-current