Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge vixie-cron fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
nss
Guru
Guru


Joined: 04 Oct 2004
Posts: 389

PostPosted: Mon Apr 17, 2006 8:26 pm    Post subject: emerge vixie-cron fails Reply with quote

Almost finished with the install and vixie-cron emerge fails. I have no idea why. Could someone please help? See code below:
Code:
>>> Test phae [not enabled]: sys-process/vixie-cron-4.1-r8

>>> Install vixie-cron-4.1-r8 into /var/tmp/portage/vixie-cron-4.1-r8/image/ category sys-process
install: invalid group `cron'
touch: cannot touch `/var/tmp/portage/vixie-cron-4.1-r8/image///var/spool/cron/crontabs/.keep': No such file or directory

!!! ERROR: sys-process/vixie-cron-4.1-r8 failed.
!!! Function keepdir, Line 352, Exitcode 1
!!! Failed to create .keep in /var/tmp/portage/vixie-cron-4.1-r8/image///var/spool/cron/crontabs
!!! If you need support,  post the topmost build error, NOT this status message

_________________
gentoo good to be true
Back to top
View user's profile Send private message
mars-red
Apprentice
Apprentice


Joined: 15 Sep 2004
Posts: 204
Location: New Hampshire

PostPosted: Mon Apr 17, 2006 9:06 pm    Post subject: Reply with quote

I know you have probably already done this, but just for the sake of troubleshooting - did you remember to do an emerge --sync at some point after chrooting into your installed environment? If not, then do that and emerge everything again - hopefully problem goes away. If you're already sync'd, then read on.

Next, I wonder if that error about the cron group is what's causing the error thrown by touch. I guess the right way to troubleshoot is to start at the top, so perhaps verify whether or not the cron group exists on this system (my apologies if you already know how to do this - I don't mean to offend):
Code:
cat /etc/group|grep cron

If you have the cron group you'll get a line of output similar to
Code:
cron:x:16:

If it gives no output then the group does not exist and we would have to wonder why. I have never had to manually add the cron group and I do not know if it is normally done by the baselayout package or by the vixie-cron package itself.

If you do not have the group, then something apparently didn't do it's job somewhere... but you can manually add it anyway. If that's the case and you need info on how to manually add a group then just let me know and I'll be happy to assist.

If you do have the group then I'd say that version of the vixie-cron ebuild may have a problem - so I would suggest, in that case, to start trying to explicitly merge older versions and see if any of them work.
_________________
my wrench blog: http://www.digitaldownpour.com/blog
Back to top
View user's profile Send private message
nss
Guru
Guru


Joined: 04 Oct 2004
Posts: 389

PostPosted: Mon Apr 17, 2006 9:30 pm    Post subject: Reply with quote

Thanks for yor reply. Don't worry about offending me. Any positive advice is welcome. Following your suggestion, it appears I do not have a cron group. Hmmmm... this makes me a bit concerned about the integrity of the rest of the installation. What do you recommend?
_________________
gentoo good to be true
Back to top
View user's profile Send private message
cybermonkey
Apprentice
Apprentice


Joined: 11 Aug 2003
Posts: 194

PostPosted: Mon Apr 17, 2006 10:57 pm    Post subject: Reply with quote

bobotoes wrote:
Thanks for yor reply. Don't worry about offending me. Any positive advice is welcome. Following your suggestion, it appears I do not have a cron group. Hmmmm... this makes me a bit concerned about the integrity of the rest of the installation. What do you recommend?


the rest of the install will be fine, Who ever did the stage's left some groups out. If you want to play games or use plugdev you'll need to add those aswell
Code:
groupadd games
etc.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum