[Bug 97513] Re: squid starts before resolv.conf is populated

2010-10-14 Thread Tobias Krais
In most cases NetworkManager is used for configuring network interfaces.
I attached a file that should be placed
/etc/NetworkManager/dispatcher.d/ and this solves the issue.

Please remind that just reloading squid is no more sufficient (it was
till gusty gibbon, but later a restart is required).

The Fedora project put the attached file in squid package an I suggest
to do this, too.

Please fix it.

One thing is not solved with the patch: after waking up from standby
mode squid is not restarted. Currently I don't know where to put the
restart file.

** Attachment added: "File /etc/NetworkManager/dispatcher.d/20-squid solves the 
issue. Please add it to squid an squid3 package."
   
https://bugs.launchpad.net/ubuntu/+source/squid/+bug/97513/+attachment/1692727/+files/20-squid

** Summary changed:

- squid starts before resolv.conf is populated
+ Squid requires restart after Network Manager made connection to network

-- 
Squid requires restart after Network Manager made connection to network
https://bugs.launchpad.net/bugs/97513
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid 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 97513] Re: squid starts before resolv.conf is populated

2010-06-21 Thread ktp
You could also use a script in /etc/network/if-up.d/ to manage multiple
configurations.

** Attachment added: "/etc/network/if-up.d/squid"
   http://launchpadlibrarian.net/50670345/squid

-- 
squid starts before resolv.conf is populated
https://bugs.launchpad.net/bugs/97513
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid 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 97513] Re: squid starts before resolv.conf is populated

2009-07-09 Thread Luis Felipe Strano Moraes
Hey, adding the script I just attached to
/etc/NetworkManager/dispatcher.d/ seems to fix the issue, this way
network-manager reloads squid when he connects to a new network. The fix
is adapted from the one found here:
https://bugzilla.redhat.com/show_bug.cgi?id=453304

** Bug watch added: Red Hat Bugzilla #453304
   https://bugzilla.redhat.com/show_bug.cgi?id=453304

** Attachment added: "network-manager script to reload squid"
   http://launchpadlibrarian.net/28849234/20squid

-- 
squid starts before resolv.conf is populated
https://bugs.launchpad.net/bugs/97513
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid 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 97513] Re: squid starts before resolv.conf is populated

2009-06-26 Thread Kevin Turner
Yeah, this isn't just for roaming laptops, as Carlos noted this is a
problem even for desktop installations that use network-manager to get
DHCP from a wired interface.

I looked through the network-manager revision history, and found this:

network-manager (0.7.1~rc1-0ubuntu2) jaunty; urgency=low

  * start NetworkManager daemon later (50) and remove old init links
accordingly (requested by Keybuk aka  sc...@ubuntu.com)

which means that someone decided it was a good idea to start
NetworkManager *after* a lot of network-dependent services start, but I
haven't yet found documentation of the reasoning behind that decision.

-- 
squid starts before resolv.conf is populated
https://bugs.launchpad.net/bugs/97513
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid 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 97513] Re: squid starts before resolv.conf is populated

2009-04-30 Thread Tobias Krais
Hi again,

my post before is solved and is not related with the issue.

Sorry for disturbing.

Greetings,

Tobias

-- 
squid starts before resolv.conf is populated
https://bugs.launchpad.net/bugs/97513
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid 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 97513] Re: squid starts before resolv.conf is populated

2009-04-27 Thread Tobias Krais
Hi guys,

here my scenario: I have a local transparent squid and dansguardian for
content filtering issues working. I was not able to reproduce this bug
in Intrepid.

I started my Laptop and it worked. I established a VPN connection with
the Gnome Network manager and Squid reloaded automatically. So I was
able to use the new nameserver.

But now I upgraded to Jaunty. Since then, I have to reload squid
manually as soon as my network connection is established. When I
establish my VPN connection, my /etc/resolv.conf is modified and squid
does handle no more connections, even if I reload squid!

This is horrible for me. Is this a misconfiugration from my side? In
Intrepid, everything worked out.

Or is this not even a whishlist, but a bug?

Greetings, Tobias

-- 
squid starts before resolv.conf is populated
https://bugs.launchpad.net/bugs/97513
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid 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 97513] Re: squid starts before resolv.conf is populated

2008-12-05 Thread Connor Imes
** Changed in: squid (Ubuntu)
   Status: Incomplete => Confirmed

-- 
squid starts before resolv.conf is populated
https://bugs.launchpad.net/bugs/97513
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid 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 97513] Re: squid starts before resolv.conf is populated

2008-11-06 Thread Carlos Eduardo Moreira dos Santos
I've done a fresh 8.10 desktop install and I have to restart squid every
time I boot the PC. Otherwise:

2008/11/06 12:49:34| Warning: Could not find any nameservers. Trying to use 
localhost
2008/11/06 12:49:34| Please check your /etc/resolv.conf file

Is it possible to change the service starting orders? If squid starts
after NetworkManager, the problem could be solved.

-- 
squid starts before resolv.conf is populated
https://bugs.launchpad.net/bugs/97513
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid 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 97513] Re: squid starts before resolv.conf is populated

2008-08-05 Thread Connor Imes
Thank you for taking the time to report this bug and helping to make
Ubuntu better. You reported this bug a while ago and there hasn't been
any activity in it recently. We were wondering is this still an issue
for you? Can you try with latest Ubuntu release? Thanks in advance.

-- 
squid starts before resolv.conf is populated
https://bugs.launchpad.net/bugs/97513
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid 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 97513] Re: squid starts before resolv.conf is populated

2008-03-26 Thread Chuck Short
So basically start squid when you bring up your network right?

Thanks
chuck

** Changed in: squid (Ubuntu)
   Importance: Undecided => Wishlist
   Status: New => Incomplete

-- 
squid starts before resolv.conf is populated
https://bugs.launchpad.net/bugs/97513
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid 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