Package: anope Version: 2.0.3-2 Severity: normal Dear Maintainer,
Anope used with its flatfile db backend (default) with backups enabled (default as well) exits after a while because it cannot create the backup database into /var/lib/anope/db/backups: Anope log: [Apr 23 20:48:20 2016] Anope 2.0.3 starting up (...) [Apr 23 20:53:18 2016] DB_FLATFILE: Unable to back up database anope.db (No such file or directory)! [Apr 23 20:53:18 2016] Unable to back up database anope.db (No such file or directory) [Apr 23 20:53:18 2016] SERVER: edony.tuxfamily.net (TuxFamily IRC Server) quit from services.irc.tuxfamily.net for services.irc.tuxfamily.net edony.tuxfamily.net [Apr 23 20:53:18 2016] SERVER: services.irc.tuxfamily.net (Services for IRC Networks) quit edony.tuxfamily.net [Apr 23 20:53:18 2016] SERVER: campari.tuxfamily.net (TuxFamily IRC Server) quit from edony.tuxfamily.net for services.irc.tuxfamily.net edony.tuxfamily.net [Apr 23 20:53:18 2016] SERVER: edony.tuxfamily.net (TuxFamily IRC Server) quit campari.tuxfamily.net Strace flow which show evidence of the issue: stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2945, ...}) = 0 stat64("/var/lib/anope/db/backups/anope.db-2016-04-23", 0xaf9b3eec) = -1 ENOENT (No such file or directory) stat64("/var/lib/anope/db/anope.db", {st_mode=S_IFREG|0600, st_size=10345, ...}) = 0 rename("/var/lib/anope/db/anope.db", "/var/lib/anope/db/backups/anope.db-2016-04-23") = -1 ENOENT (No such file or directory) time(NULL) = 1461437598 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2945, ...}) = 0 write(1, "[Apr 23 20:53:18 2016] DB_FLATFI"..., 101[Apr 23 20:53:18 2016] DB_FLATFILE: Unable to back up database anope.db (No such file or directory)! ) = 101 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2945, ...}) = 0 time(NULL) = 1461437598 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2945, ...}) = 0 write(4, "[Apr 23 20:53:18 2016] DB_FLATFI"..., 101) = 101 stat64("/var/lib/anope/db/anope.db", {st_mode=S_IFREG|0600, st_size=10345, ...}) = 0 rename("/var/lib/anope/db/anope.db", "/var/lib/anope/db/anope.db.tmp") = 0 open("/var/lib/anope/db/anope.db", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 8 writev(8, [{"OBJECT BotInfo\nDATA nick BotServ"..., 8187}, {"type", 4}], 2) = 8191 write(8, " 3\nDATA nick2 \nDATA channel #lib"..., 2895) = 2895 close(8) = 0 unlink("/var/lib/anope/db/anope.db.tmp") = 0 epoll_wait(3, {{EPOLLOUT, {u32=5, u64=5}}, {EPOLLIN, {u32=9, u64=9}}}, 4, 5000) = 2 time(NULL) = 1461437598 send(5, ":00BAAAAAG NOTICE 695AAABKI :Nic"..., 113, 0) = 113 epoll_ctl(3, EPOLL_CTL_MOD, 5, {EPOLLIN, {u32=5, u64=5}}) = 0 epoll_ctl(3, EPOLL_CTL_MOD, 5, {EPOLLIN|EPOLLOUT, {u32=5, u64=5}}) = 0 read(9, "\0", 512) = 1 time(NULL) = 1461437598 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2945, ...}) = 0 write(1, "[Apr 23 20:53:18 2016] Unable to"..., 87[Apr 23 20:53:18 2016] Unable to back up database anope.db (No such file or directory)) = 87 Manually creating /var/lib/anope/db/backups fixes the issue. -- System Information: Debian Release: stretch/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'oldstable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages anope depends on: ii libc6 2.22-7 ii libgcc1 1:5.3.1-14 ii libgnutls30 3.4.10-4 ii libldap-2.4-2 2.4.42+dfsg-2+b2 ii libmysqlclient18 5.6.30-1 ii libpcre3 2:8.38-3.1 ii libsqlite3-0 3.12.2-1 ii libstdc++6 5.3.1-14 ii lsb-base 9.20160110 Versions of packages anope recommends: ii exim4-daemon-light [default-mta] 4.87-1 anope suggests no packages. -- Configuration Files: /etc/anope/botserv.conf [Errno 13] Permission denied: u'/etc/anope/botserv.conf' /etc/anope/chanserv.conf [Errno 13] Permission denied: u'/etc/anope/chanserv.conf' /etc/anope/global.conf [Errno 13] Permission denied: u'/etc/anope/global.conf' /etc/anope/hostserv.conf [Errno 13] Permission denied: u'/etc/anope/hostserv.conf' /etc/anope/memoserv.conf [Errno 13] Permission denied: u'/etc/anope/memoserv.conf' /etc/anope/modules.conf [Errno 13] Permission denied: u'/etc/anope/modules.conf' /etc/anope/nickserv.conf [Errno 13] Permission denied: u'/etc/anope/nickserv.conf' /etc/anope/operserv.conf [Errno 13] Permission denied: u'/etc/anope/operserv.conf' /etc/anope/services.conf [Errno 13] Permission denied: u'/etc/anope/services.conf' /etc/anope/services.motd [Errno 13] Permission denied: u'/etc/anope/services.motd' -- no debconf information