Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53418 - The default crontab does not get installed to /etc/crontab .
Summary: The default crontab does not get installed to /etc/crontab .
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-09 08:40 UTC by Kelly
Modified: 2004-06-09 11:33 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 Kelly 2004-06-09 08:41:00 UTC
I just did a fresh stage1 install. In the post 'emerge system' stage, after emerging fcron, it says I need to run 'crontab /etc/crontab'. The problem is that /etc/crontab does not exist after emerging fcron. I checked out the fcron ebuild file and noticed a mistake in the path to the source crontab.


Reproducible: Always
Steps to Reproduce:
1.Emerge fcron on a freshly installed Gentoo system.
2.Run 'crontab /etc/crontab' as root.


Actual Results:  
kingkong linux-2.6.5-gentoo-r1 # crontab /etc/crontab
17:01:21 installing file /etc/crontab for user root
17:01:21 User root can't read file "/etc/crontab": No such file or directory


Expected Results:  
Succes!

Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.26-mod1)
=================================================================
System uname: 2.4.26-mod1 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/gentoo/
http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gnome gpm gtk
gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses
nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl
slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-06-09 11:05:06 UTC
hmm, it looks to me like it installs the crontab correctly.  Wacha think, spanky?
Comment 2 SpanKY gentoo-dev 2004-06-09 11:33:26 UTC
fcron-2.0.0-r4 has the wrong path ... but 2.9.4 does not ...

must have missed it when i was updating fcron a while back ... fixed in cvs, thanks