Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 2490

Summary: emerge fcron doesn't create /var/spool/cron/fcrontabs
Product: Gentoo Linux Reporter: Spider (RETIRED) <spider>
Component: [OLD] Core systemAssignee: Thilo Bangert (RETIRED) (RETIRED) <bangert>
Status: RESOLVED FIXED    
Severity: minor CC: spider
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.