Information
ID: 173
PHID: PHID-TASK-idmycgk3uihjndsrfgzi
Author: Patrick
Status at Migration Time: resolved
Priority at Migration Time: Low
Description
I’ve never used triggers, but it’s most interesting. I see a potential issue here.
# Reset back to Whonix defaults
interest-noawait /etc/resolv.conf
interest-noawait /etc/hosts
interest-noawait /etc/hostname
I think you might want to use /etc/resolv.conf.anondist instead. Because the file known to dpkg is
https://github.com/Whonix/anon-gw-dns-conf/blob/master/etc/resolv.conf.anondist
(or https://github.com/Whonix/anon-ws-dns-conf/blob/master/etc/resolv.conf.anondist).
Moving /etc/resolv.conf out of the way and the symlink magic is done by config-package-dev. And I suppose that dpkg uses triggers on files it knows to manage. Probably not on dpkg-diverted files. But I might be wrong about this. I advice to actually test this if you want to make sure this really works.
(Related: T171)
Comments
nrgaway
2015-02-16 06:27:20 UTC
Patrick
2015-02-16 21:52:19 UTC
Patrick
2015-09-08 15:47:59 UTC