Package: openresolv
Version: 3.12.0-3
Severity: important
X-Debbugs-Cc: d...@darkboxed.org

Hi Fabio,

I manage my resolv.conf by hand and as such I don't want to excercise
any daemons messing with it :)

I've noticed that openresolv seems to (non-atomically) overwrite
/etc/resolv.conf as the file my symlink is pointing to is getting
overwritten. For one this shouldn't happen if a proper atomic rename
is done but ideally when resolv.conf is a symlink to a path not owned
by your package it should not touch it at all.

This is similar to how networkmanager and systemd-resolvd handle
ownership conflicts and following this protocol will ensure only one
(or none in my case :) managment system will try to change
resolv.conf.

Thanks,
--Daniel

-- System Information:
Debian Release: 12.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable-debug'), (500, 'proposed-updates-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-4-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information

Reply via email to