[Touch-packages] [Bug 2049392] [NEW] Symlink for resolv.conf not working with F5 vpn

2024-01-15 Thread christophe hubert
Public bug reported:

Hi,

I create this bug issue following an advice from Nick Rosbrook in this
bug : https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2043234


May be it's a F5 VPN. I haven't found such a bug anywhere. 

I have an issue when connection to a F5 VPN when  /etc/resolv.conf is
the symbolic link of ../run/systemd/resolve/stub-resolv.conf

➜ ~ sudo ls -la /etc/resolv.conf
lrwxrwxrwx 1 root root 39 juin 23 12:37 /etc/resolv.conf -> 
../run/systemd/resolve/stub-resolv.conf

When F5 is launched, /etc/resolv.conf is not changed. I have to manually
set resolv.conf to change the nameserver(s).


When I change the symbolic link /etc/resolv.conf to
/run/systemd/resolve/resolv.conf

sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf

When F5 is launched, /etc/resolv.conf is  updated whith vpn
nameserver(s).

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

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2049392

Title:
   Symlink for resolv.conf not working with F5 vpn

Status in systemd package in Ubuntu:
  New

Bug description:
  Hi,

  I create this bug issue following an advice from Nick Rosbrook in this
  bug : https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2043234

  
  May be it's a F5 VPN. I haven't found such a bug anywhere. 

  I have an issue when connection to a F5 VPN when  /etc/resolv.conf is
  the symbolic link of ../run/systemd/resolve/stub-resolv.conf

  ➜ ~ sudo ls -la /etc/resolv.conf
  lrwxrwxrwx 1 root root 39 juin 23 12:37 /etc/resolv.conf -> 
../run/systemd/resolve/stub-resolv.conf

  When F5 is launched, /etc/resolv.conf is not changed. I have to
  manually set resolv.conf to change the nameserver(s).


  
  When I change the symbolic link /etc/resolv.conf to 
/run/systemd/resolve/resolv.conf

  sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf

  When F5 is launched, /etc/resolv.conf is  updated whith vpn
  nameserver(s).

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2043234] Re: Symlink for resolv.conf is wrong on fresh install

2023-11-30 Thread christophe hubert
Thank you Vitalii,

Your fix helped me a lot,

My Ubuntu was in 22.04 when this problem appeared : DNS domain search
paths not updated when VPN started


Before your fix : 

➜  ~ sudo ls -la  /etc/resolv.conf
lrwxrwxrwx 1 root root 39 juin  23 12:37 /etc/resolv.conf -> 
../run/systemd/resolve/stub-resolv.conf


So this symbolic link has been changed on june 23, 2023.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2043234

Title:
  Symlink for resolv.conf is wrong on fresh install

Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  Hello. Sorry for disturb, may I ask you please to confirm if im not doing 
anything wrong with new installation?
  Its being a while since the problem exists AT LEAST IN MY CASE with "faulty 
path" for symlinc at resolv.conf
  I believe its keep happening since 18.04 version and even now in 22.04
  So, in the fresh install the path looks like this:
  lrwxrwxrwx  1 root root 39 Feb 17  2023 resolv.conf -> 
../run/systemd/resolve/stub-resolv.conf

  but once im running :
  sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf

  everything works fine. By everything I mean when I run nslookup.

  Regards,

  Vitalii Sharapov

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp