Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256858 - app-admin/tenshi-0.10-r3 stabilization request
Summary: app-admin/tenshi-0.10-r3 stabilization request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Heath Caldwell (RETIRED)
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on: 255714
Blocks:
  Show dependency tree
 
Reported: 2009-01-29 22:07 UTC by Heath Caldwell (RETIRED)
Modified: 2009-02-01 19:07 UTC (History)
1 user (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 Heath Caldwell (RETIRED) gentoo-dev 2009-01-29 22:07:14 UTC
Please stabilize app-admin/tenshi-0.10-r3.
Comment 1 Ferris McCormick (RETIRED) gentoo-dev 2009-01-29 23:55:19 UTC
(On sparc) it's probably fine and runs if started by hand, but
/etc/init.d/tenshi start
fails with
[WARNING] /var/log/messages: file not readable
because /var/log/messages looks like:

-rw------- 1 root root 101798 2009-01-29 23:35 /var/log/messages

but /etc/init.d/tenshi start
runs tenshi as:

tenshi:tenshi
and so it can't read the messages file.  Is this a problem we should worry about?  (The /etc/tenshi/tenshi.conf file claims to be a sample, but still, this seems like a strange state of things.  On the other hand, this used to be a fatal error and is not arch dependent nor system dependent nor version dependent.)

I'll mark stable for sparc if this is expected behavior.
Comment 2 Heath Caldwell (RETIRED) gentoo-dev 2009-01-30 16:52:11 UTC
I think it is expected behavior, but since it might be confusing when it won't start right out of the box, I just added a warning to pkg_postinst() to inform the user about it:

 * The sample config installed to /etc/tenshi/tenshi.conf
 * monitors /var/log/messages which, by default, can not be read
 * by the tenshi user.  Make sure that the tenshi user has read
 * permission on all the files that you want tenshi to monitor.

There will still be a warning on start if /var/log/mail.log doesn't exist, but it should still start, and between the pkg_postinst warning and the file missing warning, the user should be motivated to check out the config.
Comment 3 Ferris McCormick (RETIRED) gentoo-dev 2009-01-30 17:56:59 UTC
Sparc stable, thanks for the clarification and warnings.
Comment 4 Markus Meier gentoo-dev 2009-02-01 12:16:14 UTC
amd64/x86 stable
Comment 5 nixnut (RETIRED) gentoo-dev 2009-02-01 19:07:41 UTC
ppc stable. closing since we're last