View previous topic :: View next topic |
Author |
Message |
TRx Tux's lil' helper
Joined: 27 Jul 2003 Posts: 126 Location: Madrid, Spain
|
Posted: Sun Mar 28, 2004 11:11 am Post subject: |
|
|
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 |
|
|
Nekkrist n00b
Joined: 09 Oct 2003 Posts: 33
|
Posted: Sun Mar 28, 2004 12:05 pm Post subject: Zombie Files |
|
|
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 |
|
|
EddiE314 n00b
Joined: 30 Jun 2003 Posts: 22 Location: Berkeley Springs, WV, USA
|
Posted: Tue Mar 30, 2004 6:06 pm Post subject: |
|
|
fixed it here. thanks! |
|
Back to top |
|
|
zeek Guru
Joined: 16 Nov 2002 Posts: 480 Location: Bantayan Island
|
Posted: Thu Apr 01, 2004 5:54 am Post subject: Re: Zombie Files |
|
|
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 |
|
|
schoett n00b
Joined: 26 Jan 2003 Posts: 63
|
Posted: Sat Apr 03, 2004 12:44 pm Post subject: Re: Zombie Files |
|
|
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 |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
|
Back to top |
|
|
ixion l33t
Joined: 16 Dec 2002 Posts: 708
|
Posted: Sat Apr 10, 2004 2:10 pm Post subject: |
|
|
chocoba65's solution worked here as well, thanks!!
I love these forums.. _________________ only the paranoid survive |
|
Back to top |
|
|
MBMarduk Tux's lil' helper
Joined: 04 Jan 2003 Posts: 80 Location: NL
|
Posted: Mon Apr 12, 2004 8:11 pm Post subject: |
|
|
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 |
|
|
zeek Guru
Joined: 16 Nov 2002 Posts: 480 Location: Bantayan Island
|
Posted: Tue Apr 13, 2004 7:18 am Post subject: |
|
|
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 |
|
|
MBMarduk Tux's lil' helper
Joined: 04 Jan 2003 Posts: 80 Location: NL
|
Posted: Tue Apr 13, 2004 9:11 am Post subject: |
|
|
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 |
|
|
Dalrain Tux's lil' helper
Joined: 02 Jul 2002 Posts: 136 Location: Wooster, OH USA
|
Posted: Sat Apr 17, 2004 10:33 pm Post subject: |
|
|
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 |
|
|
robaton n00b
Joined: 12 Sep 2003 Posts: 20
|
Posted: Sat Apr 24, 2004 4:32 pm Post subject: |
|
|
Great thread.
Now, if I can get my other questions answered, then right on Gentoo! |
|
Back to top |
|
|
RemcoNL Apprentice
Joined: 30 Nov 2003 Posts: 178 Location: Leiden, The Netherlands
|
Posted: Wed May 05, 2004 8:45 am Post subject: |
|
|
Thanks for the tips! I wasn't even searching for a solution, but when I saw this thread, I found it anyway
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 |
|
|
mbobak Tux's lil' helper
Joined: 24 Feb 2003 Posts: 106 Location: Ann Arbor, MI
|
Posted: Sun May 09, 2004 4:49 pm Post subject: Thanks! |
|
|
I've had this annoying problem for months!
I finally decided to try and fix it. This solution worked
perfectly.
-Mark |
|
Back to top |
|
|
dontremember Apprentice
Joined: 21 Sep 2002 Posts: 151 Location: Oklahoma
|
Posted: Fri May 21, 2004 7:20 am Post subject: |
|
|
RemcoNL wrote: | Thanks for the tips! I wasn't even searching for a solution, but when I saw this thread, I found it anyway
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 |
|
|
zeek Guru
Joined: 16 Nov 2002 Posts: 480 Location: Bantayan Island
|
Posted: Sun May 23, 2004 5:33 am Post subject: |
|
|
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 |
|
|
art59ist n00b
Joined: 10 Jun 2004 Posts: 1 Location: plattsburgh, ny usa
|
Posted: Thu Jun 10, 2004 1:15 am Post subject: ok.... |
|
|
i tried that....thanks for the info...james |
|
Back to top |
|
|
zeek Guru
Joined: 16 Nov 2002 Posts: 480 Location: Bantayan Island
|
Posted: Thu Jun 10, 2004 5:49 am Post subject: Re: ok.... |
|
|
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 |
|
|
Corona688 Veteran
Joined: 10 Jan 2004 Posts: 1204
|
Posted: Sat Jun 19, 2004 6:02 am Post subject: Re: Zombie Files |
|
|
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 |
|
|
imsdunn n00b
Joined: 06 Sep 2003 Posts: 19
|
Posted: Tue Jun 22, 2004 4:24 pm Post subject: |
|
|
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 |
|
|
orionrobots Apprentice
Joined: 07 Oct 2003 Posts: 289 Location: London, Uk
|
Posted: Tue Jun 29, 2004 10:24 am Post subject: |
|
|
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 |
|
|
|