Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159633 - /etc/conf.d/clock: line 8: ---: command not found
Summary: /etc/conf.d/clock: line 8: ---: command not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-01 11:22 UTC by Fernando Villareal
Modified: 2007-01-04 08:32 UTC (History)
0 users

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


Attachments
bash -x /sbin/runscript.sh /etc/init.d/clock status >& log (log,26.98 KB, text/plain)
2007-01-03 23:32 UTC, Fernando Villareal
Details
clock file (clock,2.98 KB, text/plain)
2007-01-03 23:37 UTC, Fernando Villareal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando Villareal 2007-01-01 11:22:19 UTC
Portage 2.1.2_rc4-r4 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.19-suspend2-r1 i686)
=================================================================
System uname: 2.6.19-suspend2-r1 i686 mobile AMD Athlon(tm) XP2200+
Gentoo Base System version 1.12.8
Last Sync: Mon, 01 Jan 2007 18:30:06 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/mnt/nfs_portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="es_MX"
LINGUAS="en es"
MAKEOPTS="-j6"
PKGDIR="/mnt/nfs_portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/mnt/nfs_portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acpi aiglx alsa bash-completion berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus directfb dlloader dri dvd dvdr eds emboss encode fam fbcon firefox fortran gdbm gecko-sdk gif gnome gpm gstreamer gtk gtk2 hal howl iconv ipv6 isdnlog jpeg ldap libg++ mad mikmod mmx mmxext mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session spell spl sse ssl tcpd truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard synaptics mouse" KERNEL="linux" LINGUAS="en es" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-01 11:27:40 UTC
Cool; reopen once you've actually posted some description, such as when this happens, how to reproduce it and what's on line 8 of your /etc/conf.d/clock file.
Comment 2 Fernando Villareal 2007-01-02 11:48:40 UTC
The message appears everytime the file /etc/init.d/clock is executed, at boot time or when it is shutting down, also if I stop or restart the service the message appears, the file is the same to my other computer, I've updated the system on sunday but this issue wasn't resolved.
------------------
#!/sbin/runscript
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

opts="save"

depend() {
        need localmount    ##<<-- This is line 8
}

setupopts() {
----------------

Sorry for not putting the description earlier.
Comment 3 SpanKY gentoo-dev 2007-01-02 18:40:24 UTC
if you run these commands, which show errors ?

# depscan.sh
# /etc/init.d/clock status
# /etc/init.d/clock pause start
Comment 4 Fernando Villareal 2007-01-03 00:38:46 UTC
(In reply to comment #3)
> if you run these commands, which show errors ?
> 
> # depscan.sh
> # /etc/init.d/clock status
> # /etc/init.d/clock pause start
> 

pavilion ivan # depscan.sh 
pavilion ivan # /etc/init.d/clock status
/etc/conf.d/clock: line 8: ---: command not found
 * status:  started
pavilion ivan # /etc/init.d/clock pause start
/etc/conf.d/clock: line 8: ---: command not found
 * WARNING:  you are stopping a boot service.
 * Setting system clock using the hardware clock [Local Time] ...         [ ok ]
Comment 5 SpanKY gentoo-dev 2007-01-03 01:51:07 UTC
ok, so please run:
bash -x /sbin/runscript.sh /etc/init.d/clock status >& log

and then post the log as an attachment
Comment 6 Roy Marples (RETIRED) gentoo-dev 2007-01-03 03:30:39 UTC
Also, attach /etc/conf.d/clock to this bug - thanks
Comment 7 Fernando Villareal 2007-01-03 23:32:41 UTC
Created attachment 105353 [details]
bash -x /sbin/runscript.sh /etc/init.d/clock status >& log
Comment 8 Fernando Villareal 2007-01-03 23:37:18 UTC
Created attachment 105354 [details]
clock file
Comment 9 Roy Marples (RETIRED) gentoo-dev 2007-01-03 23:51:13 UTC
(In reply to comment #8)
> Created an attachment (id=105354) [edit]
> clock file
> 

That is quite clearly /etc/init.d/clock
I asked for /etc/conf.d/clock

If it really is /etc/conf.d/clock then I suggest you example all conf.d files that look like that, make a note of all packages that own them, remove the files and re-emerge the packages.
Comment 10 SpanKY gentoo-dev 2007-01-04 00:05:47 UTC
+ source /etc/conf.d/clock
++ --- /etc/conf.d/clock 8
/etc/conf.d/clock: line 8: ---: command not found
++ CLOCK=local

yeah looks like your /etc/conf.d/clock is broken
Comment 11 Fernando Villareal 2007-01-04 08:32:43 UTC
(In reply to comment #10)
> + source /etc/conf.d/clock
> ++ --- /etc/conf.d/clock 8
> /etc/conf.d/clock: line 8: ---: command not found
> ++ CLOCK=local
> 
> yeah looks like your /etc/conf.d/clock is broken
> 

yes it is broken, I will check later for more files in /etc/conf.d/

Thank You