#3 install fails

closed-fixed
Florin Malita
None
5
2002-09-07
2002-08-06
Steve Grecni
No

Well since I can't get it all compiled due to my older
gcc version. I can't paste the exact install issue.

But the problem was (when I compiled with gcc 3.1.1)
that I don't have the "chkconfig" command that's called
on line 114-115, 126 of lufs/Makefile.

I also don't have the "service" command that's on line
119,124 of the same file.

Are these redhat utilities or what?

Discussion

  • Florin Malita
    Florin Malita
    2002-08-08

    • assigned_to: nobody --> mali
     
  • Florin Malita
    Florin Malita
    2002-08-08

    Logged In: YES
    user_id=154306

    Yup, guess you're right.
    Please check the new release, it should fix this problem.

    Take care,
    Florin

     
  • Steve Grecni
    Steve Grecni
    2002-08-11

    Logged In: YES
    user_id=134032

    getting there... now it bails out on useradd if the user
    already exists:

    useradd -g nobody -s /bin/sh -c "LUFS user" lufs
    useradd: user lufs exists
    make[1]: *** [install] Error 9
    make[1]: Leaving directory `/usr/src/lufs-0.4.1/lufsd'
    make: *** [install] Error 2

    but if the user doesn't exist, then the homedir is not
    specified, so /home/lufs isn't created and therefore sshfs
    doesn't work.

    Also on the start up script I get this error:

    pimpbot:/usr/src/lufs-0.4.1# /etc/init.d/lufs status
    /etc/init.d/lufs: line 12: /etc/rc.d/init.d/functions: No
    such file or directory
    /etc/init.d/lufs: line 32: status: command not found

    The "functions" file does not exist, and hence the "daemon"
    command in the lufs script won't work. I can try finding
    creating a more cross platform startup script if you want,
    as that's something that I actually can do... :) just say
    the word if you do

    Also, I don't have the "killproc" command.

     
  • Florin Malita
    Florin Malita
    2002-08-12

    Logged In: YES
    user_id=154306

    Arghhh...
    Does anybody know a portable way of installing daemons?

     
  • Steve Grecni
    Steve Grecni
    2002-08-15

    Logged In: YES
    user_id=134032

    It looks like most of the install issues have been worked
    out ( or at least hacked to work for the time being) but in
    lufsd/Makefile line 122 "ln -s ../init.d/lufs
    /etc/rc3.d/S$(LEVEL)lufs" fails if the target already exists
    (causing the make to error out).

    ln -sf is probably in order.

    -------- example ---
    keys already generated
    ln -s ../init.d/lufs /etc/rc3.d/S91lufs
    ln: `/etc/rc3.d/S91lufs': File exists
    make: *** [install] Error 1
    pimpbot:/usr/src/lufs-0.5.0/lufsd#

     
  • Florin Malita
    Florin Malita
    2002-09-07

    • status: open --> closed-fixed