[Bug 1358748] Re: socat fdout option will not open output file descriptor

2014-08-19 Thread Hendrik
Hello Greg,
absolutely great, you are right: the -u invalidated the fdout option, even 
though log output said it was opened. My fault, I apologize for the time you 
spent. Thanks a lot for your help!
All the best
Hendrik

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to socat in Ubuntu.
https://bugs.launchpad.net/bugs/1358748

Title:
  socat fdout option will not open output file descriptor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/socat/+bug/1358748/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1358748] [NEW] socat fdout option will not open output file descriptor

2014-08-19 Thread Hendrik
Public bug reported:


The options "fdin=x,fdout=y" are used to create file descriptors in order to 
have scripts that are executed via EXEC communicate with the  socket.

After heaps of debugging, I noticed that the output file descriptor is never 
actually opened by socat (although it says otherwise).
Please see the output of socat and the corresponding script, which executes 
"filan" to display currently open FDs.

You can see that FD3 is open and input is processed. However, when
writing to FD4, the error message "Bad file descriptor" appears (not
shown in log). FD4 is clearly never opened (what would have been
expected behaviour)


 # socat -d -d -u TCP4-LISTEN:80,reuseaddr,fork,su=nobody 
EXEC:./script.sh,fdout=4,fdin=3 | tee connlog.log
2014/08/19 15:26:15 socat[26813] N listening on AF=2 0.0.0.0:80
2014/08/19 15:26:19 socat[26813] N accepting connection from AF=2 1.2.3.4:49874 
on AF=2 4.5.6.7:80
2014/08/19 15:26:19 socat[26813] N forked off child process 26815
2014/08/19 15:26:19 socat[26813] N listening on AF=2 0.0.0.0:80
2014/08/19 15:26:19 socat[26815] N forking off child, using socket for writing
2014/08/19 15:26:19 socat[26815] N forked off child process 26816
2014/08/19 15:26:19 socat[26815] N forked off child process 26816
2014/08/19 15:26:19 socat[26815] N starting data transfer loop with FDs [4,4] 
and [3,3]
2014/08/19 15:26:19 socat[26816] N execvp'ing "./script.sh"
[SCRIPT] Received http request.
  FD  type  device  inode   modelinks   uid gid rdevsize
blksize blocks  atime   mtime   
ctime   cloexec flags   sigown  sigio
   0: chrdev0,125   020620  1   0   5   136,2   0   
10240   Tue Aug 19 15:26:08 2014Tue Aug 19 15:26:16 2014
Thu Jul 17 21:36:34 20140   x008002 0  0
(no STREAMS modules)/dev/pts/2  IFLAGS=0500 OFLAGS=0005 
CFLAGS=00bf LFLAGS=8a3b cc[0]=^C cc[1]=^\ cc[2]=x7F cc[3]=^U cc[4]=^D 
cc[5]=^@ cc[6]=^A cc[7]=^@ cc[8]=^Q cc[9]=^S cc[10]=^Z cc[11]=^@ cc[12]=^R 
cc[13]=^O cc[14]=^W cc[15]=^V cc[16]=^@ cc[17]=^@ cc[18]=^@ cc[19]=^@ cc[20]=^@ 
cc[21]=^@ cc[22]=^@ cc[23]=^@ cc[24]=^@ cc[25]=^@ cc[26]=^@ cc[27]=^@ cc[28]=^@ 
cc[29]=^@ cc[30]=^@ cc[31]=^@poll: OUT,
   1: pipe  0,8 17895603010600  1   0   0   0,0 
0   40960   Tue Aug 19 15:26:19 2014Tue Aug 19 15:26:19 
2014Tue Aug 19 15:26:19 20140   x01 0   0   
(no STREAMS modules)poll: OUT,
   2: chrdev0,125   020620  1   0   5   136,2   0   
10240   Tue Aug 19 15:26:08 2014Tue Aug 19 15:26:16 2014
Thu Jul 17 21:36:34 20140   x008002 0  0
(no STREAMS modules)/dev/pts/2  IFLAGS=0500 OFLAGS=0005 
CFLAGS=00bf LFLAGS=8a3b cc[0]=^C cc[1]=^\ cc[2]=x7F cc[3]=^U cc[4]=^D 
cc[5]=^@ cc[6]=^A cc[7]=^@ cc[8]=^Q cc[9]=^S cc[10]=^Z cc[11]=^@ cc[12]=^R 
cc[13]=^O cc[14]=^W cc[15]=^V cc[16]=^@ cc[17]=^@ cc[18]=^@ cc[19]=^@ cc[20]=^@ 
cc[21]=^@ cc[22]=^@ cc[23]=^@ cc[24]=^@ cc[25]=^@ cc[26]=^@ cc[27]=^@ cc[28]=^@ 
cc[29]=^@ cc[30]=^@ cc[31]=^@poll: OUT,
   3: socket0,7 178918570140777 1   65534   65534   0,0 
