Bug#1117842: debian-edu-install: there is a leftover /.gitconfig file at the end of the installation
Package: debian-edu-install
Version: 2.12.11
Severity: normal
X-Debbugs-Cc: Roland Clobus <rclobus@rclobus.nl>
Hi,
I'm not a user of Debian Edu myself,
but I see it was being tested in OpenQA
and it involves little effort to add proper
suport for it to my own "cruft-ng" QA effort.
These are two lists of volatile files considered normal to be present on Debian Edu systems:
https://sources.debian.org/src/cruft-ng/0.9.75/rules/debian-edu-config
/etc/chromium/policies/managed/debian-edu-homepage-ldap.json
/etc/firefox-esr/debian-edu-homepage-ldap.js
/etc/debian-edu/config
/etc/default/enable-nat
/etc/xdg/menus/applications-merged
/etc/xdg/menus/gnome-applications.menu
/etc/xdg/menus/lxde-applications.menu
/etc/xdg/menus/lxqt-applications.menu
/etc/xdg/menus/mate-applications.menu
/usr/share/lightdm/lightdm-gtk-greeter.conf.d/02debian-edu.conf
/var/lib/dovecot
/var/lib/dovecot/auth_success
https://sources.debian.org/src/cruft-ng/0.9.75/rules/debian-edu-install
/etc/debian-edu/config
/etc/debian-edu/xdebian-edu-firstboot
/var/log/installer/cfengine-edu-install.log
After applying these two heuristics lits in cruft-ng.
There remains these unexplained files hereunder.
The .cf-before-edit & .cfsaved might belong to debian-edu-*
or cfengine3, I don't know.
The /.gitconfig file should _not_ be there.
Any tool needing some git interaction should have used
/tmp/something as a $HOME, and not let little crumbs behind.
Now the three-letters "git" word is not the most pleasant thing to grep for,
found this.debian-edu-install/tools/edu-etcvcs: if [ -x /target/usr/bin/etckeeper ] && [ -d /target/etc/.git ]; then
Greetings
Alexandre
https://openqa.debian.net/tests/450264/logfile?filename=cruft-cruft.txt
cruft report: Tue 07 Oct 2025 02:09:09 PM EDT
---- missing: dpkg ----
---- unexplained: / ----
/.gitconfig -----------------------------> ????
/etc/apt/apt.conf.d/00CDMountPoint
/etc/apt/apt.conf.d/00trustcdrom
/etc/apt/sources.list~
/etc/debian-edu/config.cf-before-edit
/etc/default/grub.cf-before-edit
/etc/xdg/menus/kf5-applications.menu.cfsaved
/etc/xdg/menus/xfce-applications.menu.cfsaved
/var/lib/apt/cdroms.list~
/var/log/lastlog
end.
Reply to: