Displaying 20 results from an estimated 786 matches for "localstatedir".
2006 Mar 03
0
[PATCH] contrib/cygwin/ssh-host-config: Handle lastlog with more care
...cess mask now for security reasons.
Could this be applied?
Thanks,
Corinna
--- ssh-host-config.ORIG 2006-02-28 13:24:32.248566300 +0100
+++ ssh-host-config 2006-02-28 13:32:22.168803900 +0100
@@ -153,22 +153,31 @@ fi
# Create /var/log and /var/log/lastlog if not already existing
-if [ -f ${LOCALSTATEDIR}/log ]
+if [ -e ${LOCALSTATEDIR}/log -a ! -d ${LOCALSTATEDIR}/log ]
then
- echo "Creating ${LOCALSTATEDIR}/log failed!"
-else
- if [ ! -d ${LOCALSTATEDIR}/log ]
- then
- mkdir -p ${LOCALSTATEDIR}/log
- fi
- if [ -d ${LOCALSTATEDIR}/log/lastlog ]
- then
- chmod 777 ${LOCALSTAT...
2014 Aug 29
1
[patch/cygwin]: Remove setting extra permissions on system directories
...ONFDIR}!"
let ++warning_cnt
fi
-if ! /usr/bin/setfacl -m u:system:rwx "${SYSCONFDIR}" >/dev/null 2>&1
-then
- csih_warning "Can't set extended permissions on ${SYSCONFDIR}!"
- let ++warning_cnt
-fi
# Check for /var/log directory
csih_make_dir "${LOCALSTATEDIR}/log" "Cannot create log directory."
@@ -671,11 +665,6 @@ then
csih_warning "Can't set permissions on ${LOCALSTATEDIR}/log!"
let ++warning_cnt
fi
-if ! /usr/bin/setfacl -m u:system:rwx "${LOCALSTATEDIR}/log" >/dev/null 2>&1
-then
- csih_warni...
2008 Feb 18
1
[PATCH] Make sure /var/empty dir really exists
...ot; -a ! -d "${SYSCONFDIR}" ]
then
echo
- echo "${SYSCONFDIR} is existant but not a directory."
+ echo "${SYSCONFDIR} exists but is not a directory."
echo "Cannot create global configuration files."
echo
exit 1
@@ -156,7 +156,7 @@ fi
if [ -e ${LOCALSTATEDIR}/log -a ! -d ${LOCALSTATEDIR}/log ]
then
echo
- echo "${LOCALSTATEDIR}/log is existant but not a directory."
+ echo "${LOCALSTATEDIR}/log exists but is not a directory."
echo "Cannot create ssh host configuration."
echo
exit 1
@@ -181,11 +181,23 @@ then...
2005 Apr 22
4
libexecdir and localstatedir problem
Hello,
I'd really like to define the finale libexecdir and localstatedir
through the configure-script. But the Makefiles are rewriting them. Not
$libexecdir is used, but $pkglibexecdir. And $pkglibexecdir is always
defined as $libexecdir/dovecot. But I don't want this trailing "/dovecot".
Same with localstatedir. I want dovecot to use a certain path. Bu...
2011 Feb 21
1
[PATCH/cygwin]: Revised sshh-host-config script
.../usr/bin/sed sed
+)
+csih_sanity_check_server=yes
+source ${CSIH_SCRIPT}
+
+PROGNAME=$(/usr/bin/basename $0)
+_tdir=$(/usr/bin/dirname $0)
+PROGDIR=$(cd $_tdir && pwd)
+
# Subdirectory where the new package is being installed
PREFIX=/usr
@@ -32,8 +59,6 @@ PREFIX=/usr
SYSCONFDIR=/etc
LOCALSTATEDIR=/var
-source ${CSIH_SCRIPT}
-
port_number=22
privsep_configured=no
privsep_used=yes
@@ -46,29 +71,48 @@ opt_force=no
# Routine: create_host_keys
# ======================================================================
create_host_keys() {
+ local ret=0
+
if [ ! -f "${SYSCONFDIR}/ss...
2008 Aug 25
1
LOCALSTATEDIR
Hi
I'm doing a network install of Dovecot 1.1.2. All is fine apart from a
little annoying mistake I've found:
I do this:
> ./configure --prefix=/appli/tools_Linux/dovecot/1.1.2
--localstatedir=/var && make && make install
however, since the --localstatedir is equal to a default value, it is
still being constructed as "PREFIX/var" for some reason and in effect
produces binary with following strings being built-in:
> strings dovecot | grep var
/appli/tools...
2004 Oct 21
1
./configure --with-mysql --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-ssldir=/etc/ssl --with-ssl=openssl
Hi,
I installed dovecot from dovecot-1.0-test51 with this configure line:
./configure --with-mysql --prefix=/usr --sysconfdir=/etc
--localstatedir=/var --with-ssldir=/etc/ssl --with-ssl=openssl
When I add this to my dovecot.conf:
passdb = mysql /etc/dovecot-mysql.conf
I get this in /var/log/maillog when I run "dovecot -c /etc/dovecot.conf":
Oct 21 13:59:16 one dovecot: Dovecot v1.0-test51 starting up
Oct 21 13:59:17 one dovecot:...
2014 Jun 16
2
Libvirt 1.2.5/Qemu woes
Hi all -
I'm dealing with a libvirt 1.2.5 and Qemu-1.7.1 also Qemu-2.0 (all source
compile,) which somehow isn't seeing any hypervisors when connected to via
virt-manager.
I'm sure I must be doing something wrong but cannot figure out what. My
basic config and current state here in pastebin:
http://pastebin.com/m5M8PfFC
Thanks for any input, this has been baffling.
Best Regards,
2002 Dec 28
1
passwd-file; configure args..
...ironment missing and
autodetection failed (home /some/home/directory)
Now I thought this was covered in a previous fix before (ChangeLog:
"2002-12-17 03:00 Timo Sirainen <tss at iki.fi>") but for some reason
it's broken again..?
The configure args problem has to do with --localstatedir. If i leave
it default (PREFIX/var) it forces me (even with non-relative pathnames
in the config file) for the socket-files (ssl_parameters_file,
login_dir) that should go in /var/run to be put under PREFIX,
(/usr/local for NetBSD 1.6). Not too bad, if I could override it in the
config file,...
2009 Jul 07
0
[PATCH] contrib/cygwin/ssh-host-config: Improve support for automated updates
...echo " --privileged On Windows NT/2k/XP, require privileged user"
echo " instead of LocalSystem for sshd service."
@@ -489,7 +506,7 @@ then
fi
# Create /var/empty file used as chroot jail for privilege separation
-csih_make_dir "${LOCALSTATEDIR}/empty" "Cannot create log directory."
+csih_make_dir "${LOCALSTATEDIR}/empty" "Cannot create ${LOCALSTATEDIR}/empty directory."
chmod 755 "${LOCALSTATEDIR}/empty"
setfacl -m u:system:rwx "${LOCALSTATEDIR}/empty"
--
Corinna Vinschen
Cygw...
2003 Nov 05
0
[PATCH] contrip/cygwin: Reworking the installation support
...sh-*-config' scripts
as well.
@@ -194,15 +193,30 @@ configure are used for the Cygwin binary
--prefix=/usr \
--sysconfdir=/etc \
- --libexecdir='${exec_prefix}/sbin'
-
-You must have installed the zlib and openssl packages to be able to
+ --libexecdir='$(sbindir)' \
+ --localstatedir=/var \
+ --datadir='$(prefix)/share' \
+ --mandir='$(datadir)/man' \
+ --with-tcp-wrappers
+
+If you want to create a Cygwin package, equivalent to the one
+in the Cygwin binary distribution, install like this:
+
+ mkdir /tmp/cygwin-ssh
+ cd $(builddir)
+ make install DESTDIR=/tmp/c...
2014 Jun 16
0
Re: Libvirt 1.2.5/Qemu woes
.../pastebin.com/m5M8PfFC
pastebin is not permanent. When your posting expires, someone
revisiting this thread in the mail list archives will have no idea what
you were seeing. So I'm reproducing it here:
> ./configure --target-list=x86_64-linux-user --enable-kvm --sysconfdir=/etc/libvirt --localstatedir=/var;
This is not the same set of configure options as what is used by the rpm
package shipped in CentOS. As a result, if you have any mismatch
between the distro build and your self-build, things tend not to connect
to the right server.
Libvirt's autogen.sh has a --system flag that sets up...
2015 Feb 19
1
AIX and ADS support?
...I'm using the following options:
>>
>> --with-winbind
>> --with-swat
>> --with-ads
>> --with-ldap
>> --with-acl-support
>> --with-dnsupdate
>> --with-aio-support
>> --prefix=/opt/samba-4.0.0
>> --sysconfdir=/etc/samba-4.0.0
>> --localstatedir=/var/samba-4.0.0
>>
>> The configure script pukes at the end:
>>
>> Checking for header ldap.h
> : no
>> Checking for header lber.h
> : no
>> Checking for header ldap_pvt.h
> : no
>&...
2003 Feb 06
2
OpenSSL compile problem
.... no
checking for OpenSSL_add_all_algorithms... no
checking for SSLeay_add_all_algorithms... no
----------------------
My openssl is 0.9.7 and is installed via this command:
./config --prefix=/usr/local --openssldir=/usr/local/openssl
I'm trying to build tic with this command:
./configure --localstatedir=/var --sysconfdir=/etc --with-openssl-include=/usr/local --with-openssl-lib=/usr/local/lib
or
./configure --localstatedir=/var --sysconfdir=/etc --with-openssl-include=/usr/local --with-openssl-lib=/usr/local/
and no success. Please tell me which files are you looking for when you looking for ope...
2005 Oct 15
1
makepkg.sh for samba 3.0.20
...i,
I downloaded 3.0.20 from samba.org, ran makepkg.sh to create
samba pkg for Solaris. The install base for the new version
locates in /opt/samba and the smbd locates in /etc/samba.
I tried to modify the makepkg.sh to put everything under
/usr/local/samba as follow:
Delete:
====
--localstatedir=/var/lib/samba \
--with-piddir=/var/run \
--with-logfilebase=/var/log/samba \
--with-privatedir=/etc/samba/private \
--with-configdir=/etc/samba \
Add:
====
--localstatedir=/usr/local/samba/lib \
--with...
2017 May 08
1
2.2 -git fails to compile as of Apr 28 2017
...reated by Dovecot configure 2.2.devel, which was
> generated by GNU Autoconf 2.69. Invocation command line was
>
> $ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/dovecot-9999_p20170508 --htmldir=/usr/share/doc/dovecot-9999_p20170508/html --libdir=/usr/lib64 --localstatedir=/var --with-moduledir=/usr/lib64/dovecot --without-stemmer --with-storages=maildir --disable-rpath -...
2015 Dec 16
2
Bug#805508: [PATCH] tools: allow configure time choice of libexec subdirectory.
...--
m4/paths.m4 | 24 ++++++++++++++++++------
2 files changed, 21 insertions(+), 9 deletions(-)
diff --git a/config/Paths.mk.in b/config/Paths.mk.in
index d36504f..1c7afb4 100644
--- a/config/Paths.mk.in
+++ b/config/Paths.mk.in
@@ -29,10 +29,10 @@ includedir := @includedir@
localstatedir := @localstatedir@
sysconfdir := @sysconfdir@
-LIBEXEC := $(libexecdir)/$(PACKAGE_TARNAME)
+LIBEXEC := @LIBEXEC@
LIBEXEC_BIN := @LIBEXEC_BIN@
-LIBEXEC_LIB := $(LIBEXEC)/lib
-LIBEXEC_INC := $(LIBEXE...
2013 Jan 07
3
AIX and ADS support?
...should be able to participate as a domain controller, if I specify the option --with-ads, right?
I'm using the following options:
--with-winbind
--with-swat
--with-ads
--with-ldap
--with-acl-support
--with-dnsupdate
--with-aio-support
--prefix=/opt/samba-4.0.0
--sysconfdir=/etc/samba-4.0.0
--localstatedir=/var/samba-4.0.0
The configure script pukes at the end:
Checking for header ldap.h : no
Checking for header lber.h : no
Checking for header ldap_pvt.h...
2006 Feb 09
1
epoll error when running as proxy
...find anything in the mailing list archives about this error, so
here are some details. I hope somebody can point me in the right
direction to fix this.
- I am running this on Red Hat ES4 (32-bit x86), compiling with the
following options:
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-ssldir=/usr/share/ssl \
--disable-ipv6 \
--with-file-offset-size=32 \
--with-mem-align=4 \
--with-ioloop=epoll \
--without-passwd \
--without-passwd-file \
--without-shadow \
--without-pam \
--without-checkpassword \
--without-bsdauth \
--without-gssapi \
--w...
2017 May 08
2
2.2 -git fails to compile as of Apr 28 2017
On 2017-05-08 16:23, Reuben Farrelly wrote:
>
>
> On 8/05/2017 9:13 PM, Aki Tuomi wrote:
>>
>>
>> On 2017-05-08 13:52, Reuben Farrelly wrote:
>>> Hi,
>>>
>>> Following up on this as there has been no response and the problem
>>> is still present. As this is the master-2.2 branch I would have
>>> thought it would compile