search for: socket_dir

Displaying 15 results from an estimated 15 matches for "socket_dir".

2023 Jun 17
2
[PATCH] ssh-agent: add systemd socket-based activation
...#include <stdlib.h> #include <time.h> #include <string.h> +#ifdef WITH_SYSTEMD +# include <systemd/sd-daemon.h> +#endif #include <unistd.h> #ifdef HAVE_UTIL_H # include <util.h> @@ -166,6 +169,11 @@ pid_t cleanup_pid = 0; char socket_name[PATH_MAX]; char socket_dir[PATH_MAX]; +#ifdef WITH_SYSTEMD +/* tracks whether the active AUTH_SOCKET was passed to us by a third party */ +int external_socket = 0; +#endif + /* Pattern-list of allowed PKCS#11/Security key paths */ static char *allowed_providers; @@ -1946,6 +1954,10 @@ cleanup_socket(void) { if (clea...
2017 Dec 18
3
sieve_pipe_socket_dir not created at startup for configured pipe service
...et dovecot to start up, that is. My configuration is pretty much straight from the docs, with a few tweaks for my particular needs. I?m trying to set up a pipe service using sieve-extprograms, and the relevant part of my config looks like this: plugin { sieve_pipe_input_eol = lf sieve_pipe_socket_dir = sieve-pipe sieve_filter_socket_dir = sieve-filter sieve_execute_socket_dir = sieve-execute sieve_pipe_bin_dir = /usr/local/libexec/dovecot/sieve-pipe sieve_filter_bin_dir = /usr/local/libexec/dovecot/sieve-filter sieve_execute_bin_dir = /usr/local/libexec/dovecot/sieve-execute } servi...
2010 Aug 26
5
[Bug 1809] New: ssh-agent doesnt respect $TMPDIR
...ReportedBy: vapier at gentoo.org Created attachment 1913 --> https://bugzilla.mindrot.org/attachment.cgi?id=1913 openssh-ssh-agent-tmpdir.patch the ssh-agent program hardcodes the /tmp/ path: if (agentsocket == NULL) { /* Create private directory for agent socket */ strlcpy(socket_dir, "/tmp/ssh-XXXXXXXXXX", sizeof socket_dir); this doesnt respect a user's TMPDIR preference and can obviously break if /tmp/ is screwed up (full/whatever), but TMPDIR is pointing to a usable location. here is an untested patch, but looks straight forward to me :p -- Configure bugma...
2017 Dec 19
0
sieve_pipe_socket_dir not created at startup for configured pipe service
In looking at this further, I?m not seeing how this can be configured as documented and still work. The sieve_pipe_socket_dir setting, as the documentation suggests, appears to be used by the plugin to construct a path to find the ?script? (the socket in this case), and it is always relative to base_dir and must include the contents of sieve_pipe_socket_dir. /* Try socket first */ if ( ext_config->socket_dir !...
2015 Jul 02
0
[PATCH] Fix various -Wformat problems.
..."parse_size", "xstrtoull", xerr); return -1; } diff --git a/fish/rc.c b/fish/rc.c index 9ccd5f3..9b0c9c5 100644 --- a/fish/rc.c +++ b/fish/rc.c @@ -40,8 +40,8 @@ /* Because this is a Unix domain socket, the total path length must be * under 108 bytes. */ -#define SOCKET_DIR "/tmp/.guestfish-%d" /* euid */ -#define SOCKET_PATH "/tmp/.guestfish-%d/socket-%d" /* euid, pid */ +#define SOCKET_DIR "/tmp/.guestfish-%ju" /* euid */ +#define SOCKET_PATH "/tmp/.guestfish-%ju/socket-%ju" /* euid, pid */ static void create_sockdir (void...
2015 Jul 02
0
[PATCH v2] Fix various -Wformat problems.
..."parse_size", "xstrtoull", xerr); return -1; } diff --git a/fish/rc.c b/fish/rc.c index 9ccd5f3..9b0c9c5 100644 --- a/fish/rc.c +++ b/fish/rc.c @@ -40,8 +40,8 @@ /* Because this is a Unix domain socket, the total path length must be * under 108 bytes. */ -#define SOCKET_DIR "/tmp/.guestfish-%d" /* euid */ -#define SOCKET_PATH "/tmp/.guestfish-%d/socket-%d" /* euid, pid */ +#define SOCKET_DIR "/tmp/.guestfish-%ju" /* euid */ +#define SOCKET_PATH "/tmp/.guestfish-%ju/socket-%ju" /* euid, pid */ static void create_sockdir (void...
2007 Jun 06
2
struggling with stability
Greetings all, Unit tests are passing, but I''m having mucho problems getting brb to run without exceptions for more than 6 hours. I''m seeing a mixture of the following 2 exceptions: 20070605-11:26:56 (21497) failed to find slave socket - (RuntimeError) 20070605-11:26:56 (21497) /usr/local/lib/ruby/gems/1.8/gems/ slave-1.2.1/lib/slave.rb:435:in `initialize''
2007 Jun 21
0
config file questions
...er.log. I''m stumped and very confused on what to do next. Thank you for any possible help! 20070621-14:59:39 (10124) Starting BackgrounDRb Server 20070621-14:59:39 (10124) config: config/backgroundrb/production.yml 20070621-14:59:39 (10124) rails_env: production 20070621-14:59:39 (10124) socket_dir: /tmp/backgroundrb.10124 20070621-14:59:39 (10124) pool_size: 15 20070621-14:59:39 (10124) host: 192.168.1.101 20070621-14:59:39 (10124) acl: orderdeny allowdenyallallowlocalhost 192.168.1.* 20070621-14:59:39 (10124) temp_dir: /tmp 20070621-14:59:39 (10124) port: 2000 20070621-14:59:39 (10124) load...
2007 May 31
0
Slave socket problem again
...by protocol (and in logs there is entry: 20070531-10:24:33 (31813) protocol: druby 20070531-10:24:33 (31813) uri: druby://localhost:2000 20070531-10:24:33 (31813) config: /home/kskalski/railsapp/sars/config/backgroundrb.yml 20070531-10:24:33 (31813) rails_env: development 20070531-10:24:33 (31813) socket_dir: /tmp/backgroundrb.31813 20070531-10:24:33 (31813) pool_size: 5 20070531-10:24:33 (31813) host: localhost 20070531-10:24:33 (31813) acl: denyallallowlocalhost 127.0.0.1orderdenyallow 20070531-10:24:33 (31813) temp_dir: /tmp 20070531-10:24:33 (31813) port: 2000 20070531-10:24:33 (31813) Installed DR...
2007 Mar 13
3
Scheduled worker dies after about 30-45 runs
...24026) config: /home/david/redclay/config/backgroundrb.yml 20070312-18:14:31 (24026) temp_dir: /tmp 20070312-18:14:31 (24026) database_yml: config/database.yml 20070312-18:14:31 (24026) worker_dir: /home/david/redclay/lib/workers 20070312-18:14:31 (24026) protocol: drbunix 20070312-18:14:31 (24026) socket_dir: /tmp/backgroundrb.24026 20070312-18:14:31 (24026) environment: development 20070312-18:14:31 (24026) host: localhost 20070312-18:14:31 (24026) acl: denyallallowlocalhost 127.0.0.1orderdeny ,allow 20070312-18:14:31 (24026) rails_env: development 20070312-18:14:31 (24026) timer_sleep: 60 20070312-18...
2018 Oct 11
13
Call for testing: OpenSSH 7.9
Hi, OpenSSH 7.9p1 is almost ready for release, so we would appreciate testing on as many platforms and systems as possible. This is a bugfix release. Snapshot releases for portable OpenSSH are available from http://www.mindrot.org/openssh_snap/ The OpenBSD version is available in CVS HEAD: http://www.openbsd.org/anoncvs.html Portable OpenSSH is also available via git using the instructions at
2019 Oct 01
9
Call for testing: OpenSSH 8.1
Hi, OpenSSH 8.1p1 is almost ready for release, so we would appreciate testing on as many platforms and systems as possible. This is a bugfix release. Snapshot releases for portable OpenSSH are available from http://www.mindrot.org/openssh_snap/ The OpenBSD version is available in CVS HEAD: http://www.openbsd.org/anoncvs.html Portable OpenSSH is also available via git using the instructions at
2007 Mar 13
5
worker starting twice
...roject/lib/workers 20070313-15:45:17 (5594) protocol: drbunix 20070313-15:45:17 (5594) uri: drbunix:///tmp/backgroundrbunix_localhost_2000 20070313-15:45:17 (5594) config: /Users/jnutting/work/m_project/config/backgroundrb.yml 20070313-15:45:17 (5594) rails_env: development 20070313-15:45:17 (5594) socket_dir: /tmp/backgroundrb.5594 20070313-15:45:17 (5594) pool_size: 5 20070313-15:45:17 (5594) host: localhost 20070313-15:45:17 (5594) Starting worker: BackgrounDRb::Worker::WorkerLogger backgroundrb_logger (backgroundrb_logger) () 20070313-15:45:17 (5594) Starting worker: BackgrounDRb::Worker::WorkerResu...
2018 Dec 06
3
Build error while upgrading samba 4.9.3
...: '/var/locks' Dynconfig[SCRIPTSBINDIR]: : '/usr/local/samba/sbin' Dynconfig[PAMMODULESDIR]: : '/lib/x86_64-linux-gnu/security' Dynconfig[WINBINDD_SOCKET_DIR]: : '/var/run/winbindd' Dynconfig[PRIVATE_DIR]: : '/etc/samba/private' Dynconfig[LMHOSTSFILE]: : '/etc/samba/lmho...
2016 Apr 04
2
[PATCH 1/2] Use 'error' function consistently throughout.
...e <signal.h> #include <sys/socket.h> #include <errno.h> +#include <error.h> #include <rpc/types.h> #include <rpc/xdr.h> @@ -54,11 +55,9 @@ create_sockdir (void) /* Create the directory, and ensure it is owned by the user. */ snprintf (dir, sizeof dir, SOCKET_DIR, (uintmax_t) euid); r = mkdir (dir, 0700); - if (r == -1 && errno != EEXIST) { + if (r == -1 && errno != EEXIST) error: - perror (dir); - exit (EXIT_FAILURE); - } + error (EXIT_FAILURE, errno, "%s", dir); if (lstat (dir, &statbuf) == -1) goto...