search for: is_daemon

Displaying 10 results from an estimated 10 matches for "is_daemon".

Did you mean: in_daemon
1998 Sep 01
0
SOLARIS:SIGPIPE in nmbd (PR#8723)
appro@fy.chalmers.se wrote: > > No, it's not:-) > > static int sig_pipe(void) > { > BlockSignals( True, SIGPIPE ); > > DEBUG( 0, ("Got SIGPIPE\n") ); > if ( !is_daemon ) > exit(1); > BlockSignals( False, SIGPIPE ); > #ifndef DONT_REINSTALL_SIG > signal(SIGHUP,SIGNAL_CAST sig_pipe); > WOW!!! -------------^^^ > #endif > return(0); > } /* sig_pipe */ > > I'm speechle...
2002 Jun 02
0
daemontools supervise and smbd
...: smbd & nnmbd with -D option deteach from tty, so supervise cannot control them; solution 1: we can patch smb/server.c (foreground patch) to prevent deteach, but a second problem arise: ------------------------------------------------------------------------------------ if (is_daemon && !foreground) { DEBUG( 3, ( "Becoming a daemon.\n" ) ); /* comment this to prevent from deteaching from tty * become_daemon(); * */ } ------------------------------------------------------------------------------------ subproblem 2...
2004 May 26
2
duplicate domains in browse list
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, i recently upgraded some of my servers from 3.0.2a to 3.0.4 after the upgrade my browselist shows duplicate entries for the domains. one domains is managed by a samba PDC(providing WINS too) and two samba BDC's. the other domains are managed by one samba PDC. 'smbclient -N -L <WINS_SERVER>' shows: - --- Workgroup
2014 Jan 10
1
samba 4.1.3 -- multiple bugs & 1, 297 coredumps -- coredump backtrace + full-backtrace included
...7c61 in smbd_parent_loop (parent=<optimized out>, ev_ctx=0x7f6cb69a5360) at ../source3/smbd/server.c:943 ret = <optimized out> frame = 0x7f6cb69a5f40 #25 main (argc=<optimized out>, argv=<optimized out>) at ../source3/smbd/server.c:1577 is_daemon = <optimized out> interactive = <optimized out> Fork = true no_process_group = 208 log_stdout = <optimized out> ports = 0x0 profile_level = 0x0 opt = <optimized out> pc = <optimized out> p...
2004 Feb 04
1
Signal 11 in smbd 3.0.2rc2 on printer operation!
...0 len = 1176 nread = 1180 #23 0x080d6f05 in smbd_process () at smbd/process.c:1328 deadtime = 604800 select_timeout = 60000 num_echos = 0 last_timeout_processing_time = 1075937457 num_smbs = 28 total_buffer_size = 132161 #24 0x08256fd7 in main (argc=2, argv=0xbffffe04) at smbd/server.c:887 is_daemon = 1 interactive = 0 Fork = 1 log_stdout = 0 ports = 0x0 opt = -1 pc = 0x82f3f38 long_options = {{longName = 0x0, shortName = 0 '\0', argInfo = 4, arg = 0x82dd25c, val = 0, descrip = 0x82d3ff3 "Help options", argDescrip = 0x0}, {longName = 0x82d4000 "daemon&qu...
2020 Mar 03
6
Upgrade 4.9 -> 4.11 oups
Hello ! I decided to upgrade my fileservers from stretch/samba 4.9 to buster/samba 4.11 I just realized that smbd is not working anymore :-/ If someone has an idea It would be amazing... as an idiot, I upgraded my 20 servers.... without snapshot.... Thank you so much Here's some logs : root at ef113:~# tail /var/log/samba/log.smbd #1
2018 Jun 25
2
Samba 4.7.1 Generating Core Dumps
...#42 0x000055b48c66825e in smbd_parent_loop (parent=<optimized out>, ev_ctx=0x55b48e5f3520) at ../source3/smbd/server.c:1397 trace_state = {frame = 0x55b48e5e4f60} ret = 0 #43 main (argc=<optimized out>, argv=<optimized out>) at ../source3/smbd/server.c:2164 is_daemon = <optimized out> interactive = <optimized out> Fork = <optimized out> no_process_group = 112 log_stdout = <optimized out> ports = 0x0 profile_level = 0x0 opt = <optimized out> pc = 0x7fc2281b5060 <DEBU...
2012 Sep 17
9
[PATCH] Upgrade vtpmd to berlios version 0.7.4
..."/var/vtpm/fifos/vtpm_rsp_to_%d.fifo" -+ #define VTPM_TX_FIFO "/var/vtpm/fifos/vtpm_cmd_from_all.fifo" -+ -+ static char *vtpm_rx_name=NULL; -+#endif -+ -+ static int vtpm_tx_fh=-1, vtpm_rx_fh=-1; -+ -+#define BUFFER_SIZE 2048 -+ - static volatile int stopflag = 0; - static int is_daemon = 0; - static int opt_debug = 0; -@@ -49,6 +70,8 @@ static const char *opt_storage_file = "/ - static uid_t opt_uid = 0; - static gid_t opt_gid = 0; - static int tpm_startup = 2; -+static int vtpm_type = VTPM_TYPE_PVM; -+int dmi_id = 0; - static int rand_fh; - - void tpm_log(int priority, cons...
2003 Dec 01
0
No subject
...quot;\t-a Append to log file (default)\n"); printf("\t-o Overwrite log file, don't append\n"); printf("\t-h Print usage\n"); @@ -537,6 +538,7 @@ extern BOOL append_log; /* shall I run as a daemon */ BOOL is_daemon = False; + BOOL foreground = False; BOOL specified_logfile = False; int port = SMB_PORT; int opt; @@ -552,7 +554,7 @@ argc--; } - while ( EOF != (opt = getopt(argc, argv, "O:l:s:d:Dp:h?Vaof:")) ) + while ( EOF != (opt = getopt(argc, argv, "O:l:s:d:DFp:h?Vaof:")) )...
2003 Dec 01
0
No subject
...track explicitly loaded dynamic code. Breakpoint 1, sys_select (maxfd=1024, fds=0xefffd7e8, tval=0x0) at lib/select.c:59 /projects/ce/samba-2.2.1a/source/lib/select.c:59:2156:beg:0x115ad4 (gdb) bt #0 sys_select (maxfd=1024, fds=0xefffd7e8, tval=0x0) at lib/select.c:59 #1 0x38338 in open_sockets (is_daemon=1, stay_in_window=1, port=139) at smbd/server.c:212 #2 0x392c4 in main (argc=-1, argv=0xefffe9cc) at smbd/server.c:786 (gdb) cont Breakpoint 1, sys_select (maxfd=18, fds=0xefffe7f0, tval=0xefffe7e8) at lib/select.c:59 (gdb) bt #0 sys_select (maxfd=18, fds=0xefffe7f0, tval=0xefffe7e8) at lib/sele...