| Summary: | net-irc/anope-1.8.7 doesn't create necessary backups directory | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Nathan Phillip Brink (binki) (RETIRED) <binki> |
| Component: | Current packages | Assignee: | Bjarke Istrup Pedersen (RETIRED) <gurligebis> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | net-irc |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | anope-1.8.7.ebuild-backupsdir.patch | ||
OK, I'll just commit this myself as a net-irc member ;-). + 01 Jul 2012; Nathan Phillip Brink <binki@gentoo.org> anope-1.8.7.ebuild: + Ensure that /var/lib/anope/backups directory exists so that database backups + succeed, fixing bug #410741. |
Created attachment 307705 [details] anope-1.8.7.ebuild-backupsdir.patch ohnopublishing local # less /var/log/anope/services.log.20120404 [Apr 04 00:00:15 2012] Backup of os_info.db failed. [Apr 04 00:00:15 2012] Backing up databases [Apr 04 00:00:15 2012] Backup of nick.db failed. [Apr 04 00:00:15 2012] Backup of bot.db failed. [Apr 04 00:00:15 2012] Backup of chan.db failed. [Apr 04 00:00:15 2012] Backup of hosts.db failed. [Apr 04 00:00:15 2012] Backup of prenick.db failed. [Apr 04 00:00:15 2012] Backup of oper.db failed. [Apr 04 00:00:15 2012] Backup of news.db failed. [Apr 04 00:00:15 2012] Backup of exception.db failed. I just manually created the directory myself: ohnopublishing local # ls -lad /var/lib/anope/backups drwxr-xr-x 2 anope anope 48 Apr 4 00:08 /var/lib/anope/backups I _think_ that in 24 hours anope will backup properly to this directory. I assume that these messages are only caused because the directory did not already exist. Attached is a patch which adds this to the list of directories which the ebuild ensures exist.