Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
baselayout-2 issues
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Mon Mar 24, 2008 2:26 pm    Post subject: Reply with quote

tranquilcool wrote:
anybody got spamd to start?

What's the error?
_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
n3Cre0
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2007
Posts: 129

PostPosted: Mon Mar 24, 2008 2:51 pm    Post subject: Reply with quote

genstorm wrote:
n3Cre0 wrote:
What should I add?

You need to put the following line into fstab:
Code:
udev                    /dev            tmpfs           size=10M,nr_inodes=4k   0 0


Did so. Didn't change a thing.
Any other ideas?
_________________
OS: Linux 2.6.26 i686 Gentoo v2.0.0 Sound: HDA Intel
CPU: Intel(R) Pentium(R) M processor 1.73GHz (GenuineIntel)
Disk: 95.23GB Video: ATI Radeon Mobility X700 XL with Catalyst 8.08 RAM: 1011MB
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Mon Mar 24, 2008 4:16 pm    Post subject: Reply with quote

genstorm wrote:
n3Cre0 wrote:
What should I add?

You need to put the following line into fstab:
Code:
udev                    /dev            tmpfs           size=10M,nr_inodes=4k   0 0


++

works for me

no issues but "input":

thanks, ÜberLord/Roy for the work you're putting into openRC, finally it's working for me now - 2 to 3 months ago from now it didn't work (I'm using reiser4 w. patched reiser4progs),
haven't tried out parallel startup yet, probably will do that in the weekend

keep up the great work :D
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
MaitreChang
n00b
n00b


Joined: 23 Mar 2003
Posts: 32

PostPosted: Mon Mar 24, 2008 6:21 pm    Post subject: Make spamd start Reply with quote

tranquilcool wrote:
anybody got spamd to start?


You must change a line in /etc/init.d/spamd :

Code:
        start-stop-daemon --start --quiet \
                --nicelevel ${SPAMD_NICELEVEL:-0} \
+              --pidfile ${PIDFILE} \
                --exec /usr/sbin/spamd -- -d -r ${PIDFILE} \
Back to top
View user's profile Send private message
n3Cre0
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2007
Posts: 129

PostPosted: Mon Mar 24, 2008 7:28 pm    Post subject: Reply with quote

OK something happened.. Somehow I don't receive the "ERROR: ... because fsck failed to start," however / is still mounted ro.

So I'll post rc-status output for now.
rc-status boot wrote:
Runlevel: boot
clock [ started ]
modules [ started ]
device-mapper [ started ]
dmcrypt [ started ]
hibernate-cleanup [ started ]
hostname [ started ]
bootmisc [ started ]
net.lo [ started ]
alsasound [ started ]
keymaps [ started ]
urandom [ started ]

rc-status default wrote:
Runlevel: default
localmount [ started ]
syslog-ng [ started ]
acpid [ stopped ]
dbus [ stopped ]
avahi-dnsconfd [ stopped ]
hald [ stopped ]
netmount [ started ]
gpm [ stopped ]
xdm [ started ]
dhcdbd [ stopped ]
NetworkManager [ stopped ]
NetworkManagerDispatcher [ stopped ]
cupsd [ stopped ]
ntpd [ stopped ]
pfirewall [ started ]
pulseaudio [ stopped ]
samba [ stopped ]
system-tools-backends [ stopped ]
undervolt [ started ]
vixie-cron [ stopped ]
local [ started ]


"[ started ]" doesn't mean it started successfully however...
For example when I restart net.lo it nags about /etc/resolv.conf not being editable or changeable (mode)


I really don't understant why I'm the only one having these issues :(
_________________
OS: Linux 2.6.26 i686 Gentoo v2.0.0 Sound: HDA Intel
CPU: Intel(R) Pentium(R) M processor 1.73GHz (GenuineIntel)
Disk: 95.23GB Video: ATI Radeon Mobility X700 XL with Catalyst 8.08 RAM: 1011MB
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1179

PostPosted: Mon Mar 24, 2008 11:25 pm    Post subject: Reply with quote

gimpel wrote:
tranquilcool wrote:
anybody got spamd to start?

What's the error?


/etc/init.d/spamd start;

* Starting spamd ...
* start-stop-daemon: did not create a valid pid in `/var/run/spamd/spamd.pid'
* Failed to start spamd [!!]
* ERROR: spamd failed to start

/etc/init.d/spamd restart;

* Caching service dependencies ...
Service `crypto-loop' needs non existant service `checkroot'
* Starting spamd ...
* start-stop-daemon: /usr/sbin/spamd is already running
* Failed to start spamd
* ERROR: spamd failed to start


dunno what's the problem.

edited as MaitreChang said but prblem
remains the same.
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Tue Mar 25, 2008 9:28 am    Post subject: Reply with quote

tranquilcool wrote:
edited as MaitreChang said but prblem
remains the same.


Yeah, the issue is different as /usr/sbin/spamd is a perl script. It does work by tricking start-stop-daemon with a process name instead of giving it a pidfile:
Code:
--- spamd.orig   2008-03-25 09:56:55.000000000 +0100
+++ spamd   2008-03-25 10:27:14.000000000 +0100
@@ -20,6 +20,7 @@
    ebegin "Starting spamd"
    start-stop-daemon --start --quiet \
       --nicelevel ${SPAMD_NICELEVEL:-0} \
+      --name spamd \
       --exec /usr/sbin/spamd -- -d -r ${PIDFILE} \
          ${SPAMD_OPTS}
    eend $? "Failed to start spamd"


No idea if this is the solution, or just a workaround. w.f.m though.
Something like
Code:
--pidfile ${PIDFILE} --exec /usr/bin/perl -- -w /usr/sbin/spamd -d -r ${PIDFILE} ..
also does not work, so no idea what's better than tricking it with --name

Erm, of course you have to kill the running spamd instance, and remove the pidfile if it is still there.
_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay


Last edited by gimpel on Tue Mar 25, 2008 9:55 am; edited 1 time in total
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1179

PostPosted: Tue Mar 25, 2008 9:55 am    Post subject: Reply with quote

gimpel wrote:
tranquilcool wrote:
edited as MaitreChang said but prblem
remains the same.


Yeah, the issue is different as /usr/sbin/spamd is a perl script. It does work by tricking start-stop-daemon with a --name:
Code:
--- spamd.orig   2008-03-25 09:56:55.000000000 +0100
+++ spamd   2008-03-25 10:27:14.000000000 +0100
@@ -20,6 +20,7 @@
    ebegin "Starting spamd"
    start-stop-daemon --start --quiet \
       --nicelevel ${SPAMD_NICELEVEL:-0} \
+      --name spamd \
       --exec /usr/sbin/spamd -- -d -r ${PIDFILE} \
          ${SPAMD_OPTS}
    eend $? "Failed to start spamd"


No idea if this is the solution, or just a workaround. w.f.m though.
Something like
Code:
--pidfile ${PIDFILE} --exec /usr/bin/perl -- -w /usr/sbin/spamd -d -r ${PIDFILE} ..
also does not work, so no idea what's better than tricking it with --name

Erm, of course you have to kill the running spamd instance, and remove the pidfile if it is still there.


with this patch it says;

* Starting spamd ...
* start-stop-daemon: --start needs --exec
/lib/rc/sh/runscript.sh: line 24: --exec: command not found
* Failed to start spamd [!!]
* ERROR: spamd failed to start
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Tue Mar 25, 2008 9:57 am    Post subject: Reply with quote

tranquilcool wrote:
with this patch it says;

* Starting spamd ...
* start-stop-daemon: --start needs --exec
/lib/rc/sh/runscript.sh: line 24: --exec: command not found
* Failed to start spamd [!!]
* ERROR: spamd failed to start

That's because the forum software adds a whitespace after every line in a code box. Or your browser (doesn't happen with Firefox 3 here)
Remove the whitespace at the end of --name spamd \

The patch format is just handy to show where to edit things. Come on, it's a one-liner, no need to use patch here. :)
_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1179

PostPosted: Tue Mar 25, 2008 10:02 am    Post subject: Reply with quote

gimpel wrote:
tranquilcool wrote:
with this patch it says;

* Starting spamd ...
* start-stop-daemon: --start needs --exec
/lib/rc/sh/runscript.sh: line 24: --exec: command not found
* Failed to start spamd [!!]
* ERROR: spamd failed to start

That's because the forum software adds a whitespace after every line in a code box. Or your browser (doesn't happen with Firefox 3 here)
Remove the whitespace at the end of --name spamd \

The patch format is just handy to show where to edit things. Come on, it's a one-liner, no need to use patch here. :)


thanks gimpel. now it's ok.
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
n3Cre0
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2007
Posts: 129

PostPosted: Tue Mar 25, 2008 10:47 am    Post subject: Reply with quote

Can someone tell me what init.d script takes care of mounting / rw? Once I can add that script to the boot runlevel I'll be able to boot normally.
_________________
OS: Linux 2.6.26 i686 Gentoo v2.0.0 Sound: HDA Intel
CPU: Intel(R) Pentium(R) M processor 1.73GHz (GenuineIntel)
Disk: 95.23GB Video: ATI Radeon Mobility X700 XL with Catalyst 8.08 RAM: 1011MB
Back to top
View user's profile Send private message
boris64
Veteran
Veteran


Joined: 04 Oct 2003
Posts: 1770
Location: Vechelde/Peine

PostPosted: Tue Mar 25, 2008 12:23 pm    Post subject: Reply with quote

n3Cre0 wrote:
Can someone tell me what init.d script takes care of mounting / rw? Once I can add that script to the boot runlevel I'll be able to boot normally.

Waaaah, that's what i wanna know, too.
_________________
boris64.net 200x / visit my desktop / try these tiny kernel patches ;)
Back to top
View user's profile Send private message
n3Cre0
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2007
Posts: 129

PostPosted: Tue Mar 25, 2008 12:26 pm    Post subject: Reply with quote

boris64 wrote:
n3Cre0 wrote:
Can someone tell me what init.d script takes care of mounting / rw? Once I can add that script to the boot runlevel I'll be able to boot normally.

Waaaah, that's what i wanna know, too.


So you're experiencing this too?

I can't believe it's that hard to fix/answer.. Jeez. Haven't been able to use X for 3 days now..
_________________
OS: Linux 2.6.26 i686 Gentoo v2.0.0 Sound: HDA Intel
CPU: Intel(R) Pentium(R) M processor 1.73GHz (GenuineIntel)
Disk: 95.23GB Video: ATI Radeon Mobility X700 XL with Catalyst 8.08 RAM: 1011MB
Back to top
View user's profile Send private message
boris64
Veteran
Veteran


Joined: 04 Oct 2003
Posts: 1770
Location: Vechelde/Peine

PostPosted: Tue Mar 25, 2008 12:31 pm    Post subject: Reply with quote

Ehm, i guess i found it, check /etc/init.d/root.

-> /etc/init.d/root
Code:

description="Mount the root fs read/write"

Didn't try it yet, though.
_________________
boris64.net 200x / visit my desktop / try these tiny kernel patches ;)
Back to top
View user's profile Send private message
n3Cre0
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2007
Posts: 129

PostPosted: Tue Mar 25, 2008 1:29 pm    Post subject: Reply with quote

Yes!

That fixed it..

Code:
# rc-update add root boot
 * root added to runlevel boot


I had to edit it and add
/etc/init.d/root wrote:
depend()
{
need fsck
before bootmisc
after modules

keyword nojail noopenvz noprefix novserver
}

in /etc/init.d/root because it would start after many services started (=failed) already.

I also had to
Code:
# rc-update del dmcrypt boot
 * dmcrypt removed from runlevel boot

because that somehow interfered with the boot sequence.

Well it's fixed and I'm happy :)

Now I need to find out why dmcrypt fails and splashutils causes nasty errors.
Anyone experience with the latest two?
_________________
OS: Linux 2.6.26 i686 Gentoo v2.0.0 Sound: HDA Intel
CPU: Intel(R) Pentium(R) M processor 1.73GHz (GenuineIntel)
Disk: 95.23GB Video: ATI Radeon Mobility X700 XL with Catalyst 8.08 RAM: 1011MB


Last edited by n3Cre0 on Sun Jun 08, 2008 12:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
boris64
Veteran
Veteran


Joined: 04 Oct 2003
Posts: 1770
Location: Vechelde/Peine

PostPosted: Tue Mar 25, 2008 1:42 pm    Post subject: Reply with quote

Well, i didn't work for me either, i _really_ need dmcrypt to access my harddrive.

I temporally got around the problems triggered by a readonly mounted rootfs
by adding an "rw" to my kernel command line in grub.conf.

hm, ...
_________________
boris64.net 200x / visit my desktop / try these tiny kernel patches ;)
Back to top
View user's profile Send private message
n3Cre0
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2007
Posts: 129

PostPosted: Tue Mar 25, 2008 2:43 pm    Post subject: Reply with quote

Did anyone here got splashutils working?
eix splashutils wrote:
* media-gfx/splashutils
Available versions: 1.5.2.1 1.5.3.4 (~)1.5.4 (~)1.5.4-r1 {+mng +png +truetype fbcondecor gpm hardened mng png truetype}
Homepage: http://fbsplash.berlios.de
Description: Framebuffer splash utilities


Here it fails compiling with
installing splashutils wrote:

...
daemon_cmd.c: In function 'cmd_log':
daemon_cmd.c:346: warning: incompatible implicit declaration of built-in function 'strndup'
daemon_cmd.c:348: warning: incompatible implicit declaration of built-in function 'strndup'
CC fbcondecor_helper-kernel.o
CC fbcondecor_helper-libfbsplash.o
CC fbcondecor_helper-libfbsplashrender.o
CC fbcondecor_helper-fbcon_decor.o
CC fbcondecor_helper-common.o
CC fbcondecor_helper-parse.o
CC fbcondecor_helper-list.o
CC fbcondecor_helper-render.o
CC fbcondecor_helper-image.o
CC fbcondecor_helper-effects.o
CC fbcondecor_helper-ttf.o
LD fbcondecor_helper
daemon_cmd.c: In function 'cmd_log':
daemon_cmd.c:346: warning: incompatible implicit declaration of built-in function 'strndup'
daemon_cmd.c:348: warning: incompatible implicit declaration of built-in function 'strndup'
CREATE libfbsplash.pc
CREATE libfbsplashrender.pc
Making all in test
Making all in docs
Making all in misc
Making all in scripts
make -j2 LIB=lib
cc -O2 -march=i686 -pipe -g -Wall -I../core/objs -I../core -I../core/src -I../core/objs/src -fPIC -c -o splash.o splash.c
splash.c: In function 'strlist_merge_sort':
splash.c:66: warning: implicit declaration of function 'rc_strlist_addsort'
splash.c: In function 'get_list_fp':
splash.c:112: warning: implicit declaration of function 'rc_strlist_add'
splash.c: In function 'splash_config_gentoo':
splash.c:146: warning: assignment from incompatible pointer type
splash.c:148: warning: passing argument 1 of 'rc_config_value' from incompatible pointer type
splash.c:157: warning: passing argument 1 of 'rc_config_value' from incompatible pointer type
splash.c:163: warning: passing argument 1 of 'rc_config_value' from incompatible pointer type
splash.c:171: warning: passing argument 1 of 'rc_config_value' from incompatible pointer type
splash.c:175: warning: passing argument 1 of 'rc_config_value' from incompatible pointer type
splash.c:186: warning: passing argument 1 of 'rc_config_value' from incompatible pointer type
splash.c:192: warning: passing argument 1 of 'rc_config_value' from incompatible pointer type
splash.c:198: warning: passing argument 1 of 'rc_config_value' from incompatible pointer type
splash.c:205: warning: passing argument 1 of 'rc_config_value' from incompatible pointer type
splash.c:211: warning: passing argument 1 of 'rc_config_value' from incompatible pointer type
splash.c:217: warning: passing argument 1 of 'rc_config_value' from incompatible pointer type
splash.c:222: warning: passing argument 1 of 'rc_config_value' from incompatible pointer type
splash.c:235: warning: implicit declaration of function 'rc_strlist_free'
splash.c: In function 'splash_init':
splash.c:374: warning: assignment from incompatible pointer type
splash.c:376: warning: assignment from incompatible pointer type
splash.c:380: warning: assignment from incompatible pointer type
splash.c:384: warning: assignment from incompatible pointer type
splash.c:394: warning: assignment from incompatible pointer type
splash.c:396: warning: assignment from incompatible pointer type
splash.c:400: warning: assignment from incompatible pointer type
splash.c: In function 'splash_svcs_start':
splash.c:448: error: 'rc_depinfo_t' undeclared (first use in this function)
splash.c:448: error: (Each undeclared identifier is reported only once
splash.c:448: error: for each function it appears in.)
splash.c:448: error: 'deptree' undeclared (first use in this function)
splash.c:465: warning: assignment from incompatible pointer type
splash.c:478: warning: assignment from incompatible pointer type
splash.c: In function 'splash_svcs_stop':
splash.c:509: error: 'rc_depinfo_t' undeclared (first use in this function)
splash.c:509: error: 'deptree' undeclared (first use in this function)
splash.c:526: warning: assignment from incompatible pointer type
splash.c: At top level:
splash.c:643: error: expected ')' before 'hook'
make: *** [splash.o] Error 1

!!! ERROR in media-gfx/splashutils-1.5.4-r1:
!!! In src_compile at line 3386
!!! failed to build the splash plugin

!!! Call stack:
!!! * src_compile (/var/tmp/paludis/media-gfx/splashutils-1.5.4-r1/temp/loadsaveenv:3386)
!!! * ebuild_f_compile (/usr/libexec/paludis/1/src_compile.bash:49)
!!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:462)
!!! * main (/usr/libexec/paludis/ebuild.bash:480)

diefunc: making ebuild PID 9393 exit with error
die trap: exiting with error.


EDIT: Well I'm happy to say, after some playing with 'after' and 'before' in some init scripts + adding 'swap' to boot runlevel everything works flawlessly again :D

Now I just need splashutils to make everything work again as it did before..

(I can also delete bootmisc etc now?)

EDIT#2: I've been able to install splashutils again and I added fbcondecor to boot level. The nasty errors at boot are gone but when /etc/init.d/fbcondecor gets started, it bails out with
Quote:

* Setting framebuffer console images ...
/sbin/splash-functions.sh: line 481: 2313 Segmentation fault ${spl_decor} --tty="${tty}" -t "${theme}" -c setcfg
* Failed to set background image on tty1 [ !! ]
* ERROR: fbcondecor failed to start


What's the openrc equivalent of the fbcondecor script?
_________________
OS: Linux 2.6.26 i686 Gentoo v2.0.0 Sound: HDA Intel
CPU: Intel(R) Pentium(R) M processor 1.73GHz (GenuineIntel)
Disk: 95.23GB Video: ATI Radeon Mobility X700 XL with Catalyst 8.08 RAM: 1011MB
Back to top
View user's profile Send private message
Martin.Jansa
n00b
n00b


Joined: 09 Mar 2004
Posts: 55
Location: Prague

PostPosted: Tue Mar 25, 2008 10:02 pm    Post subject: Reply with quote

I had also 2 issues with baselayout..

1) mdraid (start raid devices - formely I suppose was part of mdadm) wasn't started before localmount.. so I added
mdraid to "need" section in /etc/init.d/localmount and mdraid to boot runlevel..

2) root cannot add some services to boot runlevel (only to default)
Code:

jama ~ # rc-update del root boot
 * root removed from runlevel boot
jama ~ # rc-update add root boot
 * rc-update: failed to add service `root' to runlevel `boot': Operation not permitted
jama ~ # rc-update add root default
 * root added to runlevel default


so I had to add it by symlink
Code:

jama ~ # cd /etc/runlevels/boot/
jama boot # ln -s /etc/init.d/root .


And wasn't udevd started little earlier in previous versions of baselayout? I'm not using initrd with udev, but now when I tried to reboot with clean /dev (cleaned from another system), then all messages from init were hidden.. last shown message was about "unable to init default console". Now I have few static files (tty*, console, null, md*) in /dev directory (before start of udev and mounting tmpfs there).
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Tue Mar 25, 2008 10:12 pm    Post subject: Reply with quote

n3Cre0 wrote:
EDIT#2: I've been able to install splashutils again and I added fbcondecor to boot level.

How? HOW? :)

Same troubles here.

EDIT: arr, nevermind. /usr/portage/media-gfx/splashutils/files/openrc-strlist-abi.patch

There we go. All working again.
_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
n3Cre0
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2007
Posts: 129

PostPosted: Tue Mar 25, 2008 11:00 pm    Post subject: Reply with quote

gimpel wrote:
n3Cre0 wrote:
EDIT#2: I've been able to install splashutils again and I added fbcondecor to boot level.

How? HOW? :)

Same troubles here.

EDIT: arr, nevermind. /usr/portage/media-gfx/splashutils/files/openrc-strlist-abi.patch

There we go. All working again.


Ah that will explain it then :)

Well, as I said: compilation went fine, but when I boot up it gives me the error..

I'll sync portage, reinstall, update config and try again..

EDIT: Well it didn't work unfortunately.
Quote:
# /etc/init.d/fbcondecor start
* Caching service dependencies ... [ ok ]
* Setting framebuffer console images ...
/sbin/splash-functions.sh: line 481: 25682 Segmentation fault ${spl_decor} --tty="${tty}" -t "${theme}" -c setcfg
* Failed to set background image on tty1 [ !! ]
* ERROR: fbcondecor failed to start


Does it work for anyone (work as in work, display, not compilation)?
_________________
OS: Linux 2.6.26 i686 Gentoo v2.0.0 Sound: HDA Intel
CPU: Intel(R) Pentium(R) M processor 1.73GHz (GenuineIntel)
Disk: 95.23GB Video: ATI Radeon Mobility X700 XL with Catalyst 8.08 RAM: 1011MB
Back to top
View user's profile Send private message
gigs94
n00b
n00b


Joined: 06 Aug 2004
Posts: 52
Location: DC

PostPosted: Wed Mar 26, 2008 1:21 pm    Post subject: Reply with quote

Why does baselayout-2.0.0_rc6-r1.ebuild not depend on openrc but baselayout-2.0.0.ebuild does?
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Wed Mar 26, 2008 3:16 pm    Post subject: Reply with quote

pholthau wrote:
UberLord wrote:

So the correct solution is to remove all net.* as net dependencies.
This is done by only having net.tap0 in the default runlevel and allowing your other interfaces to be coldplugged.
Or add rc_need="net.tap0" to /etc/conf.d/nfsmount


I don't understand exactly what you are trying to tell me.
Maybe I was kind of unclear about what I am trying to set up:

nfsmount needs tap0 because it tries to access mounts that are available via this interface.
tap0 needs openvpn because openvpn creates that device. If openvpn is not started, tap0 refuses to start, too.
the openvpn connection can be established in two different scenarios: at home (openvpn.home) or remote (openvpn.remote)
openvpn needs another net (eth0 or wlan0) to be up and running.

So only having net.tap0 in the default runlevel would not work because I neither have eth0/wlan0 nor an openvpn connection. I don't know if it is possible to have the nfs shares mounted automatically. At the moment, I am doing it like this:
1. wlan0 is started automatically (runlevel default or udev-triggered)
2. starting openvpn.home or remote (dependent on where I am)
3. starting net.tap0
4. starting nfsmount

There are 2 drawbacks of this approach:
1. I have to open a root shell every time I boot and type in these commands.
2. If I forget to stop nfsmount before shutting down, the laptop cannot shut down cleanly because it is unable to unmount the shares (openvpn is stopped before nfsmount or net.tap0)


/etc/conf.d/nfsmount
rc_need="vpn"

/etc/conf.d/openvpn.home
rc_provide="vpn"

/etc/conf.d/openvpn.work
rc_provide="vpn"

That solves that one. Maybe file a bug asking for openvpn init script to provide "vpn" by default.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Wed Mar 26, 2008 3:19 pm    Post subject: Reply with quote

For everyone having problems with the ebuilds in portage, please ensure the following

fsck, mtab, root, procfs are in the boot runlevel
checkroot and checkfs are NOT in the boot runlevel, and don't exist in /etc/init.d/
/bin/sh links to bash

Basically, the ebuild that entered portage isn't mine, and the Gentoo branch of OpenRC it pulls needs fixing a little which a Gentoo dev will have to do.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Wed Mar 26, 2008 3:21 pm    Post subject: Reply with quote

gigs94 wrote:
Why does baselayout-2.0.0_rc6-r1.ebuild not depend on openrc but baselayout-2.0.0.ebuild does?


baselayout-2.0.0_rc ebuilds have the rc bits built in.
When I retired I started a new project, based on that.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
aldraia
n00b
n00b


Joined: 10 Jul 2006
Posts: 16

PostPosted: Wed Mar 26, 2008 11:51 pm    Post subject: Reply with quote

when the swap service has to start?

which program creates the xdm service? I've installed kdm,xdm, xorg and xorg-server and get nothing

thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3, 4, 5  Next
Page 3 of 5

 
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