Hi Dmitry, On 07/22/2015 08:48 AM, Dmitry Smirnov wrote: > Package: apt-dater > Version: 1.0.2-1 > Severity: normal > > As described in #792807, I installed "libxml-writer-perl" and started > upgraded "apt-dater" which converted my old "hosts.conf" to "hosts.xml" > (valid XML). > > However "apt-dater" show only sample host "Localnet2/locahost2" from system- > wide "/etc/apt-dater/hosts.xml" and completely ignores "~/.config/hosts.xml".
please take a look at the global "/etc/apt-dater/apt-dater.xml" config file: <paths hosts-file="/etc/apt-dater/hosts.xml" history-dir="/var/lib/apt-dater/history" stats-dir="/var/cache/apt-dater/stats" umask="007"/> This configures apt-dater to read only the global hosts.xml file. If you are not going to use the multi-user setup I recommend to make /etc/apt-dater/apt-dater.xml inaccessible or drop the XInclude statements from you ~/.config/apt-dater/apt-dater.xml config file. There is an issue within the 1.0.2-1 package not setting owner and mode of /etc/apt-dater correctly. With the next release/upload of apt-dater it will ignore the global config files unless you are a member of the apt-dater group (and intentionally switch to multi-user setup). HTH, Thomas > --- System information. --- > Architecture: amd64 > Kernel: Linux 3.16.0-4-amd64 > > Debian Release: stretch/sid > 500 testing-updates httpredir.debian.org > 500 testing security.debian.org > 500 testing httpredir.debian.org > 333 unstable httpredir.debian.org > 1 experimental httpredir.debian.org > -- supp...@ibh.de Tel. +49 351 477 77 30 www.ibh.de Fax +49 351 477 77 39 ----------------------------------------------------------------------- Dipl.-Ing. Thomas Liske Netzwerk- und System-Design IBH IT-Service GmbH Amtsgericht Dresden Gostritzer Str. 67a HRB 13626 D-01217 Dresden GF: Prof. Dr. Thomas Horn Germany VAT DE182302907 ----------------------------------------------------------------------- Ihr Partner für: LAN, WAN IP-Quality, Security, VoIP, SAN, Backup, USV ----------------------------------------------------------------------- professioneller IT-Service - kompetent und zuverlässig -----------------------------------------------------------------------
signature.asc
Description: OpenPGP digital signature