View Issue Details

IDProjectCategoryView StatusLast Update
0009752Kali LinuxKali Package Bugpublic2026-07-03 18:26
Reportertchet Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Summary0009752: cruft-ng does not get rebuilt for Kali
Description

Hi,

From the md5sum, it seems that the amd64 .deb is taken as-is from Debian buildd.

Is it possible to triggrer a systematic rebuild on Kali infrastructure.

The build is hybridized to detect Kali.

Greetings

Alexandre


$ grep kali ruleset.sh -C 4

concat non-free >> "$RULESET"

Kali is a rolling release, no backport

if dpkg-vendor --is kali
then
concat kali >> "$RULESET"
exit 0
fi

Activities

arnaudr

arnaudr

2026-06-30 10:00

manager   ~0021798

From the md5sum, it seems that the amd64 .deb is taken as-is from Debian buildd.

Correct.

Is it possible to triggrer a systematic rebuild on Kali infrastructure.

We don't do that so far, AFAIK. We never had this case.

We can fork the package for the sake of rebuilding it, but then updates are manual on our side, so it's a bit of recurring work.

tchet

tchet

2026-06-30 20:30

reporter   ~0021803

Ok I will ship the same .deb for both OS.

What is the easiest way to check for Kali at runtime ?

A stat on /etc/dpkg/origins/kali ?

I will check if libdpkg provides tag

arnaudr

arnaudr

2026-07-01 07:58

manager   ~0021804

If you can do the check at runtime, indeed it works better for us.

Yes you can check dpkg origin:

# ls -l  /etc/dpkg/origins/
total 8
-rw-r--r-- 1 root root 83 Jun 16 10:14 debian
lrwxrwxrwx 1 root root  4 Jun 28 04:01 default -> kali
-rw-r--r-- 1 root root 91 Jun 16 10:14 kali

That works also for Ubuntu:

# ls -l /etc/dpkg/origins/
total 8
-rw-r--r-- 1 root root  83 Apr 20 08:46 debian
lrwxrwxrwx 1 root root   6 Apr 21 02:05 default -> ubuntu
-rw-r--r-- 1 root root 114 Apr 20 08:46 ubuntu
tchet

tchet

2026-07-03 18:26

reporter   ~0021847

Thank you for the support.

I've uploaded cruft-ng 0.9.87 that test for /etc/dpkg/origins/kali at runtime

You may close this bug

Kali linux packages are encoraged to use dh-cruft to register the volatiles files
that should (or not) be removed on purge phase, this would
relieve me from maintaining shadow-rules upstream; but that's a wish-list priority.

If doing so we could start with "wordlists" which looks is a simple package.

Issue History

Date Modified Username Field Change
2026-06-23 10:23 tchet New Issue
2026-06-30 10:00 arnaudr Note Added: 0021798
2026-06-30 20:30 tchet Note Added: 0021803
2026-07-01 07:58 arnaudr Note Added: 0021804
2026-07-03 18:26 tchet Note Added: 0021847