[Bug 750371] Re: squid causing /var to stay busy during shutdown
This bug was fixed in the package squid - 2.7.STABLE9-2ubuntu5.2 --- squid (2.7.STABLE9-2ubuntu5.2) maverick-proposed; urgency=low * d/squid.upstart: start on was not sufficient to restart squid on transition from runlevel 1 to 2 (LP: #561779). Also stop on condition was not sufficient to stop squid because of a missing space. (LP: #750371) -- Clint Byrum cl...@ubuntu.com Sat, 27 Aug 2011 02:21:34 -0700 ** Changed in: squid (Ubuntu Maverick) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid in Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+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 750371] Re: squid causing /var to stay busy during shutdown
This bug was fixed in the package squid - 2.7.STABLE9-2ubuntu5.2 --- squid (2.7.STABLE9-2ubuntu5.2) maverick-proposed; urgency=low * d/squid.upstart: start on was not sufficient to restart squid on transition from runlevel 1 to 2 (LP: #561779). Also stop on condition was not sufficient to stop squid because of a missing space. (LP: #750371) -- Clint Byrum cl...@ubuntu.com Sat, 27 Aug 2011 02:21:34 -0700 ** Changed in: squid (Ubuntu Maverick) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 750371] Re: squid causing /var to stay busy during shutdown
I was able to reproduce this issue with squid 2.7.STABLE9-2ubuntu5.1, and have verified that the version in maverick-proposed, 2.7.STABLE9-2ubuntu5.2 appears to fix the issue. After upgrading, squid continued to function as expected. Marking verification-done. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid in Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+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 750371] Re: squid causing /var to stay busy during shutdown
I was able to reproduce this issue with squid 2.7.STABLE9-2ubuntu5.1, and have verified that the version in maverick-proposed, 2.7.STABLE9-2ubuntu5.2 appears to fix the issue. After upgrading, squid continued to function as expected. Marking verification-done. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 750371] Re: squid causing /var to stay busy during shutdown
** Tags removed: verification-done-lucid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid in Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+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 750371] Re: squid causing /var to stay busy during shutdown
** Tags removed: verification-done-lucid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 750371] Re: squid causing /var to stay busy during shutdown
This bug was fixed in the package squid - 2.7.STABLE7-1ubuntu12.4 --- squid (2.7.STABLE7-1ubuntu12.4) lucid-proposed; urgency=low * d/squid.upstart: start on was not sufficient to restart squid on transition from runlevel 1 to 2 (LP: #561779). Also stop on condition was not sufficient to stop squid because of a missing space. (LP: #750371) -- Clint Byrum cl...@ubuntu.com Sat, 27 Aug 2011 03:20:45 -0700 ** Changed in: squid (Ubuntu Lucid) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid in Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+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 750371] Re: squid causing /var to stay busy during shutdown
This bug was fixed in the package squid - 2.7.STABLE7-1ubuntu12.4 --- squid (2.7.STABLE7-1ubuntu12.4) lucid-proposed; urgency=low * d/squid.upstart: start on was not sufficient to restart squid on transition from runlevel 1 to 2 (LP: #561779). Also stop on condition was not sufficient to stop squid because of a missing space. (LP: #750371) -- Clint Byrum cl...@ubuntu.com Sat, 27 Aug 2011 03:20:45 -0700 ** Changed in: squid (Ubuntu Lucid) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 750371] Re: squid causing /var to stay busy during shutdown
** Branch linked: lp:ubuntu/lucid-updates/squid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 750371] Re: squid causing /var to stay busy during shutdown
Thank you very much for your time! -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid in Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+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 750371] Re: squid causing /var to stay busy during shutdown
Thank you very much Clint and Chris, and especially Jorge! I have finally found some time to get rid of my ugly workaround to this bug (which involved manually stopping squid before filesystem unmounting) and installed squid 2.7.STABLE7-1ubuntu12.4 from lucid- proposed. Besides a dirty filesystem upon the first shutdown right after the update, all subsequent shutdown/reboot attempts were fine. Looks like this pesky bug is finally squashed! :) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid in Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+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 750371] Re: squid causing /var to stay busy during shutdown
Thanks ryokenau, marking verification-done-lucid. We still need somebody to verify this on maverick. Thanks! ** Tags added: verification-done-lucid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid in Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+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 750371] Re: squid causing /var to stay busy during shutdown
Thank you very much for your time! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 750371] Re: squid causing /var to stay busy during shutdown
Thank you very much Clint and Chris, and especially Jorge! I have finally found some time to get rid of my ugly workaround to this bug (which involved manually stopping squid before filesystem unmounting) and installed squid 2.7.STABLE7-1ubuntu12.4 from lucid- proposed. Besides a dirty filesystem upon the first shutdown right after the update, all subsequent shutdown/reboot attempts were fine. Looks like this pesky bug is finally squashed! :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 750371] Re: squid causing /var to stay busy during shutdown
Thanks ryokenau, marking verification-done-lucid. We still need somebody to verify this on maverick. Thanks! ** Tags added: verification-done-lucid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 750371] Re: squid causing /var to stay busy during shutdown
Hello ryokenau, or anyone else affected, Accepted squid into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Changed in: squid (Ubuntu Lucid) Status: Triaged = Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid in Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+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 750371] Re: squid causing /var to stay busy during shutdown
Hello ryokenau, or anyone else affected, Accepted squid into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Changed in: squid (Ubuntu Maverick) Status: Triaged = Fix Committed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid in Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+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 750371] Re: squid causing /var to stay busy during shutdown
** Branch linked: lp:ubuntu/lucid-proposed/squid ** Branch linked: lp:ubuntu/maverick-proposed/squid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid in Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+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 750371] Re: squid causing /var to stay busy during shutdown
Hello ryokenau, or anyone else affected, Accepted squid into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Changed in: squid (Ubuntu Lucid) Status: Triaged = Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 750371] Re: squid causing /var to stay busy during shutdown
Hello ryokenau, or anyone else affected, Accepted squid into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Changed in: squid (Ubuntu Maverick) Status: Triaged = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 750371] Re: squid causing /var to stay busy during shutdown
** Branch linked: lp:ubuntu/lucid-proposed/squid ** Branch linked: lp:ubuntu/maverick-proposed/squid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 750371] Re: squid causing /var to stay busy during shutdown
Good eyes there Jorge. I missed that entirely. It seems I inadvertently fixed this in natty at 2.7.STABLE9-2.1ubuntu6 when fixing bug #561779. But it needs to be fixed in maverick and Lucid as well. I would agree with you that this is a High Priority, as squid needs to be stopped! ** This bug is no longer a duplicate of bug 688541 race condition on shutdown (leads to corrupted fs) ** Also affects: squid (Ubuntu Lucid) Importance: Undecided Status: New ** Also affects: squid (Ubuntu Maverick) Importance: Undecided Status: New ** Changed in: squid (Ubuntu) Status: New = Fix Released ** Changed in: squid (Ubuntu Lucid) Status: New = Triaged ** Changed in: squid (Ubuntu Lucid) Importance: Undecided = High ** Changed in: squid (Ubuntu Maverick) Status: New = Triaged ** Changed in: squid (Ubuntu Maverick) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid in Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+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 750371] Re: squid causing /var to stay busy during shutdown
I've uploaded fixed squids to lucid-proposed and maverick-proposed. Thanks again Jorge! -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid in Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+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 750371] Re: squid causing /var to stay busy during shutdown
Good eyes there Jorge. I missed that entirely. It seems I inadvertently fixed this in natty at 2.7.STABLE9-2.1ubuntu6 when fixing bug #561779. But it needs to be fixed in maverick and Lucid as well. I would agree with you that this is a High Priority, as squid needs to be stopped! ** This bug is no longer a duplicate of bug 688541 race condition on shutdown (leads to corrupted fs) ** Also affects: squid (Ubuntu Lucid) Importance: Undecided Status: New ** Also affects: squid (Ubuntu Maverick) Importance: Undecided Status: New ** Changed in: squid (Ubuntu) Status: New = Fix Released ** Changed in: squid (Ubuntu Lucid) Status: New = Triaged ** Changed in: squid (Ubuntu Lucid) Importance: Undecided = High ** Changed in: squid (Ubuntu Maverick) Status: New = Triaged ** Changed in: squid (Ubuntu Maverick) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 750371] Re: squid causing /var to stay busy during shutdown
I've uploaded fixed squids to lucid-proposed and maverick-proposed. Thanks again Jorge! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 750371] Re: squid causing /var to stay busy during shutdown
*** This bug is a duplicate of bug 688541 *** https://bugs.launchpad.net/bugs/688541 Also on the 2nd line for 'stop on' there is no space after runlevel. Correct syntax should be: start on runlevel [2345] or net-device-up IFACE!=lo stop on runlevel [!2345] I also applied codewarrior's patch to sendsig found on https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/616287 With these 2 changes I fixed 2 servers running 10.04.3 LTS that had this problem. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid in Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+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 750371] Re: squid causing /var to stay busy during shutdown
*** This bug is a duplicate of bug 688541 *** https://bugs.launchpad.net/bugs/688541 Also on the 2nd line for 'stop on' there is no space after runlevel. Correct syntax should be: start on runlevel [2345] or net-device-up IFACE!=lo stop on runlevel [!2345] I also applied codewarrior's patch to sendsig found on https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/616287 With these 2 changes I fixed 2 servers running 10.04.3 LTS that had this problem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 750371] Re: squid causing /var to stay busy during shutdown
*** This bug is a duplicate of bug 688541 *** https://bugs.launchpad.net/bugs/688541 On ubuntu 10.04.3 LTS the problem is on the start on line in /etc/init/squid.conf file. It is different from the one in ubuntu 11.04. You should have something like: start on runlevel [2345] or net-device-up IFACE!=lo stop on runlevel[!2345] This fixed the problem for me. Now squid shut downs properly. The /etc/init.d/sendsig works just fine and it has nothing to do with this bug since it ignores processes managed by upstart like squid. PD: I found a similar problems in /etc/init/sshd.conf causing problems when switching runlevels. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid in Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+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 750371] Re: squid causing /var to stay busy during shutdown
*** This bug is a duplicate of bug 688541 *** https://bugs.launchpad.net/bugs/688541 On ubuntu 10.04.3 LTS the problem is on the start on line in /etc/init/squid.conf file. It is different from the one in ubuntu 11.04. You should have something like: start on runlevel [2345] or net-device-up IFACE!=lo stop on runlevel[!2345] This fixed the problem for me. Now squid shut downs properly. The /etc/init.d/sendsig works just fine and it has nothing to do with this bug since it ignores processes managed by upstart like squid. PD: I found a similar problems in /etc/init/sshd.conf causing problems when switching runlevels. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/750371/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 750371] Re: squid causing /var to stay busy during shutdown
*** This bug is a duplicate of bug 688541 *** https://bugs.launchpad.net/bugs/688541 /etc/init/squid.conf actually does have the appropriate 'stop on': stop on runlevel [!2345] However, umountfs/sendsigs don't wait for these things to actually die before completing the shutdown. That is bug #688541 . So , This is a duplicate of that bug, marking as such. ** This bug has been marked a duplicate of bug 688541 race condition on shutdown (leads to corrupted fs) * You can subscribe to bug 688541 by following this link: https://bugs.launchpad.net/ubuntu/+source/mysql-5.1/+bug/688541/+subscribe -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid in Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown -- 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 750371] Re: squid causing /var to stay busy during shutdown
*** This bug is a duplicate of bug 688541 *** https://bugs.launchpad.net/bugs/688541 /etc/init/squid.conf actually does have the appropriate 'stop on': stop on runlevel [!2345] However, umountfs/sendsigs don't wait for these things to actually die before completing the shutdown. That is bug #688541 . So , This is a duplicate of that bug, marking as such. ** This bug has been marked a duplicate of bug 688541 race condition on shutdown (leads to corrupted fs) * You can subscribe to bug 688541 by following this link: https://bugs.launchpad.net/ubuntu/+source/mysql-5.1/+bug/688541/+subscribe -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 750371] Re: squid causing /var to stay busy during shutdown
Thank you for taking the time to report this bug and helping to make Ubuntu better. I was able to confirm this issue in the latest development release as well. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid in Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown -- 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 750371] Re: squid causing /var to stay busy during shutdown
Thank you for taking the time to report this bug and helping to make Ubuntu better. I was able to confirm this issue in the latest development release as well. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/750371 Title: squid causing /var to stay busy during shutdown -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 750371] Re: squid causing /var to stay busy during shutdown
** Description changed: Binary package hint: squid I'm running Ubuntu 10.04.2 LTS with latest version of squid - 2.7.STABLE7-1ubuntu12.2. When I + 2.7.STABLE7-1ubuntu12.2. When I shutdown or reboot the system, I get the + following error: - shutdown or reboot the system, I get the following error: - - * Unmounting local filesystems... + * Unmounting local filesystems... umount2: Device or resource busy umount: /var: device is busy. - (In some cases useful info about processes that use - the device is found by lsof(8) or fuser(1)) + (In some cases useful info about processes that use + the device is found by lsof(8) or fuser(1)) umount2: Device or resource busy umount2: Device or resource busy umount: /dev/mapper/vg01-usr busy - remounted read-only - [fail] + [fail] When the system starts up again, I can see the following message: /dev/mapper/vg01-var: recovering journal It appears the /var partition was not cleanly unmounted during shutdown. - Obviously, there is a risk - - of filesystem corruption here. FYI, i have /var and other important - mountpoints as separate - - partitions (using LVM and ext4). + Obviously, there is a risk of filesystem corruption here. FYI, i have + /var and other important mountpoints as separate partitions (using LVM + and ext4). To confirm my suspicions of squid still running during shutdown, I - checked /var/log/squid/cache.log - - and there is no indication that it received the signal to terminate. In - fact, cache.log hints at - - this problem while the system is being brought up again: + checked /var/log/squid/cache.log and there is no indication that it + received the signal to terminate. In fact, cache.log hints at this + problem while the system is being brought up again: Rebuilding storage in /var/spool/squid (DIRTY) - Only when I manually ran stop squid, then cache.log would report that + Only when I manually run stop squid, then cache.log would report that squid stopped successfully: Preparing for shutdown after 0 requests Waiting 30 seconds for active connections to finish FD 14 Closing HTTP connection Shutting down... FD 15 Closing ICP connection Closing unlinkd pipe FD 12 ... skipped ... logfileClose: closing log /var/log/squid/store.log logfileClose: closing log /var/log/squid/access.log Squid Cache (Version 2.7.STABLE7): Exiting normally. To test whether /var was locked by squid during shutdown, I added a - script to run ls /var/run | - - grep squid and lsof | grep var before filesystems are unmounted. And - voila! + script to run ls /var/run | grep squid and lsof | grep var before + filesystems are unmounted. And voila! ls /var/run | grep squid: squid.pid lsof | grep var: squid 971 proxy cwd DIR 251,44096 130613/var/spool/squid squid 971 proxy 5u REG 251,4 13617 128678 /var/log/squid/cache.log squid 971 proxy 7w REG 251,4 0 128724 /var/log/squid/access.log squid 971 proxy 9w REG 251,4 0 128789 /var/log/squid/store.log squid 971 proxy 11w REG 251,4 48 130308 /var/spool/squid/swap.state Hence, the next system startup would result in /var recovering journal again. Finally, I tried running stop squid before issuing the shutdown - command and it successfully - - unmounts /var and I do not get /var recovering journal on the next - system startup. + command and it successfully unmounts /var and I do not get /var + recovering journal on the next system startup. ** Description changed: Binary package hint: squid I'm running Ubuntu 10.04.2 LTS with latest version of squid - 2.7.STABLE7-1ubuntu12.2. When I shutdown or reboot the system, I get the - following error: + 2.7.STABLE7-1ubuntu12.2. This is a default install - there have been no + changes to /etc/squid.conf. + + When I shutdown or reboot the system, I get the following error: * Unmounting local filesystems... umount2: Device or resource busy umount: /var: device is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1)) umount2: Device or resource busy umount2: Device or resource busy umount: /dev/mapper/vg01-usr busy - remounted read-only [fail] When the system starts up again, I can see the following message: /dev/mapper/vg01-var: recovering journal It appears the /var partition was not cleanly unmounted during shutdown. Obviously, there is a risk of filesystem corruption here. FYI, i have /var and other important mountpoints as separate partitions (using LVM and ext4). To confirm my suspicions of squid still running during shutdown, I checked /var/log/squid/cache.log and there is no indication that it received the signal to terminate. In fact,
[Bug 750371] Re: squid causing /var to stay busy during shutdown
** Description changed: Binary package hint: squid I'm running Ubuntu 10.04.2 LTS with latest version of squid - 2.7.STABLE7-1ubuntu12.2. When I + 2.7.STABLE7-1ubuntu12.2. When I shutdown or reboot the system, I get the + following error: - shutdown or reboot the system, I get the following error: - - * Unmounting local filesystems... + * Unmounting local filesystems... umount2: Device or resource busy umount: /var: device is busy. - (In some cases useful info about processes that use - the device is found by lsof(8) or fuser(1)) + (In some cases useful info about processes that use + the device is found by lsof(8) or fuser(1)) umount2: Device or resource busy umount2: Device or resource busy umount: /dev/mapper/vg01-usr busy - remounted read-only - [fail] + [fail] When the system starts up again, I can see the following message: /dev/mapper/vg01-var: recovering journal It appears the /var partition was not cleanly unmounted during shutdown. - Obviously, there is a risk - - of filesystem corruption here. FYI, i have /var and other important - mountpoints as separate - - partitions (using LVM and ext4). + Obviously, there is a risk of filesystem corruption here. FYI, i have + /var and other important mountpoints as separate partitions (using LVM + and ext4). To confirm my suspicions of squid still running during shutdown, I - checked /var/log/squid/cache.log - - and there is no indication that it received the signal to terminate. In - fact, cache.log hints at - - this problem while the system is being brought up again: + checked /var/log/squid/cache.log and there is no indication that it + received the signal to terminate. In fact, cache.log hints at this + problem while the system is being brought up again: Rebuilding storage in /var/spool/squid (DIRTY) - Only when I manually ran stop squid, then cache.log would report that + Only when I manually run stop squid, then cache.log would report that squid stopped successfully: Preparing for shutdown after 0 requests Waiting 30 seconds for active connections to finish FD 14 Closing HTTP connection Shutting down... FD 15 Closing ICP connection Closing unlinkd pipe FD 12 ... skipped ... logfileClose: closing log /var/log/squid/store.log logfileClose: closing log /var/log/squid/access.log Squid Cache (Version 2.7.STABLE7): Exiting normally. To test whether /var was locked by squid during shutdown, I added a - script to run ls /var/run | - - grep squid and lsof | grep var before filesystems are unmounted. And - voila! + script to run ls /var/run | grep squid and lsof | grep var before + filesystems are unmounted. And voila! ls /var/run | grep squid: squid.pid lsof | grep var: squid 971 proxy cwd DIR 251,44096 130613/var/spool/squid squid 971 proxy 5u REG 251,4 13617 128678 /var/log/squid/cache.log squid 971 proxy 7w REG 251,4 0 128724 /var/log/squid/access.log squid 971 proxy 9w REG 251,4 0 128789 /var/log/squid/store.log squid 971 proxy 11w REG 251,4 48 130308 /var/spool/squid/swap.state Hence, the next system startup would result in /var recovering journal again. Finally, I tried running stop squid before issuing the shutdown - command and it successfully - - unmounts /var and I do not get /var recovering journal on the next - system startup. + command and it successfully unmounts /var and I do not get /var + recovering journal on the next system startup. ** Description changed: Binary package hint: squid I'm running Ubuntu 10.04.2 LTS with latest version of squid - 2.7.STABLE7-1ubuntu12.2. When I shutdown or reboot the system, I get the - following error: + 2.7.STABLE7-1ubuntu12.2. This is a default install - there have been no + changes to /etc/squid.conf. + + When I shutdown or reboot the system, I get the following error: * Unmounting local filesystems... umount2: Device or resource busy umount: /var: device is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1)) umount2: Device or resource busy umount2: Device or resource busy umount: /dev/mapper/vg01-usr busy - remounted read-only [fail] When the system starts up again, I can see the following message: /dev/mapper/vg01-var: recovering journal It appears the /var partition was not cleanly unmounted during shutdown. Obviously, there is a risk of filesystem corruption here. FYI, i have /var and other important mountpoints as separate partitions (using LVM and ext4). To confirm my suspicions of squid still running during shutdown, I checked /var/log/squid/cache.log and there is no indication that it received the signal to terminate. In fact,