0   40960   Thu Jan  1 01:00:00 1970Thu Jan  1 01:00:00 
1970Thu Jan  1 01:00:00 19700   x02 0   0   
(no STREAMS modules)DEBUG=0 REUSEADDR=0 TYPE=1  ERROR=0 DONTROUTE=0 
BROADCAST=0 SNDBUF=212992   RCVBUF=212992   KEEPALIVE=0 OOBINLINE=0 
NO_CHECK=0  PRIORITY=0 LINGER={0,0} BSDCOMPAT=0 REUSEPORT=0 
PASSCRED=0  PEERCRED={26815,65534}  RCVLOWAT=1  SNDLOWAT=1  
RCVTIMEO={0,0}  SNDTIMEO={0,0}  BINDTODEVICE={0,0}  
ATTACH_FILTER={0,0} AF=1 "" <-> AF=1 "" poll: 
IN,OUT,; FIONREAD=353; recvmsg=1, 


releases


# lsb_release -rd
Description:Ubuntu 14.04 LTS
Release:14.04

# apt-cache policy socat
socat:
  Installed: 1.7.2.3-1
  Candidate: 1.7.2.3-1


3) and 4) -> see above.


Thanks a lot for processing this bug.

** Affects: socat (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to socat in Ubuntu.
https://bugs.launchpad.net/bugs/1358748

Title:
  socat fdout option will not open output file descriptor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/socat/+bug/1358748/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1088681] Re: startup script prevents use of IPv6

2013-08-14 Thread Hendrik Haddorp
yes

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat7 in Ubuntu.
https://bugs.launchpad.net/bugs/1088681

Title:
  startup script prevents use of IPv6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tomcat7/+bug/1088681/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1138905] Re: managesieve segfault

2013-05-01 Thread Hendrik Haddorp
This issue seems to be resolved in the version shipping in 13.04.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dovecot in Ubuntu.
https://bugs.launchpad.net/bugs/1138905

Title:
  managesieve segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/1138905/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1088681] [NEW] startup script prevents use of IPv6

2012-12-10 Thread Hendrik Haddorp
Public bug reported:

The tomcat7 startup script sets java.net.preferIPv4Stack=true if
authbind is activated. Ubuntu 12.10 does however include authbind 2,
which supports IPv6. Consequently the parameter should not be set
anymore. Once I uncommented that line tomcat7 worked just fine via IPv6
and authbind.

regards,
Hendrik

** Affects: tomcat7 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat7 in Ubuntu.
https://bugs.launchpad.net/bugs/1088681

Title:
  startup script prevents use of IPv6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tomcat7/+bug/1088681/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 374589] Re: Samba fails to start at boot when not connected to network (and specific interfaces are configured)

2010-04-26 Thread Hendrik Saly
same for me but samba exits with a core dump, so i think its not
wishlist, its a bug

I configured in smb.conf

interfaces = vmnet8 vmnet1
bind interfaces only = yes

so that samba is only accessable by the vmware guest. 
BTW: In /etc/rc2.d vmware (S19) starts prior to samba (S20), thats the next 
strange thing

grep -ri smb  /var/log/daemon.log

