Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 935338

Summary: dev-db/firebird with app-admin/logrotate-3.22.0: logrotate file missing group name
Product: Gentoo Linux Reporter: Maciej S. Szmigiero <mail>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/logrotate/logrotate/pull/575
Whiteboard:
Package list:
Runtime testing required: ---

Description Maciej S. Szmigiero 2024-07-02 10:12:14 UTC
dev-db/firebird installs logrotate file that's missing group name in "create" directive.

With app-admin/logrotate-3.22.0 (likely due to [1]) this apparently fails:
> error: firebird:9 unknown user '644'
> error: found error in /var/log/firebird/firebird.log, skipping
> error: found error in file firebird, skipping
> run-parts: /etc/cron.daily/logrotate exited with return code 1

I guess it should be "create 644 firebird firebird" instead of "create 644 firebird".

[1]: https://github.com/logrotate/logrotate/pull/575
Comment 1 Larry the Git Cow gentoo-dev 2024-07-04 01:39:26 UTC
The bug has been closed via the following commit(s):

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

commit e457c5baba5be5d10bb3472e7d623b35e704d2e2
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-07-04 01:36:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-07-04 01:36:26 +0000

    dev-db/firebird: fix compat w/ newer logrotate (specify group name)
    
    Closes: https://bugs.gentoo.org/935338
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-db/firebird/files/firebird.logrotate                                | 2 +-
 ...ebird-3.0.10.33601.0-r1.ebuild => firebird-3.0.10.33601.0-r2.ebuild} | 0
 ...irebird-3.0.4.33054.0-r2.ebuild => firebird-3.0.4.33054.0-r3.ebuild} | 0
 3 files changed, 1 insertion(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89168fbdb125f566518f25f52ef84ea0861e2002

commit 89168fbdb125f566518f25f52ef84ea0861e2002
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-07-04 01:38:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-07-04 01:38:07 +0000

    app-admin/ulogd: fix compat w/ newer logrotate (specify group name)
    
    Bug: https://bugs.gentoo.org/935338
    Signed-off-by: Sam James <sam@gentoo.org>

 app-admin/ulogd/files/ulogd.logrotate                         | 2 +-
 app-admin/ulogd/{ulogd-2.0.8.ebuild => ulogd-2.0.8-r1.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)