hi,

it's quite a while since i had to setup a new openpkg instance.

my old bootstrap scripts (written for openpkg 2.5) fail, but i can't
see, what has changed since then and how to do things now. hope someone
can can give me an hint:

(1) the regular bootstrap works like a charm; since "openpkg build" is
now part of the core, no need to download any rpms anymore.

(2) next i try to install the sudo package as root with

        openpkg build -N "-su - OPKGUSR -c" sudo | sh

back in 2.5 this worked fine; with CURRENT i run into several problems:

- although i call this as root, i'm forced to enter a password for user
OPKGUSR; before i never gave my managing users a password; instead i su
from root; now i have to define one and enter the password multiple
times within this call, which is very annoying; especially if you make a
typo and have to start all over again.

- the generated shell script of openpkg build has syntax-errors; it
misses line-breaks after the ending quotes of the "su" commands

- adding these linebreaks by hand and calling the script starts the
download and build of sudo; unfortunately the build exits with an linker
error:

cc -o sudo check.o env.o getspwuid.o gettime.o goodpath.o fileops.o
find_path.o interfaces.o logging.o parse.o set_perms.o sudo.o
sudo_edit.o tgetpass.o zero_bytes.o  sudo_auth.o passwd.o sudo.tab.o
lex.yy.o alloc.o defaults.o strlcpy.o strlcat.o closefrom.o
-L/opt/svn/lib -lfsl -lnsl -lpam -ldl -lcrypt
/usr/bin/ld: cannot find -lpam


i have no pam installed on my debian 3.1 box. this had not been a
problem with 2.5;   and since with_pam defaults to no i would expect
sudo to work without pam too.

any chance to install openpkg / sudo on my box?

thanks in advance,
        andi




______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to