Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186072 - depscan.sh is not tolerate of cruft in /etc/init.d/
Summary: depscan.sh is not tolerate of cruft in /etc/init.d/
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: AMD64 Linux
: High minor
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-21 07:33 UTC by Jared Hulbert
Modified: 2007-07-22 10:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jared Hulbert 2007-07-21 07:33:38 UTC
I recently discovered that my system had some gvim~ temp files and a failed merged esound file in it.  This caused depscan.sh -u to report:

/var/lib/init.d/depcache: line 6382: syntax error: unexpected end of file

Removing the crufty files seemed to fix it.

Reproducible: Couldn't Reproduce

Steps to Reproduce:
1. echo "particleman" > /etc/init.d/foo; depscan.sh -u #no failure
2. head -n 43 /etc/init.d/nfs > /etc/init.d/foo; depscan.sh -u # no failure
3. cat /etc/init.d/nfs > /etc/init.d/foo; (add random <<<<< and >>>> to file); depscan.sh -u #no failure

I tried.  I deleted the files and don't have a backup of them.
Comment 1 SpanKY gentoo-dev 2007-07-21 19:51:40 UTC
we've had this in the past and i thought we addressed it

can you post `emerge --info` please
Comment 2 Roy Marples (RETIRED) gentoo-dev 2007-07-22 10:47:07 UTC
Depends on how crufty the file in /etc/init.d is I guess. Pretty hard to fix as the reporter cannot reproduce and thus cannot give us enough information.

baselayout-2 should be more robust in this regard btw and I've committed a path to make it even harder incase  something in the init script spits to stdout something it shouldn't.

But we need more info to fix your exact issue.