** Description changed:

  [Impact]
  
  Current bionic d/control doesn't include "python3-sss" or "python-sss"
  as runtime dependency:
  
  Package: sssd-tools
  Architecture: any
  Depends:
   python,
   sssd-common (= ${binary:Version}),
   ${misc:Depends},
   ${shlibs:Depends}
  Description: System Security Services Daemon -- tools
   Provides a set of daemons to manage access to remote directories and
   authentication mechanisms. It provides an NSS and PAM interface toward
   the system and a pluggable backend system to connect to multiple different
   account sources. It is also the basis to provide client auditing and policy
   services for projects like FreeIPA.
  
  Current workaround:
  On can install the dependency by hand.
  
  [Test Case]
  
  # lsb_release -cs
  bionic
  
  # Install sssd-tools
  
  # sss_obfuscate
  Traceback (most recent call last):
    File "/usr/sbin/sss_obfuscate", line 8, in <module>
      import pysss
  ImportError: No module named pysss
  
  [Potential Regression]
  
  After adding the dependency, if one run let's say 'apt-get upgrade':
  
  APT-GET(8):
- under no circumstances are currently installed packages removed, or packages 
not already installed retrieved and installed. 
+ under no circumstances are currently installed packages removed, or packages 
not already installed retrieved and installed.
  
  Meaning that one who would go that route, may not be able to get the new
  package.
  
  APT-GET(8) dist-upgrade:
  dist-upgrade in addition to performing the function of upgrade, also 
intelligently handles changing dependencies with new versions of packages
  
  [Other Infos]
  
  * Debian upstream:
  
https://salsa.debian.org/sssd-team/sssd/commit/b41c0f81c6dcc672636220c46ed3d52f3b69ba7c
  
  * Debian Bug:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905220
  
- Rmadison:                 
- => sssd-tools | 1.16.1-1ubuntu1.4  | bionic-updates                     
-    sssd-tools | 2.2.0-4ubuntu1     | eoan                     
-    sssd-tools | 2.2.2-1            | focal                    
-    sssd-tools | 2.2.2-1ubuntu1     | focal-proposed
+ Rmadison:
+ => sssd-tools | 1.16.1-1ubuntu1.4  | bionic-updates
+    sssd-tools | 2.2.0-4ubuntu1     | eoan
+    sssd-tools | 2.2.2-1            | focal
+    sssd-tools | 2.2.2-1ubuntu1     | focal-proposed
+ 
+ 
+ python2 was dropped in sssd-tools starting debian/2.2 via:
+ 1cb1934d1 Drop python2 support. (Closes: #938566)
+ 
+ which refers to focal in the Ubuntu world.
+ 
+ Only since focal, we see clearly see 'sss_obfuscate' officially
+ switching to py3:
+ 
+ f/sssd-2.2.2/debian/rules:    
+ sed -i -e 's:/usr/bin/python:/usr/bin/python3:' 
$(CURDIR)/debian/tmp/usr/sbin/sss_obfuscate

** Description changed:

  [Impact]
  
  Current bionic d/control doesn't include "python3-sss" or "python-sss"
  as runtime dependency:
  
  Package: sssd-tools
  Architecture: any
  Depends:
   python,
   sssd-common (= ${binary:Version}),
   ${misc:Depends},
   ${shlibs:Depends}
  Description: System Security Services Daemon -- tools
   Provides a set of daemons to manage access to remote directories and
   authentication mechanisms. It provides an NSS and PAM interface toward
   the system and a pluggable backend system to connect to multiple different
   account sources. It is also the basis to provide client auditing and policy
   services for projects like FreeIPA.
  
  Current workaround:
- On can install the dependency by hand.
+ One can install the dependency by hand.
  
  [Test Case]
  
  # lsb_release -cs
  bionic
  
  # Install sssd-tools
  
  # sss_obfuscate
  Traceback (most recent call last):
    File "/usr/sbin/sss_obfuscate", line 8, in <module>
      import pysss
  ImportError: No module named pysss
  
  [Potential Regression]
  
  After adding the dependency, if one run let's say 'apt-get upgrade':
  
  APT-GET(8):
  under no circumstances are currently installed packages removed, or packages 
not already installed retrieved and installed.
  
  Meaning that one who would go that route, may not be able to get the new
  package.
  
  APT-GET(8) dist-upgrade:
  dist-upgrade in addition to performing the function of upgrade, also 
intelligently handles changing dependencies with new versions of packages
  
  [Other Infos]
  
  * Debian upstream:
  
https://salsa.debian.org/sssd-team/sssd/commit/b41c0f81c6dcc672636220c46ed3d52f3b69ba7c
  
  * Debian Bug:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905220
  
  Rmadison:
  => sssd-tools | 1.16.1-1ubuntu1.4  | bionic-updates
     sssd-tools | 2.2.0-4ubuntu1     | eoan
     sssd-tools | 2.2.2-1            | focal
     sssd-tools | 2.2.2-1ubuntu1     | focal-proposed
  
- 
  python2 was dropped in sssd-tools starting debian/2.2 via:
  1cb1934d1 Drop python2 support. (Closes: #938566)
  
  which refers to focal in the Ubuntu world.
  
  Only since focal, we see clearly see 'sss_obfuscate' officially
  switching to py3:
  
- f/sssd-2.2.2/debian/rules:    
+ f/sssd-2.2.2/debian/rules:
  sed -i -e 's:/usr/bin/python:/usr/bin/python3:' 
$(CURDIR)/debian/tmp/usr/sbin/sss_obfuscate

** Description changed:

  [Impact]
  
  Current bionic d/control doesn't include "python3-sss" or "python-sss"
  as runtime dependency:
  
  Package: sssd-tools
  Architecture: any
  Depends:
   python,
   sssd-common (= ${binary:Version}),
   ${misc:Depends},
   ${shlibs:Depends}
  Description: System Security Services Daemon -- tools
   Provides a set of daemons to manage access to remote directories and
   authentication mechanisms. It provides an NSS and PAM interface toward
   the system and a pluggable backend system to connect to multiple different
   account sources. It is also the basis to provide client auditing and policy
   services for projects like FreeIPA.
  
  Current workaround:
  One can install the dependency by hand.
  
  [Test Case]
  
  # lsb_release -cs
  bionic
  
  # Install sssd-tools
  
  # sss_obfuscate
  Traceback (most recent call last):
    File "/usr/sbin/sss_obfuscate", line 8, in <module>
      import pysss
  ImportError: No module named pysss
  
  [Potential Regression]
  
  After adding the dependency, if one run let's say 'apt-get upgrade':
  
- APT-GET(8):
+ APT-GET(8) - upgrade:
  under no circumstances are currently installed packages removed, or packages 
not already installed retrieved and installed.
  
  Meaning that one who would go that route, may not be able to get the new
  package.
  
- APT-GET(8) dist-upgrade:
+ APT-GET(8) - dist-upgrade:
  dist-upgrade in addition to performing the function of upgrade, also 
intelligently handles changing dependencies with new versions of packages
  
  [Other Infos]
  
  * Debian upstream:
  
https://salsa.debian.org/sssd-team/sssd/commit/b41c0f81c6dcc672636220c46ed3d52f3b69ba7c
  
  * Debian Bug:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905220
  
  Rmadison:
  => sssd-tools | 1.16.1-1ubuntu1.4  | bionic-updates
     sssd-tools | 2.2.0-4ubuntu1     | eoan
     sssd-tools | 2.2.2-1            | focal
     sssd-tools | 2.2.2-1ubuntu1     | focal-proposed
  
  python2 was dropped in sssd-tools starting debian/2.2 via:
  1cb1934d1 Drop python2 support. (Closes: #938566)
  
  which refers to focal in the Ubuntu world.
  
  Only since focal, we see clearly see 'sss_obfuscate' officially
  switching to py3:
  
  f/sssd-2.2.2/debian/rules:
  sed -i -e 's:/usr/bin/python:/usr/bin/python3:' 
$(CURDIR)/debian/tmp/usr/sbin/sss_obfuscate

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1862226

Title:
  /usr/sbin/sss_obfuscate fails to run: ImportError: No module named
  pysss

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to