1 |
commit: f30f1d471181f5b487dda53ac4d112cf56627060 |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 30 08:33:46 2021 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 30 08:34:54 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f30f1d47 |
7 |
|
8 |
app-admin/logrotate: call tmpfiles_process |
9 |
|
10 |
instead of printing message |
11 |
|
12 |
on openrc systems that directory already created by bootmisc |
13 |
|
14 |
Bug: https://bugs.gentoo.org/357275 |
15 |
Bug: https://bugs.gentoo.org/803458 |
16 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
17 |
|
18 |
app-admin/logrotate/logrotate-3.18.1.ebuild | 5 +---- |
19 |
1 file changed, 1 insertion(+), 4 deletions(-) |
20 |
|
21 |
diff --git a/app-admin/logrotate/logrotate-3.18.1.ebuild b/app-admin/logrotate/logrotate-3.18.1.ebuild |
22 |
index 254aa29f735..b422c0e89da 100644 |
23 |
--- a/app-admin/logrotate/logrotate-3.18.1.ebuild |
24 |
+++ b/app-admin/logrotate/logrotate-3.18.1.ebuild |
25 |
@@ -83,10 +83,7 @@ pkg_postinst() { |
26 |
|
27 |
move_old_state_file |
28 |
|
29 |
- elog "If you are running systemd you might need to run:" |
30 |
- elog "systemd-tmpfiles --create /usr/lib/tmpfiles.d/logrotate.conf" |
31 |
- elog "in order to create the new location of the logrotate state file" |
32 |
- elog |
33 |
+ tmpfiles_process ${PN}.conf |
34 |
|
35 |
if [[ -z ${REPLACING_VERSIONS} ]] ; then |
36 |
elog "If you wish to have logrotate e-mail you updates, please" |