[Bug 1319595] Re: upstart script ignores some php-fpm.conf parameters, cannot be bypassed in preference of SystemV init script.

2015-03-04 Thread David Andruczyk
I developed a workaround based upon:
http://serverfault.com/questions/114052/logging-a-daemons-output-with-
upstart based upon the Last (Feb 12th) solution..

changed bits of /etc/init/php5-fpm.conf
script
  exec bash << EOT
  exec 1> >(logger -t syslog_tag_for_php) 2>&1
  exec /usr/sbin/php5-fpm --nodaemonize --fpm-config /etc/php5/fpm/php-fpm.conf
EOT
end script

ps auxfw output
root  5961  0.0  1.6 924120 67144 ?Ss   13:41   0:00 php-fpm: 
master process (/etc/php5/fpm/php-fpm.conf)   
root  5963  0.0  0.0   9720   580 ?S13:41   0:00  \_ bash
root  5964  0.0  0.0   4336   632 ?S13:41   0:00  |   \_ logger 
-t syslog_tag_for_php
www_pool  5969  0.0  0.3 923688 12308 ?S13:41   0:00  \_ php-fpm: 
pool www_as_www_pool  
. . .

A slightly better solution would have the "syslog_tag_for_php" as a
variable sourced from /etc/default/php5-fpm so the init script is more
generic.

This results in all php5-fpm master process logging going to syslog and
easily filtered into an appropriate logfile by the tag, which is what
was possible on 12.04 without this mucking around.

The ultimate issue is php5-fpm ignoring some configuration variables
when run with the "--nodaemonize" option, and that needs addressing
upstream.

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

Title:
  upstart script ignores some php-fpm.conf parameters, cannot be
  bypassed in preference of SystemV init script.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1319595/+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 1319595] Re: upstart script ignores some php-fpm.conf parameters, cannot be bypassed in preference of SystemV init script.

2015-02-20 Thread David Andruczyk
This completely breaks SYSLOG logging of PHP-fpm setups.  Not
daemoninzing the process results in  php-fpm ignoring the error_log
option and screws things royally in a multi-server setup where
centralized logging is used with syslog...

Please revert this bad design.

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

Title:
  upstart script ignores some php-fpm.conf parameters, cannot be
  bypassed in preference of SystemV init script.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1319595/+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 1416003] Re: open-vm-dkms fails to build with latest Precise kernel

2015-02-05 Thread David Andruczyk
Installing open-vm-dkms/open-vm-tools (2011.12.20-562307-0ubuntu1.1) from 
precise-proposed has solved the compile issue for the 3.2.0-76.111 kernel.

Thanks!

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

Title:
  open-vm-dkms fails to build with latest Precise kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-vm-tools/+bug/1416003/+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 1416003] Re: open-vm-dkms fails to build with latest Precise kernel

2015-02-04 Thread David Andruczyk
I have also verified this failure exists with  open-vm-tools
2011.12.20-562307-0ubuntu1  against kernel 3.2.0-76.111 when my nodes
failed to come up completely on VMware (waiting for network which
depended on the vmxnet driver which wasn't there)


  CC [M]  /var/lib/dkms/open-vm-tools/2011.12.20/build/vmhgfs/inode.o
/var/lib/dkms/open-vm-tools/2011.12.20/build/vmhgfs/inode.c: In function 
'HgfsPermission':
/var/lib/dkms/open-vm-tools/2011.12.20/build/vmhgfs/inode.c:1821:19: error: 
'struct dentry' has no member named 'd_ali
as'
/var/lib/dkms/open-vm-tools/2011.12.20/build/vmhgfs/inode.c:1821:19: warning: 
initialization from incompatible pointer
 type [enabled by default]
/var/lib/dkms/open-vm-tools/2011.12.20/build/vmhgfs/inode.c:1821:19: error: 
'struct dentry' has no member named 'd_ali
as'
make[2]: *** [/var/lib/dkms/open-vm-tools/2011.12.20/build/vmhgfs/inode.o] 
Error 1
make[1]: *** [_module_/var/lib/dkms/open-vm-tools/2011.12.20/build/vmhgfs] 
Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-76-virtual'
make: *** [vmhgfs.ko] Error 2
make: Leaving directory `/var/lib/dkms/open-vm-tools/2011.12.20/build/vmhgfs'

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

Title:
  open-vm-dkms fails to build with latest Precise kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-vm-tools/+bug/1416003/+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