Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 736346 - games-action/minetest: please add "missingok" to /etc/logrotate.d/minetest-server
Summary: games-action/minetest: please add "missingok" to /etc/logrotate.d/minetest-se...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Breathitt Gray
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-08-08 06:57 UTC by Alexander Weber
Modified: 2020-08-16 08:01 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Weber 2020-08-08 06:57:34 UTC
I play minetest but do not use the /etc/init.d/minetest script. 
Since some time my cron job reports

error: stat of /var/log/minetest/minetest-server.log failed: Datei oder Verzeichnis nicht gefunden
run-parts: /etc/cron.daily/logrotate exited with return code 1

Please add "missingok" parameter to /etc/logrotate.d/minetest-server to avoid this error if the minetest-server.log does not exists

Reproducible: Always
Comment 1 Jonas Stein gentoo-dev 2020-08-08 07:08:57 UTC
"Datei oder Verzeichnis nicht gefunden" is file not found.

please use LANG=C for error messages next time.
Comment 2 Larry the Git Cow gentoo-dev 2020-08-16 08:01:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=733524ecd691013760473238b6e571010636196b

commit 733524ecd691013760473238b6e571010636196b
Author:     William Breathitt Gray <vilhelm.gray@gmail.com>
AuthorDate: 2020-08-08 15:33:07 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-08-16 08:00:58 +0000

    games-action/minetest: Add missingok parameter to logrotate config
    
    Closes: https://bugs.gentoo.org/736346
    Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/17053
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 games-action/minetest/files/minetestserver.logrotate | 1 +
 1 file changed, 1 insertion(+)