Your message dated Sun, 24 Apr 2016 17:48:59 +0000
with message-id <[email protected]>
and subject line Bug#822371: fixed in anope 2.0.3-3
has caused the Debian Bug report #822371,
regarding anope package does not create /var/lib/anope/db/backups which makes 
the daemon exit after a while
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
822371: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822371
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Source: anope
Source-Version: 2.0.3-3

We believe that the bug you reported is fixed in the latest version of
anope, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dominic Hargreaves <[email protected]> (supplier of updated anope package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 24 Apr 2016 18:03:48 +0100
Source: anope
Binary: anope
Architecture: source
Version: 2.0.3-3
Distribution: unstable
Urgency: medium
Maintainer: Dominic Hargreaves <[email protected]>
Changed-By: Dominic Hargreaves <[email protected]>
Description:
 anope      - IRC Services designed for flexibility and ease of use
Closes: 822371
Changes:
 anope (2.0.3-3) unstable; urgency=medium
 .
   * Create /var/lib/anope/db/backups to avoid anope shutting down
     when creating backups (Closes: #822371)
Checksums-Sha1:
 12afa0772374faff3a4ad0004a5387dc731570a5 1863 anope_2.0.3-3.dsc
 a5ed4440dba2292cf0541720863b7ae2434e163d 42196 anope_2.0.3-3.debian.tar.xz
Checksums-Sha256:
 3f63ca46402bb83c5bad3678b587d6bc65975dc431ea06f87a2a9a6c8ae23524 1863 
anope_2.0.3-3.dsc
 9c2dc7d91e735949c3cdb3683c7ac3fe04c2535babab03f81e54ecfd1e2c51df 42196 
anope_2.0.3-3.debian.tar.xz
Files:
 0cb7ad3820f0f8b7a28eb1a025c74646 1863 net optional anope_2.0.3-3.dsc
 0505ed6ed6ab5a27d13e0dc6148de693 42196 net optional anope_2.0.3-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJXHQOfAAoJEMAFfnFNaU+yP+8QAJ27OGZRcHRVmo1eIgnUZUKq
A4vIe2Il/8PqO6xjCdvHzZYOjeBMnndVmDhy/QWtAfaQeuJttisuwrCXcKzT+U1K
NyoHbqTH+ATWu7fns4Fr6vEJEdlzRO0egorJ5BreepOAw6EmdSynK4u7/DNafd1j
rRyLUyQoNZiu1D5rrTk0zB7XdyX+atoAhERUEDscHB6gY0VC09+nDIRf4bnyvh3T
3ZI/0pRiii/k7VhoWVtkTApdQtpmzk4FqAkfRQnNrpfpp5nglycGmv08s8+IE4TM
MGe56yuKFxGTY7c2mrQyWdcoZ3XVJVwxe5i9LFMl3fyIXXqyGFIYMOnejfDr0wea
aol67FJ1EH6rV/YES1yOhxceamL24DpXaZqLcIL9udWjTI3c/NSL8EDqeubydkcF
dTIoYPYdba2AMc1+8SgYn2zWnzWS16TTegCExrET5GC18VNkCkIK4+4BCNrRN1lj
4131sArxYz0AiNzddx+7Gtht0ivwwyte97TuZ5YZSSwko7xk5RTnG+XuUy7hs108
MV8hIbxnuqD+zERecHr96ry1tPbIOcPUmG6aQ2hUYd2QGWBeztfeqN+U7Po2YDCy
ptU2FJCVm+eBdDCYA1Gh3jj85pSoXcnRkNKqq34eLYkFLvuyhMnlWbnG7V//2fh6
nfPtRe+XZ+6EGaeP51iY
=NDeA
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to