Find the answer to your Linux question:
Results 1 to 4 of 4
I did emerge -u world and after it was done I was told to run etc-update to update some configuration files. So I did that with the -3 option. This ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242

    syntax errors


    I did emerge -u world and after it was done I was told to run etc-update to update some configuration files.
    So I did that with the -3 option. This has always worked before.
    Then I had to reboot so I could work on Smgl, when I booted back into Gentoo, many of my configuration files were messed up.
    The only t2 that I could not fix were
    /lib/rcscripts/sh/rc-daemon.sh
    /etc/init.d/net.eth0

    They both had syntax errors in them.
    For a temporary fix I just put # in front of the offending lines.
    And now I am able to get online.
    My question is, will this work after I do my next emerge -u world, or should I actually correct the syntax errors in there.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  2. #2
    Linux Engineer psic's Avatar
    Join Date
    Nov 2004
    Location
    Ljubljana, Slovenia
    Posts
    1,205
    I always check the differences between the old and the new files, and leave old files if I've got any custom settings. My advice would be to do this the next time you run etc-update. For more info (as well as proper usage of etc-update), check the wiki:
    http://gentoo-wiki.com/HOWTO_etc-update
    Stumbling around the 'net:
    www.cloudyuseful.com

  3. #3
    Linux Newbie
    Join Date
    Mar 2005
    Location
    Minneapolis, MN
    Posts
    112
    When I etc-update, I read the entire list (I do it whenever it tells me, usually it's one or two files). I manually check the ones that I have edited previously, and then I do not replace them with the new files.
    --Dachnaz [Fuzzy Llama]

  4. #4
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    The 2 files in question, I have not edited.

    I have done this many times, even using the -3 option and letting it update these 2 files.

    That is what is so mysterious about this, and it didn't just change it to some default configuration, there were syntax errors in there.

    I am used to having to put my /etc/conf.d/clock and /etc/rc.conf back the way I want them, it is just that these syntax errors have me mystified.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •