Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Minor annoyance with vixie-cron and vcron...
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
TRx
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jul 2003
Posts: 126
Location: Madrid, Spain

PostPosted: Sun Mar 28, 2004 11:11 am    Post subject: Reply with quote

chocoba65 wrote:
I forget exactly what I had to do to get mine to work, but try this (may not be in correct order):
Code:
emerge unmerge vcron
emerge vixie-cron
rm /etc/init.d/vcron
depscan.sh
rc-update del vcron
rc-update del vixie-cron
rc-update add vixie-cron default


This fixed my vcron problem too. Thx :)
_________________
GNU/Linux registered user #333828
Back to top
View user's profile Send private message
Nekkrist
n00b
n00b


Joined: 09 Oct 2003
Posts: 33

PostPosted: Sun Mar 28, 2004 12:05 pm    Post subject: Zombie Files Reply with quote

Since there no longer is a "vcron" in portage, and as such it can't really be unmerged, are there zombie vcron files out there that a fix such as "'rm /etc/init.d/vcron" won't take care of?

Or was it simply a lack of the vixie-cron ebuild functionality that when /etc/init.d/vixie-cron was created, /etc/init.d/vcron was not deleted (or better, marked for merging with /etc/init.d/vixie-cron)?
Back to top
View user's profile Send private message
EddiE314
n00b
n00b


Joined: 30 Jun 2003
Posts: 22
Location: Berkeley Springs, WV, USA

PostPosted: Tue Mar 30, 2004 6:06 pm    Post subject: Reply with quote

fixed it here. thanks!
Back to top
View user's profile Send private message
zeek
Guru
Guru


Joined: 16 Nov 2002
Posts: 480
Location: Bantayan Island

PostPosted: Thu Apr 01, 2004 5:54 am    Post subject: Re: Zombie Files Reply with quote

Nekkrist wrote:
Or was it simply a lack of the vixie-cron ebuild functionality that when /etc/init.d/vixie-cron was created, /etc/init.d/vcron was not deleted (or better, marked for merging with /etc/init.d/vixie-cron)?

Yes, that created the problem (not removing the vcron startup script).

ebuilds changing existing files in /etc is considered verboten. Actually it is the directories specified in CONFIG_PROTECT.
Back to top
View user's profile Send private message
schoett
n00b
n00b


Joined: 26 Jan 2003
Posts: 63

PostPosted: Sat Apr 03, 2004 12:44 pm    Post subject: Re: Zombie Files Reply with quote

zeek wrote:
ebuilds changing existing files in /etc is considered verboten. Actually it is the directories specified in CONFIG_PROTECT.

That seems a bad design decision by gentoo. The way Debian does it appears superior to me: remember checksums of the config files installed by each package and only protect those changed by the user.

For example, I have 1188 files under /etc, but only 43 of these were ever changed by me. The rest is cruft that packages need to work but that has nothing to do with me. There is no loss to me when packages remove or replace such unchanged files. On the contrary, gentoo's way on making a fuss about every file under /etc is a nuisance - it should focus its attention on the 43 files I actually care about.

The present vcron problem would not have occurred with the Debian system, because for the 99,9...% of users that did *not* edit the vcron startup file (/etc/init.d/vcron), the package mechanism would remove it automatically. Those few that *did* edit it would receive a "warning: not removing modified config file /etc/init.d/vcron", which would make the cause of the subsequent problem obvious.
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Sat Apr 03, 2004 2:11 pm    Post subject: Reply with quote

There is a script which automatically updates config files which haven't been modified here:

https://forums.gentoo.org/viewtopic.php?t=13390
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
ixion
l33t
l33t


Joined: 16 Dec 2002
Posts: 708

PostPosted: Sat Apr 10, 2004 2:10 pm    Post subject: Reply with quote

chocoba65's solution worked here as well, thanks!! :D

I love these forums.. :)
_________________
only the paranoid survive
Back to top
View user's profile Send private message
MBMarduk
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jan 2003
Posts: 80
Location: NL

PostPosted: Mon Apr 12, 2004 8:11 pm    Post subject: Reply with quote

After having followed the suggested fix previously posted in this thread to get rid of the constant vcron warnings today I got this:
Quote:

blackheart etc # /etc/init.d/dnsmasq restart
* Stopping dnsmasq... [ ok ]
* Starting dnsmasq... [ ok ]
cat: /etc/init.d/vcron: No such file or directory
* ERROR: "/etc/init.d/vcron" has syntax errors in it; not executing...
blackheart etc #

