Package: ucf
Version: 3.0043+nmu1
Severity: important
X-Debbugs-Cc: hri...@venev.name

On Sun, 2023-12-31 at 13:54 +0200, Hristo Venev wrote:
> Package: ucf
> Version: 3.0043+nmu1
> Severity: important
> X-Debbugs-Cc: hri...@venev.name
> 
> Dear Maintainer,
> 
> It appears that ucf follows symbolic links before checking if those
> symlinks correspond to diverted packages:

Just to be clear, here is why the current behavior makes no sense:

0. Suppose `/etc/configfile` is a file managed by `some-package` using
ucf.
1. Suppose `/etc/configfile` is diverted by `my-config` to `/my-
diverted/etc/configfile`.
2. Suppose `/etc/configfile` belongs to `my-config` and is a symlink to
`/my-config/etc/configfile`.

Then `ucf`, when invoked by `some-package`, should update `/my-
diverted/etc/configfile` (which is where the original configuration
provided by `some-package` resides), not
`/my-config/etc/configfile` (where the override provided by `my-config`
resides).


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to