Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2490 - emerge fcron doesn't create /var/spool/cron/fcrontabs
Summary: emerge fcron doesn't create /var/spool/cron/fcrontabs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Thilo Bangert (RETIRED) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-06 08:31 UTC by Spider (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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 Spider (RETIRED) gentoo-dev 2002-05-06 08:31:36 UTC
its a fairly simple issue:
wipe /var/spool/cron/* (touch .keep again ;)
$emerge -C cronbase fcron vcron dcron
$emerge fcron
$crontab /etc/crontab 

and it will whine about:
15:27:11 Could not chdir to /var/spool/cron/fcrontabs: No such file or directory

$mkdir /var/spool/cron/fcrontabs
$crontab /etc/crontab 

15:27:21 installing file /etc/crontab for user root
Modifications will be taken into account right now.

is it only to add a dodir /var/spool/cron/fcrontabs here, or is it something
else? I'm not sure about permissions either, thats why I leave it up to you ;)
Comment 1 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2002-05-10 17:44:41 UTC
i can't seem to reproduce this error...  
 
doing as you did works perfectly on my system 
 
there is a dodir - with the right permissions, so that can't  
be the problem.  
  
however, you could have encountered another error, which 
occurs when you remerge fcron and there aren't any crontabs 
installed yet - this will be fixed as soon as we have portage 
wide keepdir support 
 
  
Comment 2 Spider (RETIRED) gentoo-dev 2002-05-11 17:35:54 UTC
okies, I'm closing this one down then.