There IS no "/etc/init.d/vcron" anymore... So I guess the "fix" isn't yet 100% ??
I just symlinked vcron and vixie-cron:
Quote:

blackheart init.d # ln -s /etc/init.d/vixie-cron /etc/init.d/vcron
Back to top
View user's profile Send private message
zeek
Guru
Guru


Joined: 16 Nov 2002
Posts: 480
Location: Bantayan Island

PostPosted: Tue Apr 13, 2004 7:18 am    Post subject: Reply with quote

MBMarduk wrote:

blackheart etc # /etc/init.d/dnsmasq restart
* Stopping dnsmasq... [ ok ]
* Starting dnsmasq... [ ok ]
cat: /etc/init.d/vcron: No such file or directory
* ERROR: "/etc/init.d/vcron" has syntax errors in it; not executing...
blackheart etc #


Try
Code:
rc-update del vcron
Back to top
View user's profile Send private message
MBMarduk
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jan 2003
Posts: 80
Location: NL

PostPosted: Tue Apr 13, 2004 9:11 am    Post subject: Reply with quote

Hehehe...
Quote:

blackheart init.d # rc-update del vcron
* vcron not found in any of the specified runlevels.
blackheart init.d #


rc-status shows vixie-cron is OFF ... no idea when this happened or exactly why but this situation friggin' SUX!

Restarting
Back to top
View user's profile Send private message
Dalrain
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jul 2002
Posts: 136
Location: Wooster, OH USA

PostPosted: Sat Apr 17, 2004 10:33 pm    Post subject: Reply with quote

I'm still getting this wacky bug, even after removing init.d/vcron (Or more factually, moving it to test the solution)
Code:

* Bringing eth0 down
 *   Removing inet6 addresses
 *     eth0 inet6 del xxxxxxxxxxxxxxx/64...                      [ ok ]
 *   Releasing DHCP lease for eth0...                                     [ ok ]
 *   Stopping eth0...                                                     [ ok ]
 * Bringing eth0 up via DHCP...                                           [ ok ]
 *   eth0 received address xxx.xxx.xxx.xxx
cat: /etc/init.d/vcron: No such file or directory
 * ERROR:  "/etc/init.d/vcron" has syntax errors in it; not executing...


Ok, so that was no go...I moved vcron back into /etc/init.d, and tried the unmerge....

Code:

seclusion init.d # mv vcron.init vcron
seclusion init.d # emerge unmerge vcron

--- Couldn't find vcron to unmerge.

>>> unmerge: No packages selected for removal.


Uhh...ok, not so good, then I checked just to be sure...

Code:

seclusion init.d # rc-update del vcron
 * vcron not found in any of the specified runlevels.


Also gone....my system is definitely still looking for vcron for some unknown reason anyway, any ideas/help would be appreciated.
Back to top
View user's profile Send private message
robaton
n00b
n00b


Joined: 12 Sep 2003
Posts: 20

PostPosted: Sat Apr 24, 2004 4:32 pm    Post subject: Reply with quote

Great thread.

Now, if I can get my other questions answered, then right on Gentoo!
Back to top
View user's profile Send private message
RemcoNL
Apprentice
Apprentice


Joined: 30 Nov 2003
Posts: 178
Location: Leiden, The Netherlands

PostPosted: Wed May 05, 2004 8:45 am    Post subject: Reply with quote

Thanks for the tips! I wasn't even searching for a solution, but when I saw this thread, I found it anyway :D
I think
Code:
rm /etc/init.d/vcron
was what did the trick for me.
_________________
Use Compact Flash cards as a silent IDE hard drive
Back to top
View user's profile Send private message
mbobak
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2003
Posts: 106
Location: Ann Arbor, MI

PostPosted: Sun May 09, 2004 4:49 pm    Post subject: Thanks! Reply with quote

I've had this annoying problem for months!

I finally decided to try and fix it. This solution worked
perfectly.

-Mark
Back to top
View user's profile Send private message
dontremember
Apprentice
Apprentice


Joined: 21 Sep 2002
Posts: 151
Location: Oklahoma

PostPosted: Fri May 21, 2004 7:20 am    Post subject: Reply with quote

RemcoNL wrote:
Thanks for the tips! I wasn't even searching for a solution, but when I saw this thread, I found it anyway :D
I think
Code:
rm /etc/init.d/vcron
was what did the trick for me.