Apr 26 14:10:07 fringe init: smbd main process (1222) killed by ABRT signal
Apr 26 14:10:07 fringe init: smbd main process ended, respawning
Apr 26 14:10:07 fringe smbd[1233]: [2010/04/26 14:10:07,  0] 
printing/print_cups.c:103(cups_connect)
Apr 26 14:10:07 fringe smbd[1233]:   Unable to connect to CUPS server 
localhost:631 - Connection refused
Apr 26 14:10:07 fringe smbd[1234]: [2010/04/26 14:10:07,  0] 
printing/print_cups.c:103(cups_connect)
Apr 26 14:10:07 fringe smbd[1234]:   Unable to connect to CUPS server 
localhost:631 - Connection refused
Apr 26 14:10:07 fringe smbd[1232]: [2010/04/26 14:10:07,  0] 
lib/interface.c:550(load_interfaces)
Apr 26 14:10:07 fringe smbd[1232]:   WARNING: no network interfaces found
Apr 26 14:10:07 fringe smbd[1232]: [2010/04/26 14:10:07,  0] 
smbd/server.c:1115(main)
Apr 26 14:10:07 fringe smbd[1232]:   standard input is not a socket, assuming 
-D option
Apr 26 14:10:07 fringe smbd[1232]: [2010/04/26 14:10:07,  0] 
smbd/server.c:616(open_sockets_smbd)
Apr 26 14:10:07 fringe smbd[1232]:   open_sockets_smbd: No sockets available to 
bind to.
Apr 26 14:10:07 fringe smbd[1232]: [2010/04/26 14:10:07,  0] 
smbd/server.c:837(exit_server_common)
Apr 26 14:10:07 fringe smbd[1232]:   
===
Apr 26 14:10:07 fringe smbd[1232]: [2010/04/26 14:10:07,  0] 
smbd/server.c:839(exit_server_common)
Apr 26 14:10:07 fringe smbd[1232]:   Abnormal server exit: open_sockets_smbd() 
failed
Apr 26 14:10:07 fringe smbd[1232]: [2010/04/26 14:10:07,  0] 
smbd/server.c:840(exit_server_common)
Apr 26 14:10:07 fringe smbd[1232]:   
===
Apr 26 14:10:07 fringe smbd[1232]: [2010/04/26 14:10:07,  0] 
lib/util.c:1584(log_stack_trace)
Apr 26 14:10:07 fringe smbd[1232]:   BACKTRACE: 6 stack frames:
Apr 26 14:10:07 fringe smbd[1232]:#0 smbd(log_stack_trace+0x1a) 
[0x7f7c7d2de7aa]
Apr 26 14:10:07 fringe smbd[1232]:#1 smbd(+0x5a9cc0) [0x7f7c7d56dcc0]
Apr 26 14:10:07 fringe smbd[1232]:#2 smbd(+0x5a9e91) [0x7f7c7d56de91]
Apr 26 14:10:07 fringe smbd[1232]:#3 smbd(main+0x90d) [0x7f7c7d56ebed]
Apr 26 14:10:07 fringe smbd[1232]:#4 /lib/libc.so.6(__libc_start_main+0xfd) 
[0x7f7c79a6cc4d]
Apr 26 14:10:07 fringe smbd[1232]:#5 smbd(+0xc0a49) [0x7f7c7d084a49]
Apr 26 14:10:07 fringe smbd[1232]: [2010/04/26 14:10:07,  0] 
lib/fault.c:326(dump_core)
Apr 26 14:10:07 fringe smbd[1232]:   dumping core in /var/log/samba/cores/smbd
Apr 26 14:10:07 fringe smbd[1232]: 
Apr 26 14:10:07 fringe init: smbd main process (1232) killed by ABRT signal
Apr 26 14:10:07 fringe init: smbd main process ended, respawning
Apr 26 14:10:07 fringe smbd[1240]: [2010/04/26 14:10:07,  0] 
printing/print_cups.c:103(cups_connect)
Apr 26 14:10:07 fringe smbd[1240]:   Unable to connect to CUPS server 
localhost:631 - Connection refused
Apr 26 14:10:07 fringe smbd[1241]: [2010/04/26 14:10:07,  0] 
printing/print_cups.c:103(cups_connect)
Apr 26 14:10:07 fringe smbd[1241]:   Unable to connect to CUPS server 
localhost:631 - Connection refused
Apr 26 14:10:07 fringe smbd[1239]: [2010/04/26 14:10:07,  0] 
lib/interface.c:550(load_interfaces)
Apr 26 14:10:07 fringe smbd[1239]:   WARNING: no network interfaces found
Apr 26 14:10:07 fringe smbd[1239]: [2010/04/26 14:10:07,  0] 
smbd/server.c:1115(main)
Apr 26 14:10:07 fringe smbd[1239]:   standard input is not a socket, assuming 
-D option
Apr 26 14:10:07 fringe smbd[1239]: [2010/04/26 14:10:07,  0] 
smbd/server.c:616(open_sockets_smbd)
Apr 26 14:10:07 fringe smbd[1239]:   open_sockets_smbd: No sockets available to 
bind to.
Apr 26 14:10:07 fringe smbd[1239]: [2010/04/26 14:10:07,  0] 
smbd/server.c:837(exit_server_common)
Apr 26 14:10:07 fringe smbd[1239]:   
===
Apr 26 14:10:07 fringe smbd[1239]: [2010/04/26 14:10:07,  0] 
smbd/server.c:839(exit_server_common)
Apr 26 14:10:07 fringe smbd[1239]:   Abnormal server exit: open_sockets_smbd() 
failed
Apr 26 14:10:07 fringe smbd[1239]: [2010/04/26 14:10:07,  0] 
smbd/server.c:840(exit_server_common)
Apr 26 14:10:07 fringe smbd[1239]:   
===
Apr 26 14:10:07 fringe smbd[1239]: [2010/04/26 14:10:07,  0] 
lib/util.c:1584(log_stack_trace)
Apr 26 14:10:07 fringe smbd[1239]:   BACKTRACE: 6 stack frames:
Apr 26 14:10:07 fringe smbd[1239]:#0 smbd(log_stack_trace+0x1a) 
[0x7f6684ba67aa]
Apr 26 14:10:07 fringe smbd[1239]:#1 smbd(+0x5a9cc0) [0x7f6684e35cc0]
Apr 26 14:10:07 fringe smbd[1239]:#2 smbd(+0x5a9e91) [0x7f6684e35e91]
Apr 26 14:10:07 fringe smbd[1239]:#3 s

[Bug 228693] Re: [SRU] bacula-director-pgsql postinstall broken

2008-11-24 Thread hendrik
This update solved this issue for me, downgrade from 2.4.2-1ubuntu4 
->2.2.8-5ubuntu7.2 went without problems.
Note:  In /etc/bacula/bacula-dir.conf, “dbuser” needed to be changed to “user” 
for me.

Thanks!

-- 
[SRU] bacula-director-pgsql postinstall broken
https://bugs.launchpad.net/bugs/228693
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bacula in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs