View Issue Details

IDProjectCategoryView StatusLast Update
0008811Kali LinuxKali Package Bugpublic2024-07-04 01:39
Reportersarhaynes Assigned Toarnaudr  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Summary0008811: SSSD Packages Missing
Description

It seems that some SSSD packages have disappeared from the repo (currently using kali-rolling). Specifically the package sssd-ad-common has completely disappeared.
We are using these packages to do domain logins.

It seems the version being used by kali is 2.9.4-1, but debian is up to 2.9.5-3. At the present moment we are not able to login using our domain credentials.

Activities

arnaudr

arnaudr

2024-07-03 03:14

manager   ~0019496

Last edited: 2024-07-03 03:17

Hello, thanks for the ping.

Kali is based on Debian testing (not Debian unstable), and sssd was removed from testing on 2024-04-25, and didn't re-enter yet: https://tracker.debian.org/sssd. As a result it was automatically removed from Kali, as it's not a package that is in the scope of our QA: https://pkg.kali.org/pkg/sssd

In this case we can usually import the package from Debian unstable, however in this particular case we can't, as the package is part of the ongoing Python 3.12 transition. It will re-enter Debian testing (and therefore Kali) once the Python 3.12 transition is complete, and Python 3,12 becomes the default.

As a workaround, I think you can get the packages from snapshot.debian.org: https://snapshot.debian.org/package/sssd/. I'd try version 2.9.4-1.1, and if it fails to install (due to dependency issues) I'd try newer versions. You will need to download a bunch of .deb, so don't try to do that manually, instead add snapshot.debian.org to your sources.list.

Here's how I'd do it, using the date 2024-03-04 (at this date it was the version 2.9.4-1.1 in the Debian unstable archive):

# Become root
$ sudo su

# Create file to add debian-snapshot to apt sources
$ cat /etc/apt/sources.list.d/debian-snapshot-20240304.list
deb [check-valid-until=no] https://snapshot.debian.org/archive/debian/20240304/ sid main

# Create preferences file to install only sssd packages from the debian-snapshot repo
$ cat /etc/apt/preferences.d/sssd-snapshot
Package: *
Pin: release a=unstable
Pin-Priority: 50

Package: src:sssd
Pin: release a=unstable
Pin-Priority: 500

Then run apt update.

If all goes well, after that you can run apt policy to check that the package is available:

┌──(root㉿kali)-[~]
└─# apt policy sssd
sssd:
  Installed: (none)
  Candidate: 2.9.4-1.1+b1
  Version table:
     2.9.4-1.1+b1 500
         50 https://snapshot.debian.org/archive/debian/20240304 sid/main amd64 Packages

And you should be able to install it.

When a newer version of the package will re-enter Kali rolling, apt will upgrade to this newer version, and at this point you can remove the two files /etc/apt/sources.list.d/debian-snapshot-20240304.list and /etc/apt/preferences.d/sssd-snapshot.

Please tell me if that worked so I can close this ticket. Thanks!

sarhaynes

sarhaynes

2024-07-03 21:19

reporter   ~0019499

I was able to get it working, but because of dependencies on samba I had to use the 2024-06-04 snapshot sssd 2.9.5-3.
I also had to install both sssd-ad-common and sssd-ad.
Thanks for the help.

arnaudr

arnaudr

2024-07-04 01:39

manager   ~0019500

Thanks for the feedback. I'm closing the ticket. Feel free to re-open (or open a new one) if you bump into more issues.

Issue History

Date Modified Username Field Change
2024-07-02 22:05 sarhaynes New Issue
2024-07-03 03:14 arnaudr Note Added: 0019496
2024-07-03 03:14 arnaudr Note Edited: 0019496
2024-07-03 03:15 arnaudr Note Edited: 0019496
2024-07-03 03:16 arnaudr Note Edited: 0019496
2024-07-03 03:17 arnaudr Note Edited: 0019496
2024-07-03 03:23 arnaudr Assigned To => arnaudr
2024-07-03 03:23 arnaudr Status new => assigned
2024-07-03 21:19 sarhaynes Note Added: 0019499
2024-07-04 01:39 arnaudr Note Added: 0019500
2024-07-04 01:39 arnaudr Assigned To arnaudr =>
2024-07-04 01:39 arnaudr Assigned To => arnaudr
2024-07-04 01:39 arnaudr Status assigned => resolved
2024-07-04 01:39 arnaudr Resolution open => fixed