For instant gratification, do a depscan.sh as well:
Code:
rm /etc/init.d/vcron
depscan.sh

Saves having to reboot to see that it worked.
Back to top
View user's profile Send private message
zeek
Guru
Guru


Joined: 16 Nov 2002
Posts: 480
Location: Bantayan Island

PostPosted: Sun May 23, 2004 5:33 am    Post subject: Reply with quote

Dalrain wrote:
I'm still getting this wacky bug, even after removing init.d/vcron (Or more factually, moving it to test the solution)
Code:

* Bringing eth0 down
 *   Removing inet6 addresses
 *     eth0 inet6 del xxxxxxxxxxxxxxx/64...                      [ ok ]
 *   Releasing DHCP lease for eth0...                                     [ ok ]
 *   Stopping eth0...                                                     [ ok ]
 * Bringing eth0 up via DHCP...                                           [ ok ]
 *   eth0 received address xxx.xxx.xxx.xxx
cat: /etc/init.d/vcron: No such file or directory
 * ERROR:  "/etc/init.d/vcron" has syntax errors in it; not executing...



If you already rm'd the /etc/init.d/vcron, look for a symlink at /etc/runlevels/default/vcron

Otherwise, please post the output of rc-update show.
Back to top
View user's profile Send private message
art59ist
n00b
n00b


Joined: 10 Jun 2004
Posts: 1
Location: plattsburgh, ny usa

PostPosted: Thu Jun 10, 2004 1:15 am    Post subject: ok.... Reply with quote

i tried that....thanks for the info...james
Back to top
View user's profile Send private message
zeek
Guru
Guru


Joined: 16 Nov 2002
Posts: 480
Location: Bantayan Island

PostPosted: Thu Jun 10, 2004 5:49 am    Post subject: Re: ok.... Reply with quote

art59ist wrote:
i tried that....thanks for the info...james


Attention mods! The above post is only here to get hits to the website in the .sig.

Please delete the post by art59ist.
Back to top
View user's profile Send private message
Corona688
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1204

PostPosted: Sat Jun 19, 2004 6:02 am    Post subject: Re: Zombie Files Reply with quote

schoett wrote:
The rest is cruft that packages need to work but that has nothing to do with me. There is no loss to me when packages remove or replace such unchanged files. On the contrary, gentoo's way on making a fuss about every file under /etc is a nuisance - it should focus its attention on the 43 files I actually care about.
Just because you haven't modified a config file doesn't mean it's not in use, and/or won't break if it's modified carelessly. A clever diff system of some sort might be useful, but would be extraordinarly complex and probably hard to use... gentoo's system works for me.

Albeit I wasn't too happy when emerge dumped 200+ config files to replace by hand when I moved to xorg, but I much prefer that to it hosing my X configuration.
_________________
Petition for Better 64-bit ATI Drivers - Sign Here
http://www.petitiononline.com/atipet/petition.html
Back to top
View user's profile Send private message
imsdunn
n00b
n00b


Joined: 06 Sep 2003
Posts: 19

PostPosted: Tue Jun 22, 2004 4:24 pm    Post subject: Reply with quote

I just experienced the problem last week as a result of updating my system/packages. I followed the following code and it worked. I got an error trying to unmerge vcron, but just kept following the code given and all worked well once I finished and then restarted the computer.

Quote:
chocoba65 wrote:


I forget exactly what I had to do to get mine to work, but try this (may not be in correct order):

Code:


emerge unmerge vcron
emerge vixie-cron
rm /etc/init.d/vcron
depscan.sh
rc-update del vcron
rc-update del vixie-cron
rc-update add vixie-cron default



Thanks for the help and the post!
_________________
---------------------
s.dunn
Back to top
View user's profile Send private message
orionrobots
Apprentice
Apprentice


Joined: 07 Oct 2003
Posts: 289
Location: London, Uk

PostPosted: Tue Jun 29, 2004 10:24 am    Post subject: Reply with quote

This had me going for a few days - but the solution above worked - although I did not need to unmerge the package.

depscan.sh could do with a manpage - so we can better understand its uses. Or even just an entry in man portage would help.

Orion
_________________
Danny Staple, curator of http://orionrobots.co.uk
Adopt an unanswered post initiative https://forums.gentoo.org/search.php?search_id=unanswered
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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