Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package etckeeper for openSUSE:Factory checked in at 2025-08-25 20:39:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/etckeeper (Old) and /work/SRC/openSUSE:Factory/.etckeeper.new.30751 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "etckeeper" Mon Aug 25 20:39:06 2025 rev:13 rq:1301226 version:1.18.22 Changes: -------- --- /work/SRC/openSUSE:Factory/etckeeper/etckeeper.changes 2024-09-12 16:57:30.087709533 +0200 +++ /work/SRC/openSUSE:Factory/.etckeeper.new.30751/etckeeper.changes 2025-08-25 20:41:14.103976017 +0200 @@ -1,0 +2,6 @@ +Sun Jul 13 08:04:18 UTC 2025 - ecsos <ec...@opensuse.org> - 1.18.22 + +- Update to 1.18.22 + * Add /etc/cups/printers.conf{,.0} to ignore list + +------------------------------------------------------------------- Old: ---- etckeeper-1.18.21.tar.gz New: ---- etckeeper-1.18.22.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ etckeeper.spec ++++++ --- /var/tmp/diff_new_pack.u6xnBR/_old 2025-08-25 20:41:14.944011209 +0200 +++ /var/tmp/diff_new_pack.u6xnBR/_new 2025-08-25 20:41:14.944011209 +0200 @@ -2,7 +2,7 @@ # # spec file for package etckeeper # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # Copyright (c) 2014 Mitsutoshi NAKANO <bkbin...@rinku.zaq.ne.jp> # Copyright (c) 2013 Pascal Bleser <pascal.ble...@opensuse.org> # @@ -34,7 +34,7 @@ %define make_args systemddir=%{_unitdir} PYTHON=%{python_versioned} %{python_args} Name: etckeeper -Version: 1.18.21 +Version: 1.18.22 Release: 0 Summary: Store /etc under Version Control License: GPL-2.0-or-later ++++++ etckeeper-1.18.21.tar.gz -> etckeeper-1.18.22.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/etckeeper-1.18.21/CHANGELOG new/etckeeper-1.18.22/CHANGELOG --- old/etckeeper-1.18.21/CHANGELOG 2023-11-28 19:09:38.000000000 +0100 +++ new/etckeeper-1.18.22/CHANGELOG 2024-12-09 19:04:41.000000000 +0100 @@ -1,3 +1,10 @@ +etckeeper (1.18.22) upstream; urgency=medium + + * Add /etc/cups/printers.conf{,.0} to ignore list + Thanks Ben Zanin. + + -- Joey Hess <i...@joeyh.name> Mon, 09 Dec 2024 14:04:38 -0400 + etckeeper (1.18.21) upstream; urgency=medium * Consistently use mktemp if available, falling back to tempfile diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/etckeeper-1.18.21/doc/forum/How_to_stop_etckeeper_to_set_permission_0700_on___47__etc__47__.etckeeper.mdwn new/etckeeper-1.18.22/doc/forum/How_to_stop_etckeeper_to_set_permission_0700_on___47__etc__47__.etckeeper.mdwn --- old/etckeeper-1.18.21/doc/forum/How_to_stop_etckeeper_to_set_permission_0700_on___47__etc__47__.etckeeper.mdwn 1970-01-01 01:00:00.000000000 +0100 +++ new/etckeeper-1.18.22/doc/forum/How_to_stop_etckeeper_to_set_permission_0700_on___47__etc__47__.etckeeper.mdwn 2024-12-09 19:04:41.000000000 +0100 @@ -0,0 +1,3 @@ +Etckeeper continuously resets the file permission for `/etc/.etckeeper` back to `0700`. For backup reasons I need it to be group-readable at least, i.e. `0740`. Every time etckeeper resets the file permissions, my nightly backup breaks. + +How do I keep etckeeper from resetting the file permissions? diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/etckeeper-1.18.21/doc/forum/RFE:_please_add_support_for_DNF_5.mdwn new/etckeeper-1.18.22/doc/forum/RFE:_please_add_support_for_DNF_5.mdwn --- old/etckeeper-1.18.21/doc/forum/RFE:_please_add_support_for_DNF_5.mdwn 1970-01-01 01:00:00.000000000 +0100 +++ new/etckeeper-1.18.22/doc/forum/RFE:_please_add_support_for_DNF_5.mdwn 2024-12-09 19:04:41.000000000 +0100 @@ -0,0 +1,20 @@ +Dear etckeeper developers, + +Fedora 41 ships with DNF 5, and CentOS Stream and Red Hat Enterprise Linux 11 will ship with DNF 5 as well in 2027/8 + +Plugins need to be rewritten to keep working - including for etckeeper: + +https://dnf5.readthedocs.io/en/stable/tutorial/plugins/index.html + +(Python plugins are also now possible, the documentation is out of date; see e.g. https://github.com/rpm-software-management/dnf5/blob/main/libdnf5-plugins/python_plugins_loader/plugin.py) + +Until then, etckeeper "works" in Fedora but requires manually committing; the automatic commit per DNF transaction no longer works. + +As reported by a Fedora user: https://bugzilla.redhat.com/show_bug.cgi?id=2326283 + +Best regards, + +-- +Michel Lind + +Fedora package maintainer diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/etckeeper-1.18.21/doc/forum/Unable_to_update_Ubuntu.mdwn new/etckeeper-1.18.22/doc/forum/Unable_to_update_Ubuntu.mdwn --- old/etckeeper-1.18.21/doc/forum/Unable_to_update_Ubuntu.mdwn 1970-01-01 01:00:00.000000000 +0100 +++ new/etckeeper-1.18.22/doc/forum/Unable_to_update_Ubuntu.mdwn 2024-12-09 19:04:41.000000000 +0100 @@ -0,0 +1,15 @@ +The operating system fails to make the proper updates: + + /etc/etckeeper/unclean.d/README: 1: Files: not found + /etc/etckeeper/unclean.d/README: 2: uncommitted: not found + /etc/etckeeper/pre-install.d/README: 1: Files: not found + /etc/etckeeper/pre-install.d/README: 2: etc.: not found + /etc/etckeeper/pre-install.d/README: 3: uncommitted: not found + E: Problem executing scripts DPkg::Pre-Invoke 'if [ -x /usr/bin/etckeeper ]; then etckeeper pre-install; fi' + E: Sub-process returned an error code + +I have disabled the services *etckeeper.service* and *etckeeper.timer* and tried to uninstall but that error persist. + +Can you please assist me to fix the bug? + +Thank you in advance. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/etckeeper-1.18.21/doc/forum/git_gc___40__garbage_collection__41___message_triggers_Anacron_mail/comment_2_6bec9ad45450d9ebefd212e05e6868ef._comment new/etckeeper-1.18.22/doc/forum/git_gc___40__garbage_collection__41___message_triggers_Anacron_mail/comment_2_6bec9ad45450d9ebefd212e05e6868ef._comment --- old/etckeeper-1.18.21/doc/forum/git_gc___40__garbage_collection__41___message_triggers_Anacron_mail/comment_2_6bec9ad45450d9ebefd212e05e6868ef._comment 1970-01-01 01:00:00.000000000 +0100 +++ new/etckeeper-1.18.22/doc/forum/git_gc___40__garbage_collection__41___message_triggers_Anacron_mail/comment_2_6bec9ad45450d9ebefd212e05e6868ef._comment 2024-12-09 19:04:41.000000000 +0100 @@ -0,0 +1,14 @@ +[[!comment format=mdwn + username="tst" + avatar="http://cdn.libravatar.org/avatar/e14c40a1ce6435dfe858dd9286b8b915" + subject="comment 2" + date="2024-10-15T09:51:57Z" + content=""" +The git-gc man pages say + +> When common porcelain operations that create objects are run, they will check whether the repository has grown substantially since the last maintenance, and if so run git gc automatically. + +So `git` itself runs `git gc` every time `etckeeper` commits anything, unless `gc.auto` is set to `0` in the config. + +This behaviour normaly is helpful, but the additional are mails not. Since they are sent by `anacron`, an easy solution is to disable the cron job. You can use the systemd timer instead, but you have to set up extra monitoring if you still want to know if etckeeper's daily commits fail. +"""]] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/etckeeper-1.18.21/doc/forum/perl:_warning:_Setting_locale_failed/comment_1_aaa6460af098e4f17d8cf4f24006eb39._comment new/etckeeper-1.18.22/doc/forum/perl:_warning:_Setting_locale_failed/comment_1_aaa6460af098e4f17d8cf4f24006eb39._comment --- old/etckeeper-1.18.21/doc/forum/perl:_warning:_Setting_locale_failed/comment_1_aaa6460af098e4f17d8cf4f24006eb39._comment 1970-01-01 01:00:00.000000000 +0100 +++ new/etckeeper-1.18.22/doc/forum/perl:_warning:_Setting_locale_failed/comment_1_aaa6460af098e4f17d8cf4f24006eb39._comment 2024-12-09 19:04:41.000000000 +0100 @@ -0,0 +1,11 @@ +[[!comment format=mdwn + username="weirdhazel" + avatar="http://cdn.libravatar.org/avatar/1780f57494741365e3606ee0226a3ef4" + subject="comment 1" + date="2024-05-09T11:03:13Z" + content=""" +I think I figured it out. + +This seems to happen because iTerm2 sends the local locale env vars to the remote host +and LC_CTYPE = \"UTF-8\" is not a valid locale on Linux. +"""]] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/etckeeper-1.18.21/doc/forum/perl:_warning:_Setting_locale_failed.mdwn new/etckeeper-1.18.22/doc/forum/perl:_warning:_Setting_locale_failed.mdwn --- old/etckeeper-1.18.21/doc/forum/perl:_warning:_Setting_locale_failed.mdwn 1970-01-01 01:00:00.000000000 +0100 +++ new/etckeeper-1.18.22/doc/forum/perl:_warning:_Setting_locale_failed.mdwn 2024-12-09 19:04:41.000000000 +0100 @@ -0,0 +1,62 @@ +Hi, + +I'm using macOS (and the iTerm2 terminal emulator) to ssh to a raspberry pi that has Ubuntu 24.04, running the zsh shell. + +Whenever I run etckeeper commit (or when it happens implicitly via sudo apt install ...) + +I get the following warnings multiple times. + +``` +$ sudo etckeeper commit +perl: warning: Setting locale failed. +perl: warning: Please check that your locale settings: + LANGUAGE = "en_US.UTF-8", + LC_ALL = (unset), + LC_CTYPE = "UTF-8", + LC_COLLATE = "C", + LC_TERMINAL = "iTerm2", + LANG = "en_US.UTF-8" + are supported and installed on your system. +perl: warning: Falling back to a fallback locale ("en_US.UTF-8"). +perl: warning: Setting locale failed. +perl: warning: Please check that your locale settings: + LANGUAGE = "en_US.UTF-8", + LC_ALL = (unset), + LC_CTYPE = "UTF-8", + LC_COLLATE = "C", + LC_TERMINAL = "iTerm2", + LANG = "en_US.UTF-8" + are supported and installed on your system. +perl: warning: Falling back to a fallback locale ("en_US.UTF-8"). +[master 82468a9] test 2 +``` + +My .zshrc exports +``` +export LC_ALL=en_US.UTF-8 +export LANG=en_US.UTF-8 +export LANGUAGE=en_US.UTF-8 +``` + +My env contains +``` +LC_TERMINAL=iTerm2 +LC_CTYPE=UTF-8 +LC_ALL=en_US.UTF-8 +LANG=en_US.UTF-8 +LANGUAGE=en_US.UTF-8 +``` + +I noticed that /etc/etckeeper/pre-commit.d/30store-metadata contains the following lines of code. + +``` +LC_COLLATE=C +export LC_COLLATE +unset LC_ALL +``` + +If I comment the code out, the warnings disappears. I assume the statements are needed for a reason though. + +I'm not really familiar with locale interactions, so i'm not sure if my config is wrong or it's something that etckeeper doesn't expect. + +Would anyone be able to share some advice how I could stop the warnings from happening? Thanks. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/etckeeper-1.18.21/doc/news/version_1.18.16.mdwn new/etckeeper-1.18.22/doc/news/version_1.18.16.mdwn --- old/etckeeper-1.18.21/doc/news/version_1.18.16.mdwn 2023-11-28 19:09:38.000000000 +0100 +++ new/etckeeper-1.18.22/doc/news/version_1.18.16.mdwn 1970-01-01 01:00:00.000000000 +0100 @@ -1,5 +0,0 @@ -etckeeper 1.18.16 released with [[!toggle text="these changes"]] -[[!toggleable text=""" * Improve sorting stability. - * Prefer mktemp over tempfile as the latter displays a deprecation - warning since debianutils 4.10. - Thanks, Luke Mlsna."""]] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/etckeeper-1.18.21/doc/news/version_1.18.21.mdwn new/etckeeper-1.18.22/doc/news/version_1.18.21.mdwn --- old/etckeeper-1.18.21/doc/news/version_1.18.21.mdwn 1970-01-01 01:00:00.000000000 +0100 +++ new/etckeeper-1.18.22/doc/news/version_1.18.21.mdwn 2024-12-09 19:04:41.000000000 +0100 @@ -0,0 +1,4 @@ +etckeeper 1.18.21 released with [[!toggle text="these changes"]] +[[!toggleable text=""" * Consistently use mktemp if available, falling back to tempfile + otherwise. + Thanks, Adam Dinwoodie"""]] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/etckeeper-1.18.21/doc/todo/Pull_request:_Keep_track_of_FACLs.mdwn new/etckeeper-1.18.22/doc/todo/Pull_request:_Keep_track_of_FACLs.mdwn --- old/etckeeper-1.18.21/doc/todo/Pull_request:_Keep_track_of_FACLs.mdwn 1970-01-01 01:00:00.000000000 +0100 +++ new/etckeeper-1.18.22/doc/todo/Pull_request:_Keep_track_of_FACLs.mdwn 2024-12-09 19:04:41.000000000 +0100 @@ -0,0 +1 @@ +It would be nice to keep track of FACLs of the files in /etc. I believe this is rather easy to do, and have added scripts to `init.d` and `pre-commit.d` that restore and store ACLs, respectively. Please consider pulling the changes from https://codeberg.org/tdussa/etckeeper (only the latest commit is relevant: https://codeberg.org/tdussa/etckeeper/commit/220cac62d7830cf15f923bfc466642b1ff8326f4). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/etckeeper-1.18.21/doc/todo/Pull_request:_check_for_git_worktree_before_trying_to_add_pre-commit_hook.mdwn new/etckeeper-1.18.22/doc/todo/Pull_request:_check_for_git_worktree_before_trying_to_add_pre-commit_hook.mdwn --- old/etckeeper-1.18.21/doc/todo/Pull_request:_check_for_git_worktree_before_trying_to_add_pre-commit_hook.mdwn 1970-01-01 01:00:00.000000000 +0100 +++ new/etckeeper-1.18.22/doc/todo/Pull_request:_check_for_git_worktree_before_trying_to_add_pre-commit_hook.mdwn 2024-12-09 19:04:41.000000000 +0100 @@ -0,0 +1,7 @@ +Please consider adding the following commit from [this branch](https://github.com/ktetzlaff/etckeeper-fork/tree/fix-init-in-worktree): + +## Don't try to add git-commit hook when in a git worktree + +The commit-hook itself already checks for git worktrees and skips any actions which would modify the `.etckeeper` file. This commit adds a similar check to the `etckeeper init` command which skips trying to install the git commit-hook when inside a git worktree. This avoids the following error message (from running `etckeeper init -d .` inside a worktree to e.g. fix permissions): + + /etc/etckeeper/init.d/50vcs-pre-commit-hook: 11: cannot create .git/hooks/pre-commit: Directory nonexistent diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/etckeeper-1.18.21/doc/todo/Restore_metadata_at_checkout/comment_4_960e3d70d2057696536d7ff3b8df17fe._comment new/etckeeper-1.18.22/doc/todo/Restore_metadata_at_checkout/comment_4_960e3d70d2057696536d7ff3b8df17fe._comment --- old/etckeeper-1.18.21/doc/todo/Restore_metadata_at_checkout/comment_4_960e3d70d2057696536d7ff3b8df17fe._comment 1970-01-01 01:00:00.000000000 +0100 +++ new/etckeeper-1.18.22/doc/todo/Restore_metadata_at_checkout/comment_4_960e3d70d2057696536d7ff3b8df17fe._comment 2024-12-09 19:04:41.000000000 +0100 @@ -0,0 +1,18 @@ +[[!comment format=mdwn + username="Alejandro" + avatar="http://cdn.libravatar.org/avatar/cb362008d76dcc1c025d4b4f9226d61c" + subject="comment 4" + date="2024-10-30T18:23:02Z" + content=""" +Hello. I've just asked a question on stackoverflow about the safe way to do checkouts: + +https://security.stackexchange.com/questions/279328/etckeeper-check-out-in-a-safe-way + +Would this suffice? I mean, would this prevent exposing sensitive data in /etc? + +umask 077 +git checkout april_first_joke_etc +etckeeper init +umask 022 # or whatever it was before, or just quit current session + +"""]] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/etckeeper-1.18.21/etckeeper new/etckeeper-1.18.22/etckeeper --- old/etckeeper-1.18.21/etckeeper 2023-11-28 19:09:38.000000000 +0100 +++ new/etckeeper-1.18.22/etckeeper 2024-12-09 19:04:41.000000000 +0100 @@ -71,7 +71,7 @@ exit 0 elif [ "x$1" = "x-v" ] || [ "x$1" = "x--version" ]; then # This is automatically updated by the Makefile. - echo "Version: 1.18.21" + echo "Version: 1.18.22" exit 0 fi command="$1" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/etckeeper-1.18.21/etckeeper.spec new/etckeeper-1.18.22/etckeeper.spec --- old/etckeeper-1.18.21/etckeeper.spec 2023-11-28 19:09:38.000000000 +0100 +++ new/etckeeper-1.18.22/etckeeper.spec 2024-12-09 19:04:41.000000000 +0100 @@ -1,5 +1,5 @@ Name: etckeeper -Version: 1.18.21 +Version: 1.18.22 Release: 4%{?dist} Summary: store /etc in git, mercurial, bzr or darcs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/etckeeper-1.18.21/update-ignore.d/01update-ignore new/etckeeper-1.18.22/update-ignore.d/01update-ignore --- old/etckeeper-1.18.21/update-ignore.d/01update-ignore 2023-11-28 19:09:38.000000000 +0100 +++ new/etckeeper-1.18.22/update-ignore.d/01update-ignore 2024-12-09 19:04:41.000000000 +0100 @@ -157,6 +157,8 @@ ignore "openvpn/openvpn-status.log" ignore "cups/subscriptions.conf" ignore "cups/subscriptions.conf.O" + ignore "cups/printers.conf" + ignore "cups/printers.conf.O" ignore "fake-hwclock.data" ignore "check_mk/logwatch.state" nl