!m
> From [EMAIL PROTECTED] Wed Jan  7 14:44:35 2004
> Date: Wed, 7 Jan 2004 23:11:37 +0100
> From: "Thomas Bork" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: LPRng: 3.8.24 and run.515
>
> Hi,
>
> I'm configured 3.8.24 with
>
> --with-lockfile=/var/run
>
> Complete options:
>
> ./configure \
> --with-libiconv-prefix=no \
> --with-included-gettext \
> --without-libintl-prefix \
> --with-openssl=no \
> --without-openssl-inc \
> --without-openssl-lib \
> --with-ssl_ca_file=no \
> --with-ssl_ca_key=no \
> --with-ssl_certs_dir=no \
> --with-ssl_crl_file=no \
> --with-ssl_server_cert=no \
> --with-ssl_server_password_file=no \
> --disable-setuid \
> --without-libiconv-prefix \
> --target=i486-pc-linux-gnu \
> --prefix=/usr \
> --sysconfdir=/etc \
> --libexecdir=/usr/lib \
> --disable-kerberos \
> --disable-mit_kerberos4 \
> --disable-kerberos_checks \
> --disable-nls \
> --disable-ssl \
> --with-lpd_conf_path=/etc/lpd.conf \
> --with-lpd_perms_path=/etc/lpd.perms \
> --with-initpath=no \
> --with-lockfile=/var/run \
> --with-userid=lp \
> --with-groupid=lp \
> --with-done_jobs=0
>
> But every start a file run.515 is created. Is this the normal behaviour? I thought, 
> that all lockfiles will be in /var/run due configure options?
>
> Best regards
> tom
> ______________________________________________________________________________
> Erdbeben im Iran: Zehntausende Kinder brauchen Hilfe. UNICEF hilft den
> Kindern - helfen Sie mit! https://www.unicef.de/spe/spe_03.php

a) What is the full path to the file?
b) What does /etc/lpd/lpd.conf (/.../LPRng-<version>/src/lpd.conf at compile
   time) show for the lockfile location?

# Purpose: lpd lock file
#   default lockfile= /var/run/lpd  (STRING)
# Purpose: where to send status information for logging

c) Look in /.../LPRng/src/Makefile for defs.h:

defs.h: Makefile
        cp /dev/null $@
        echo "#define " CHOWN \"/usr/sbin/chown\" >>$@
        echo "#define " CHGRP \"/usr/bin/chgrp\" >>$@
        echo "#define " PRINTCAP_PATH \"${sysconfdir}/printcap\" >>$@
        echo "#define " LPD_PRINTCAP_PATH \"${sysconfdir}/lpd/lpd_printcap\" >>$@
        echo "#define " LPD_PERMS_PATH \"${sysconfdir}/lpd/lpd.perms\" >>$@
        echo "#define " LPD_CONF_PATH \"${sysconfdir}/lpd/lpd.conf\" >>$@
        echo "#define " REQUIRE_CONFIGFILES \"1\" >>$@
        echo "#define " FILTER_PATH \"/bin:/usr/bin:/usr/local/bin\" >>$@
        echo "#define " LD_LIBRARY_PATH \"/lib:/usr/lib:/usr/local/lib\" >>$@
        echo "#define " LOCKFILE \"/var/run/lpd\" >>$@          
<<<<<<<<<<<<<<<<<<<<<<<<<<< here
        echo "#define " CLEAR \"/usr/bin/clear\" >>$@
        echo "#define " USERID \"daemon\" >>$@
        echo "#define " GROUPID \"daemon\" >>$@
        echo "#define " LOCALEDIR \"${prefix}/share/locale\" >>$@
        echo "#define " DONE_JOBS \"1\" >>$@
        echo "#define " DONE_JOBS_MAX_AGE \"0\" >>$@
        echo "#define " UNIXSOCKETPATH \"/var/run/lprng\" >>$@
        echo "#define " PRUTIL \"/usr/bin/pr\" >>$@
        echo "#define " OPENSSL \"/usr/bin/openssl\" >>$@
        echo "#define " SSL_CA_FILE \"${sysconfdir}/lpd/ssl.ca/ca.crt\" >>$@
        echo "#define " SSL_CA_KEY \"${sysconfdir}/lpd/ssl.ca/ca.key\" >>$@
        echo "#define " SSL_CRL_FILE \"${sysconfdir}/lpd/ssl.crl/ssl.crl\" >>$@
        echo "#define " SSL_CERTS_DIR \"${sysconfdir}/lpd/ssl.certs\" >>$@
        echo "#define " SSL_SERVER_CERT \"${sysconfdir}/lpd/ssl.server/server.crt\" 
>>$@
        echo "#define " SSL_SERVER_PASSWORD_FILE 
\"${sysconfdir}/lpd/ssl.server/server.pwd\" >>$@
        echo "#define " SD_DEFAULT \"/var/spool/lpd\" >>$@

This should help clean up the mystery.

Patrick

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to