Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149329 - media-tv/mythtv should use elog instead of mixing echo and einfo
Summary: media-tv/mythtv should use elog instead of mixing echo and einfo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-27 11:05 UTC by cazzantonio
Modified: 2006-09-30 05:52 UTC (History)
0 users

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 cazzantonio 2006-09-27 11:05:01 UTC
mythtv ebuild (all versions) does not save einfo correclty in the elog logs.
This is because crucial informations are echoed to the console through the "echo" command instead of "einfo" (which is logged by elog).
This is not a terrible bug but is a very annoying thing if you relay on elog to read the einfo printed by emerge.

this is an exemple:
pkg_postinst() {
        if ! use backendonly; then
                echo    ###who cares for this line? the problem is below
                einfo "Want mythfrontend to start automatically? Run the following:"
                echo "crontab -e -u mythtv"  #### this is a line that doesn't get logged
                einfo "Add add the following:"
                echo "* * * * * /usr/bin/runmythfe &"  ##### another one
        fi
        echo
        einfo "To always have MythBackend running and available run the following:"
        echo "rc-update add mythbackend default"  #another
        echo
        ewarn "Your recordings folder must be owned by the user 'mythtv' now"
        echo "chown -R mythtv /path/to/store"  #idem
}

I hope there are no other ebuilds that behave this way... If I'll find some of them I'll let you know ;-)
Comment 1 Steve Dibb (RETIRED) gentoo-dev 2006-09-30 05:52:06 UTC
Thanks, fixed in CVS