← Back to team overview

sts-sponsors team mailing list archive

[Bug 1913581] [NEW] [plugin][systemd] prefer resolvectl over systemd-resolve

 

Public bug reported:

'resolvectl' has been introduced in systemd v239.

In ubuntu, a symlink has been created as follows:

$ ls -altr /usr/bin/systemd-resolve 
lrwxrwxrwx 1 root root 10 Jul  6  2020 /usr/bin/systemd-resolve -> resolvectl

Both command can still be executed, but the symlink will eventually disapear.
It is only to accomodate the transition.

In stable releases we have systemd version lt and gt v239:

#systemd-resolve (wo/ resolvectl cmd at all):
 systemd | 229-4ubuntu21.27 | xenial-security 
 systemd | 229-4ubuntu21.29 | xenial-updates  
 systemd | 237-3ubuntu10    | bionic          
 systemd | 237-3ubuntu10.38 | bionic-security 
 systemd | 237-3ubuntu10.44 | bionic-updates  

#resolvectl (with the deprecated symlink):
 systemd | 245.4-4ubuntu3   | focal           
 systemd | 245.4-4ubuntu3.4 | focal-updates   
 systemd | 246.6-1ubuntu1   | groovy          
 systemd | 246.6-1ubuntu1.1 | groovy-updates  
 systemd | 247.1-4ubuntu1   | hirsute         

This 'sos' change enable 'resolvectl' as the preference but is backward
compatible with 'systemd-resolve' for systemd with systemd version lt
v239.

Upstream:
https://github.com/sosreport/sos/pull/2385
https://github.com/sosreport/sos/pull/2385/commits

Debian:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=979264

** Affects: sosreport (Ubuntu)
     Importance: Undecided
     Assignee: Eric Desrochers (slashd)
         Status: In Progress

** Affects: sosreport (Ubuntu Bionic)
     Importance: Undecided
     Assignee: Eric Desrochers (slashd)
         Status: In Progress

** Affects: sosreport (Ubuntu Focal)
     Importance: Undecided
     Assignee: Eric Desrochers (slashd)
         Status: In Progress

** Affects: sosreport (Ubuntu Groovy)
     Importance: Undecided
     Assignee: Eric Desrochers (slashd)
         Status: In Progress

** Affects: sosreport (Ubuntu Hirsute)
     Importance: Undecided
     Assignee: Eric Desrochers (slashd)
         Status: In Progress

** Affects: sosreport (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: seg sts

** Also affects: sosreport (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: sosreport (Ubuntu Hirsute)
   Importance: Undecided
       Status: New

** Also affects: sosreport (Ubuntu Groovy)
   Importance: Undecided
       Status: New

** Also affects: sosreport (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Changed in: sosreport (Ubuntu Hirsute)
     Assignee: (unassigned) => Eric Desrochers (slashd)

** Changed in: sosreport (Ubuntu Hirsute)
       Status: New => In Progress

** Changed in: sosreport (Ubuntu Groovy)
       Status: New => In Progress

** Changed in: sosreport (Ubuntu Focal)
       Status: New => In Progress

** Changed in: sosreport (Ubuntu Bionic)
       Status: New => Incomplete

** Changed in: sosreport (Ubuntu Groovy)
     Assignee: (unassigned) => Eric Desrochers (slashd)

** Changed in: sosreport (Ubuntu Focal)
     Assignee: (unassigned) => Eric Desrochers (slashd)

** Changed in: sosreport (Ubuntu Bionic)
     Assignee: (unassigned) => Eric Desrochers (slashd)

** Changed in: sosreport (Ubuntu Bionic)
       Status: Incomplete => In Progress

** Changed in: sosreport (Ubuntu Bionic)
       Status: In Progress => Won't Fix

** Changed in: sosreport (Ubuntu Bionic)
       Status: Won't Fix => In Progress

** Tags added: seg sts

** Summary changed:

- [plugin]systemd] prefer resolvectl over systemd-resolve
+ [plugin][systemd] prefer resolvectl over systemd-resolve

** Bug watch added: Debian Bug tracker #979264
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=979264

** Also affects: sosreport (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=979264
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of STS
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1913581

Title:
  [plugin][systemd] prefer resolvectl over systemd-resolve

Status in sosreport package in Ubuntu:
  In Progress
Status in sosreport source package in Bionic:
  In Progress
Status in sosreport source package in Focal:
  In Progress
Status in sosreport source package in Groovy:
  In Progress
Status in sosreport source package in Hirsute:
  In Progress
Status in sosreport package in Debian:
  Unknown

Bug description:
  'resolvectl' has been introduced in systemd v239.

  In ubuntu, a symlink has been created as follows:

  $ ls -altr /usr/bin/systemd-resolve 
  lrwxrwxrwx 1 root root 10 Jul  6  2020 /usr/bin/systemd-resolve -> resolvectl

  Both command can still be executed, but the symlink will eventually disapear.
  It is only to accomodate the transition.

  In stable releases we have systemd version lt and gt v239:

  #systemd-resolve (wo/ resolvectl cmd at all):
   systemd | 229-4ubuntu21.27 | xenial-security 
   systemd | 229-4ubuntu21.29 | xenial-updates  
   systemd | 237-3ubuntu10    | bionic          
   systemd | 237-3ubuntu10.38 | bionic-security 
   systemd | 237-3ubuntu10.44 | bionic-updates  

  #resolvectl (with the deprecated symlink):
   systemd | 245.4-4ubuntu3   | focal           
   systemd | 245.4-4ubuntu3.4 | focal-updates   
   systemd | 246.6-1ubuntu1   | groovy          
   systemd | 246.6-1ubuntu1.1 | groovy-updates  
   systemd | 247.1-4ubuntu1   | hirsute         

  This 'sos' change enable 'resolvectl' as the preference but is
  backward compatible with 'systemd-resolve' for systemd with systemd
  version lt v239.

  Upstream:
  https://github.com/sosreport/sos/pull/2385
  https://github.com/sosreport/sos/pull/2385/commits

  Debian:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=979264

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


Follow ups