Hi, thank you for your quick reply.
On Wed, Jun 03, 2026 at 09:29:13PM +0100, Mark Hindley wrote:
I am happy to reinstate ucf_helper_functions.sh. Does it need to be in doc examples? If you are advocating wider utility, perhaps /usr/share/ucf is better?
I think it WAS in /usr/share/ucf, at least Manoj wrote that in https://salsa.debian.org/srivasta/ucf/-/merge_requests/1
That's also where it belongs imo.
If so, it would probably benefit from a section 5 manpage as well.
Or from a chapter in the ucf(1) man page?
Looking back at 49b8f19c7b95bd2a4d980a64259590cc68347af5, my only substantive concern is the testsuite requiring root and utilising the host statedir. It would be good to restore the testsuite, but are you able to devise something which utilises ucf --state-dir without requiring root and pollution of the host state?
I think that ucf --state-dir didn't exist back then, but maybe I overlooked it, and Manoj never bothered to mention that. The test suite was actually my framework during development, and I am not sure whether it makes sense to use it automatically during package build.
I don't know whether I'll find the time so quickly, but I'll try to create another MR before forky gets frozen. You can take a look at aide's maintainer scripts for a proven way to use ucf_helper_functions.sh.
Thank you for taking care of ucf, one of the most underused package in Debian. I'd love our project to migrate over to ucf properly from dpkg's conffile handling which hasn't changed in 20 years, but sadly things are pointing in the other direction lately.
Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421

