[Bug 1456864] Re: package apache2 2.4.10-1ubuntu1.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
[Expired for apache2 (Ubuntu) because there has been no activity for 60 days.] ** Changed in: apache2 (Ubuntu) Status: Incomplete = Expired -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/1456864 Title: package apache2 2.4.10-1ubuntu1.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1456864/+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 1457886] Re: Init program start with unknown arg splash
[Expired for init-system-helpers (Ubuntu) because there has been no activity for 60 days.] ** Changed in: init-system-helpers (Ubuntu) Status: Incomplete = Expired -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to init-system-helpers in Ubuntu. https://bugs.launchpad.net/bugs/1457886 Title: Init program start with unknown arg splash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/init-system-helpers/+bug/1457886/+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 1431345] Re: package mysql-common 5.6.23-1~exp1~ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
[Expired for mysql-5.6 (Ubuntu) because there has been no activity for 60 days.] ** Changed in: mysql-5.6 (Ubuntu) Status: Incomplete = Expired -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1431345 Title: package mysql-common 5.6.23-1~exp1~ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1431345/+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 1453133] [NEW] [Ubuntu 14.04.3] Backport docker 1.5 to Ubuntu 14.04 on ppc64el
You have been subscribed to a public bug: Hi, We would like to have Docker (package docker.io) version 1.5 in Ubuntu 14.04.3 timeframe. In order to enable Docker version 1.5 in ppc64el architecture, we would need to include gccgo version 1.5 also, as ppc64el still lacks golang support. In order to compile docker with gccgo for ppc64el, we would need the same patches as those which made Ubuntu 15.04, as described under section gccgo build support ** Affects: docker.io (Ubuntu) Importance: Undecided Status: Won't Fix ** Tags: architecture-ppc64le bot-comment bugnameltc-124824 severity-critical targetmilestone-inin14043 trusty -- [Ubuntu 14.04.3] Backport docker 1.5 to Ubuntu 14.04 on ppc64el https://bugs.launchpad.net/bugs/1453133 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to docker.io 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
[Bug 1453133] Re: [Ubuntu 14.04.3] Backport docker 1.5 to Ubuntu 14.04 on ppc64el
** Package changed: ubuntu = docker.io (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to docker.io in Ubuntu. https://bugs.launchpad.net/bugs/1453133 Title: [Ubuntu 14.04.3] Backport docker 1.5 to Ubuntu 14.04 on ppc64el To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1453133/+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 1477804] Re: package libisccfg-export90 1:9.9.5.dfsg-9ubuntu0.1 failed to install/upgrade: package libisccfg-export90 is already installed and configured
*** This bug is a duplicate of bug 1407757 *** https://bugs.launchpad.net/bugs/1407757 ** This bug is no longer a duplicate of bug 1472608 package libisccfg-export90 1:9.9.5.dfsg-9ubuntu0.1 failed to install/upgrade: package libisccfg-export90 is already installed and configured ** This bug has been marked a duplicate of bug 1407757 multi-arch packages cannot be installed due to dpkg wrongly detecting them as already installed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in Ubuntu. https://bugs.launchpad.net/bugs/1477804 Title: package libisccfg-export90 1:9.9.5.dfsg-9ubuntu0.1 failed to install/upgrade: package libisccfg-export90 is already installed and configured To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1477804/+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 1425112] Re: Missing groovydoc command
Thanks for reporting. Indeed, it looks like groovydoc is also missing from the list of files installed [1]. Fwiw, it appears to be included in groovy2 [2], though. [1] http://packages.ubuntu.com/wily/all/groovy/filelist [2] http://packages.ubuntu.com/wily/all/groovy2/filelist ** Changed in: groovy (Ubuntu) Status: New = Confirmed ** Tags added: vivid wily -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to groovy in Ubuntu. https://bugs.launchpad.net/bugs/1425112 Title: Missing groovydoc command To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/groovy/+bug/1425112/+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 1478250] [NEW] hp x360 laptop keyboard freezes for 1 sec. every few minutes
Public bug reported: A couple weeks ago Installed ubuntu 14.04 on an hp spectre x360. It works great except for a strange keyboard problem. Every 2 or 3 minutes the keyboard freezes for about 1 second - it misses keystrokes completely. Anything typed during that 1 second period is missed. For that same period, the LED in the F5 key turns off. The F5 key is normally illuminated. If you hit it, that turns the LED off and turns on the keyboard backlight. Hit it again, and the backlight goes off and F5 lights up again. Apparently while that light is out, the keyboard is disabled. I wrote a program that printed a variable character pattern to a terminal every 4 times/sec and just watched it. I wanted to know if the whole computer (or just whole desktop?) was freezing, or just the keyboard. When the keyboard light turned off, the program kept running, so I think it's just the keyboard. The timing of the light blinking off is variable. If I am not typing, the light seems to blink at a 2min 30 sec.to 3min 30 sec period. It seems more often than that when I am actually typing, perhaps 2 minutes. I'm guessing this is a keyboard driver problem? Anyone else seen this? /proc/version is Linux version 3.16.0-43-generic (buildd@brownie) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #58~14.04.1-Ubuntu SMP Mon Jun 22 10:21:20 UTC 2015. ** Affects: openssh (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1478250 Title: hp x360 laptop keyboard freezes for 1 sec. every few minutes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1478250/+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 1478281] [NEW] package nginx-full 1.6.2-5ubuntu3.1 failed to install/upgrade: подпроцесс установлен сценарий post-installation возвратил код ошибки 1
Public bug reported: При обработке следующих пакетов произошли ошибки: nginx-full E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Package DistroRelease: Ubuntu 15.04 Package: nginx-full 1.6.2-5ubuntu3.1 ProcVersionSignature: Ubuntu 3.19.0-23.24-generic 3.19.8-ckt2 Uname: Linux 3.19.0-23-generic x86_64 NonfreeKernelModules: wl ApportVersion: 2.17.2-0ubuntu1.1 AptOrdering: nginx-common: Install nginx-full: Install nginx-common: Configure nginx-full: Configure NULL: ConfigurePending Architecture: amd64 Date: Sun Jul 26 00:40:28 2015 ErrorMessage: подпроцесс установлен сценарий post-installation возвратил код ошибки 1 InstallationDate: Installed on 2015-07-25 (0 days ago) InstallationMedia: Ubuntu 15.04 Vivid Vervet - Release amd64 (20150422) RelatedPackageVersions: dpkg 1.17.25ubuntu1 apt 1.0.9.7ubuntu4 SourcePackage: nginx Title: package nginx-full 1.6.2-5ubuntu3.1 failed to install/upgrade: подпроцесс установлен сценарий post-installation возвратил код ошибки 1 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: nginx (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package vivid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nginx in Ubuntu. https://bugs.launchpad.net/bugs/1478281 Title: package nginx-full 1.6.2-5ubuntu3.1 failed to install/upgrade: подпроцесс установлен сценарий post-installation возвратил код ошибки 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1478281/+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 1478289] Re: samba fails to start at boot after 15.04 upgrade
Can't find any systemd specific init scripts for samba, either: root@c1:/etc/systemd# find . | grep samba root@c1:/etc/systemd# find . | grep smb root@c1:/etc/systemd# find . | grep nmb -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/1478289 Title: samba fails to start at boot after 15.04 upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1478289/+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 1478289] [NEW] samba fails to start at boot after 15.04 upgrade
Public bug reported: After upgrading to 15.04 from 14.10, Samba no longer starts at boot. I suspect it's related to the switch to systemd, as attempting to set it to start using the systemd tools results in a bunch of error messages: root@c1:~# systemctl enable samba Synchronizing state for samba.service with sysvinit using update-rc.d... Executing /usr/sbin/update-rc.d samba defaults initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. Executing /usr/sbin/update-rc.d samba enable update-rc.d: error: samba Default-Start contains no runlevels, aborting. ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: samba 2:4.1.13+dfsg-4ubuntu3 ProcVersionSignature: Ubuntu 3.19.0-23.24-generic 3.19.8-ckt2 Uname: Linux 3.19.0-23-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.17.2-0ubuntu1.1 Architecture: amd64 Date: Sat Jul 25 16:09:47 2015 InstallationDate: Installed on 2014-11-09 (258 days ago) InstallationMedia: Ubuntu-Server 14.10 Utopic Unicorn - Release amd64 (20141022.2) OtherFailedConnect: Yes ProcEnviron: LANGUAGE=en_CA:en TERM=screen PATH=(custom, no user) LANG=en_CA.UTF-8 SHELL=/bin/bash SambaServerRegression: Yes SmbConfIncluded: No SourcePackage: samba UpgradeStatus: Upgraded to vivid on 2015-07-25 (0 days ago) ** Affects: samba (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug vivid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/1478289 Title: samba fails to start at boot after 15.04 upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1478289/+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 1314740] Re: init script pid parsing has failure cases
This was hit by someone today in the nginx support chat room on Freenode. I found that diff in Debian to fix this, and will likely poke at this today. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nginx in Ubuntu. https://bugs.launchpad.net/bugs/1314740 Title: init script pid parsing has failure cases To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1314740/+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 1314740] Re: init script pid parsing has failure cases
This was fixed in later releases after Trusty. ** Changed in: nginx (Ubuntu) Status: Triaged = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nginx in Ubuntu. https://bugs.launchpad.net/bugs/1314740 Title: init script pid parsing has failure cases To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1314740/+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 1314740] Re: init script pid parsing has failure cases
Additional changes were made in my testing to verbosify the init scripts. I can CONFIRM that this does happen, and will get this in the SRU format. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nginx in Ubuntu. https://bugs.launchpad.net/bugs/1314740 Title: init script pid parsing has failure cases To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1314740/+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 1314740] Re: [SRU] init script pid parsing has failure cases
This attachment is the DebDiff for this. ** Summary changed: - init script pid parsing has failure cases + [SRU] init script pid parsing has failure cases ** Patch added: DebDiff for LP#1314740 in Trusty https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1314740/+attachment/4434043/+files/lp1314740.trusty.debdiff -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nginx in Ubuntu. https://bugs.launchpad.net/bugs/1314740 Title: [SRU] init script pid parsing has failure cases To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1314740/+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 1472953] Re: [MIR] python-rtslib-fb
Since this is a build-time / test-time dependency only, I'm going to go ahead and pre-promote this to main while the MIR is still under review in order to unblock cinder (and thus, unblock openstack from getting into wily, and with it sqlalchemy which is tied up in the python3.5 transition). -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to python-rtslib-fb in Ubuntu. https://bugs.launchpad.net/bugs/1472953 Title: [MIR] python-rtslib-fb To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-rtslib-fb/+bug/1472953/+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 1478262] [NEW] python3-waitress fails to install with python3-all from -proposed
Public bug reported: To trigger this issue, run `sudo apt install python3-all python3-waitress`. On an up to date wily, I have no problems. However, if I enable -proposed and do the same thing, python3-waitress fails to install. Note that I discovered this issue when investigating why python-pecan failed to build (https://launchpadlibrarian.net/212621587 /buildlog_ubuntu-wily-amd64.python-pecan_0.8.2-1ubuntu2_BUILDING.txt.gz) I wasn't sure whether to file a separate issue on that or not since this is the underlying reason. $ sudo apt install python3-all python3-waitress Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libpython3-stdlib python3 python3-minimal Suggested packages: python3-doc python3-tk python3-venv python-waitress-doc The following NEW packages will be installed: python3-all python3-waitress The following packages will be upgraded: libpython3-stdlib python3 python3-minimal 3 upgraded, 2 newly installed, 0 to remove and 63 not upgraded. Need to get 40,3 kB/93,6 kB of archives. After this operation, 386 kB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://no.archive.ubuntu.com/ubuntu/ wily-proposed/main python3-minimal amd64 3.4.3-4ubuntu1 [23,5 kB] Get:2 http://no.archive.ubuntu.com/ubuntu/ wily-proposed/main python3 amd64 3.4.3-4ubuntu1 [8 810 B] Get:3 http://no.archive.ubuntu.com/ubuntu/ wily-proposed/main libpython3-stdlib amd64 3.4.3-4ubuntu1 [7 014 B] Get:4 http://no.archive.ubuntu.com/ubuntu/ wily-proposed/main python3-all amd64 3.4.3-4ubuntu1 [1 044 B] Fetched 40,3 kB in 4s (8 888 B/s) (Reading database ... 205785 files and directories currently installed.) Preparing to unpack .../python3-minimal_3.4.3-4ubuntu1_amd64.deb ... Unpacking python3-minimal (3.4.3-4ubuntu1) over (3.4.3-4) ... Processing triggers for man-db (2.7.0.2-5) ... Setting up python3-minimal (3.4.3-4ubuntu1) ... (Reading database ... 205785 files and directories currently installed.) Preparing to unpack .../python3_3.4.3-4ubuntu1_amd64.deb ... running python pre-rtupdate hooks for python3.4... Unpacking python3 (3.4.3-4ubuntu1) over (3.4.3-4) ... Preparing to unpack .../libpython3-stdlib_3.4.3-4ubuntu1_amd64.deb ... Unpacking libpython3-stdlib:amd64 (3.4.3-4ubuntu1) over (3.4.3-4) ... Selecting previously unselected package python3-all. Preparing to unpack .../python3-all_3.4.3-4ubuntu1_amd64.deb ... Unpacking python3-all (3.4.3-4ubuntu1) ... Selecting previously unselected package python3-waitress. Preparing to unpack .../python3-waitress_0.8.9-2_all.deb ... Unpacking python3-waitress (0.8.9-2) ... Processing triggers for man-db (2.7.0.2-5) ... Setting up libpython3-stdlib:amd64 (3.4.3-4ubuntu1) ... Setting up python3 (3.4.3-4ubuntu1) ... running python rtupdate hooks for python3.4... running python post-rtupdate hooks for python3.4... Setting up python3-all (3.4.3-4ubuntu1) ... Setting up python3-waitress (0.8.9-2) ... update-alternatives: using /usr/bin/waitress-serve-python3 to provide /usr/bin/waitress-serve (waitress-serve) in auto mode File /usr/lib/python3/dist-packages/waitress/__init__.py, line 36 stats.sort_stats(*sort_order or ('cumulative', 'calls', 'time')) ^ SyntaxError: invalid syntax dpkg: error processing package python3-waitress (--configure): subprocess installed post-installation script returned error exit status 1 E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Bug DistroRelease: Ubuntu 15.10 Package: python3-waitress 0.8.9-2 ProcVersionSignature: Ubuntu 4.1.0-2.2-generic 4.1.3 Uname: Linux 4.1.0-2-generic x86_64 ApportVersion: 2.18-0ubuntu5 Architecture: amd64 CurrentDesktop: Unity Date: Sat Jul 25 20:00:19 2015 InstallationDate: Installed on 2015-05-10 (76 days ago) InstallationMedia: Ubuntu 15.10 Wily Werewolf - Alpha amd64 (20150510) PackageArchitecture: all SourcePackage: waitress UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: python-pecan (Ubuntu) Importance: Undecided Status: New ** Affects: python3-defaults (Ubuntu) Importance: Undecided Status: New ** Affects: waitress (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug ftbfs wily ** Description changed: To trigger this issue, run `sudo apt install python3-all python3-waitress`. On an up to date wily, I have no problems. However, if I enable -proposed and do the same thing, python3-waitress fails to install. + Note that I discovered this issue when investigating why python-pecan + failed to build (https://launchpadlibrarian.net/212621587 + /buildlog_ubuntu-wily-amd64.python-pecan_0.8.2-1ubuntu2_BUILDING.txt.gz) + $ sudo apt install python3-all python3-waitress Reading package lists... Done - Building dependency tree + Building dependency tree Reading state information... Done The following extra packages will be
[Bug 1314740] Re: init script pid parsing has failure cases
This is the diff on this which Debian uses, and we'll likely use that here: http://anonscm.debian.org/cgit/collab-maint/nginx.git/commit/debian /nginx-common.nginx.init?id=b4d1fd4a4ed56f487776adefcc843a031b2a7fbd ** Also affects: nginx (Ubuntu Trusty) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nginx in Ubuntu. https://bugs.launchpad.net/bugs/1314740 Title: init script pid parsing has failure cases To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1314740/+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 1314740] Re: init script pid parsing has failure cases
** Description changed: + [Impact] + + * The init script fails to start correctly due to the parsing used by + the init file. The init file here now will scan all of nginx.conf and + find references to 'pid, rather than the actual pidfile line. + + * This means that other directives can cause this to fail. Removing + /dev/null redirections from the init script, the failure error is wildly + apparent. Using the below test case, the 'failure' shows as this when + /dev/null redirections in the init script are removed + + teward@trusty:/etc/nginx$ sudo service nginx start + nginx: invalid option: ~*(crawl|Google|Slurp|bingbot|tracker|click|parser|spider|msnbot|Gigabot) + + + [Test Case] + + There are multiple ways to trigger this, however we'll use the provided + test case here. + + (TEST CASE 1) + + Add this section of code to anywhere in the http { } block of + /etc/nginx/nginx.conf: + + map $http_user_agent $is_bot { + default 0; + ~*(crawl|Google|Slurp|bingbot|tracker|click|parser|spider|msnbot|Gigabot) 1; + } + + With the currently existing package, run `sudo service nginx start` - it + should return a Failure state. Or it will silently fail. `pidof nginx` + will show no output if it fails. + + With the modified code/package, do the same, it will not error out, and + will correctly start nginx. `pidof nginx` will show multiple PIDs. + + + [Regression Potential] + + The changes applied originate from Debian, and are in all subsequent + package releases currently in supported Ubuntu releases. + + Regression potential is likely near-zero. + + + + [Original Description] + After upgrading a server from 12.04 to 14.04 I found that the nginx web server wasn't starting automatically. I could start the server without error from the command line. Running sudo /etc/init.d/nginx start would produce no visible error, but the service would not be started. Running sudo /etc/init.d/nginx restart produces a visible fail error. The nginx startup script (/etc/init.d/nginx) includes this line: PID=$(awk -F'[ \t;]+' '/[^#]pid/ {print $2}' /etc/nginx/nginx.conf) This is intended to find this line (or similar) in the nginx.conf file: pid /var/run/nginx.pid; My nginx.conf file includes this map directive: map $http_user_agent $is_bot { - default 0; - ~*(crawl|Google|Slurp|bingbot|tracker|click|parser|spider|msnbot|Gigabot) 1; - } + default 0; + ~*(crawl|Google|Slurp|bingbot|tracker|click|parser|spider|msnbot|Gigabot) 1; + } The issue is that awk returns the line that includes spider, which creates an incorrect value for the location of the pid file, and the startup script fails. The version of /etc/init.d/nginx provided with 12.04 did not inlcude this awk command and the startup script worked without error. $ lsb_release -rd Description:Ubuntu 14.04 LTS Release:14.04 $ sudo nginx -v nginx version: nginx/1.4.6 (Ubuntu) $ ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: nginx 1.4.6-1ubuntu3 ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9 Uname: Linux 3.13.0-24-generic x86_64 ApportVersion: 2.14.1-0ubuntu3 Architecture: amd64 Date: Wed Apr 30 13:30:35 2014 Dependencies: - + InstallationDate: Installed on 2014-01-30 (90 days ago) InstallationMedia: Ubuntu-Server 12.04.3 LTS Precise Pangolin - Release amd64 (20130820.2) PackageArchitecture: all ProcEnviron: - SHELL=/bin/bash - TERM=xterm - PATH=(custom, no user) - LANG=en_US.UTF-8 - XDG_RUNTIME_DIR=set + SHELL=/bin/bash + TERM=xterm + PATH=(custom, no user) + LANG=en_US.UTF-8 + XDG_RUNTIME_DIR=set SourcePackage: nginx UpgradeStatus: Upgraded to trusty on 2014-04-25 (4 days ago) ** Changed in: nginx (Ubuntu Trusty) Status: New = In Progress ** Changed in: nginx (Ubuntu Trusty) Importance: Undecided = Medium ** Changed in: nginx (Ubuntu Trusty) Assignee: (unassigned) = Thomas Ward (teward) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nginx in Ubuntu. https://bugs.launchpad.net/bugs/1314740 Title: init script pid parsing has failure cases To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1314740/+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