Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with depscan.sh...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
prbox
n00b
n00b


Joined: 12 Feb 2004
Posts: 33
Location: Somerset, UK

PostPosted: Tue May 04, 2004 1:58 am    Post subject: Problem with depscan.sh... Reply with quote

Hi,

I have a problem when I use emerge to merge or unmerge - which then calls depscan.sh

The following is displayed numerous times:

Code:
Usage: server -n rsa_nickname -p port [-3RFrf] [-w password]
                                        [-c ciphers] [-d dbdir]
-3 means disable SSL v3
-r means request certificate on first handshake.
-f means require certificate on first handshake.
-R means request certificate on all handshakes.
-F means require certificate on all handshakes.
-c ciphers   Letter(s) chosen from the following list
A         SSL2 RC4 128 WITH MD5
B         SSL2 RC4 128 EXPORT40 WITH MD5
C         SSL2 RC2 128 CBC WITH MD5
D         SSL2 RC2 128 CBC EXPORT40 WITH MD5
E         SSL2 DES 64 CBC WITH MD5
F         SSL2 DES 192 EDE3 CBC WITH MD5

a         SSL3 FORTEZZA DMS WITH FORTEZZA CBC SHA
b         SSL3 FORTEZZA DMS WITH RC4 128 SHA
c         SSL3 RSA WITH RC4 128 MD5
d         SSL3 RSA WITH 3DES EDE CBC SHA
e         SSL3 RSA WITH DES CBC SHA
f         SSL3 RSA EXPORT WITH RC4 40 MD5
g         SSL3 RSA EXPORT WITH RC2 CBC 40 MD5
h         SSL3 FORTEZZA DMS WITH NULL SHA
i         SSL3 RSA WITH NULL MD5
j         SSL3 RSA FIPS WITH 3DES EDE CBC SHA
k         SSL3 RSA FIPS WITH DES CBC SHA
l         SSL3 RSA EXPORT WITH DES CBC SHA      (new)
m         SSL3 RSA EXPORT WITH RC4 56 SHA       (new)


I've tracked down that server is part of mozilla:
Code:
vaio root # which server
/usr/bin/server
vaio root # qpkg -f /usr/bin/server
net-www/mozilla *


... but I do not know where to go from here. Also why are my emerge scripts calling mozilla server program?

Cheers,
Al
_________________
--
La de da
Back to top
View user's profile Send private message
prbox
n00b
n00b


Joined: 12 Feb 2004
Posts: 33
Location: Somerset, UK

PostPosted: Wed May 05, 2004 1:13 am    Post subject: zoning in.... Reply with quote

I have messed about with putting some echo lines into the script....
and found the area that is causing the problem. You can see this in your own /sbin/depscan.h to check.

Code:
bash "${svcdir}/depcache" | \
\
/bin/gawk \
        -f /lib/rcscripts/awk/functions.awk \
        -f /lib/rcscripts/awk/gendepends.awk || \
        retval=1

#eend ${retval} "Failed to cache service dependencies"

exit ${retval}


but I really do not understand what is going on. Any help appreciated.

Cheers,
Al
_________________
--
La de da
Back to top
View user's profile Send private message
senseless
n00b
n00b


Joined: 23 Sep 2004
Posts: 1

PostPosted: Thu Sep 23, 2004 7:48 pm    Post subject: Reply with quote

Hello,

after a system-crash I've got similar problems with depscan.sh

Code:

deep-thought init.d # ls -la /var/lib/init.d/depcache
 -rwxr-xr-x  1 root root 0 Sep 23 20:22 /var/lib/init.d/depcache

deep-thought init.d # depscan.sh
  * Caching service dependencies...
  * No scripts to process!
  /var/lib/init.d/depcache: /var/lib/init.d/depcache: No such file or
  directory

deep-thought init.d # ls -la /var/lib/init.d/depcache
  ls: /var/lib/init.d/depcache: No such file or directory


The reason for the missing file depcache is in depscan.sh - line 30:

Code:

# Clean out the non volitile directories ...
rm -rf ${svcdir}/dep{cache,tree} ${svcdir}/{broken,snapshot}/*


This lines (in depscan.sh) should create a new file depcache, I think:
Code:

/bin/gawk \
    -f /lib/rcscripts/awk/functions.awk \
    -f /lib/rcscripts/awk/cachedepends.awk || \


If I have a closer look at cachedepends.awk I could see that
depcache should be created somewhere above from line 209

Code:

cachedepends.awk:209:   system("mv "TMPCACHE" "SVCDIR"/depcache")


My problem now is: I do not know anything about awk (or gawk)
so I could not determine exactly what 'the problem is.

A workaround is to do not care about errors and start the required
init-scripts manually. -- But it is only a work-around ...

I have something heared about the package baselayout, but a
"emerge baselayout" does not solve [the|my] problem.

Are there any ideas left?

Greetings,
markus
Back to top
View user's profile Send private message
prbox
n00b
n00b


Joined: 12 Feb 2004
Posts: 33
Location: Somerset, UK

PostPosted: Sat Sep 25, 2004 12:55 am    Post subject: Not a solution but what happened in my case... Reply with quote

I just carried on regardless and after a while updates to what I guess were mozilla and portage got rid of the annoyance.

Cheers,
Al
_________________
--
La de da
Back to top
View user's profile Send private message
leo.fontenelle
Tux's lil' helper
Tux's lil' helper


Joined: 29 May 2005
Posts: 129
Location: Ribeirão Preto, Brasil

PostPosted: Thu Jun 16, 2005 8:43 pm    Post subject: I hope I have the answer Reply with quote

I had a similar problem, and the cause was a misconfiguration in /etc/rc.conf, while some people say it can be /etc/conf.d/. Information and entertainment in this thread.
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4975
Location: Gothenburg, Sweden

PostPosted: Thu Jun 16, 2005 8:48 pm    Post subject: Reply with quote

There is also an FAQ for this: https://forums.gentoo.org/viewtopic-t-53821.html

Moved from Portage & Programming to Duplicate Threads.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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