Hi Patrick,
> > 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?
/var/run.515
test2 1.0.4 # ls -al /var/run.515
-rw-r--r-- 1 lp lp 4 Jan 24 14:59 /var/run.515
test2 1.0.4 # cat /var/run.515
260
test2 1.0.4 # ps 260
PID TTY STAT TIME COMMAND
260 ? S 0:00 lpd Waiting
> 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
# Purpose: lpd lock file
# default lockfile= /var/run (STRING)
> 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
defs.h: Makefile
cp /dev/null $@
echo "#define " CHOWN \"/bin/chown\" >>$@
echo "#define " CHGRP \"/bin/chgrp\" >>$@
echo "#define " PRINTCAP_PATH \"${sysconfdir}/printcap\" >>$@
echo "#define " LPD_PRINTCAP_PATH \"${sysconfdir}/lpd/lpd_printcap\"
>>$@
echo "#define " LPD_PERMS_PATH \"/etc/lpd.perms\" >>$@
echo "#define " LPD_CONF_PATH \"/etc/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\" >>$@
#################################
echo "#define " CLEAR \"\" >>$@
echo "#define " USERID \"lp\" >>$@
echo "#define " GROUPID \"lp\" >>$@
echo "#define " LOCALEDIR \"${prefix}/share/locale\" >>$@
echo "#define " DONE_JOBS \"0\" >>$@
echo "#define " DONE_JOBS_MAX_AGE \"0\" >>$@
echo "#define " UNIXSOCKETPATH \"/var/run/lprng\" >>$@
echo "#define " PRUTIL \"\" >>$@
echo "#define " OPENSSL \"/usr/bin/openssl\" >>$@
echo "#define " SSL_CA_FILE \"no\" >>$@
echo "#define " SSL_CA_KEY \"no\" >>$@
echo "#define " SSL_CRL_FILE \"no\" >>$@
echo "#define " SSL_CERTS_DIR \"no\" >>$@
echo "#define " SSL_SERVER_CERT \"no\" >>$@
echo "#define " SSL_SERVER_PASSWORD_FILE \"no\" >>$@
echo "#define " SD_DEFAULT \"/var/spool/lpd\" >>$@
> This should help clean up the mystery.
I hope so :)
der tom
______________________________________________________________________________
Erdbeben im Iran: Zehntausende Kinder brauchen Hilfe. UNICEF hilft den
Kindern - helfen Sie mit! https://www.unicef.de/spe/spe_03.php
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------