Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 488932 - Break out /usr/bin/wall to its own pkg from sysvinit?
Summary: Break out /usr/bin/wall to its own pkg from sysvinit?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 488306
  Show dependency tree
 
Reported: 2013-10-21 18:56 UTC by Matthew Marlowe (RETIRED)
Modified: 2013-10-21 21:08 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 Matthew Marlowe (RETIRED) gentoo-dev 2013-10-21 18:56:37 UTC
apcupsd expects that users have the /usr/bin/wall binary installed.
It appears that this program is normally installed as part of the sysvinit pkg.
However, we have a few users complaining that this program doesn't exist on their box.  I assume they are running systemd and thus do not have the sysvinit pkg?

This bug is to consider the possibility of breaking out /usr/bin/wall into it's own package and have sysvinit or systemd depend on it, or if it really isn't needed in most cases -- just have apcupsd depend on it and not have sysvinit install it by default.

wall used to be a critical package, I'm not sure what system dependencies exist for it now.
Comment 1 Matthew Marlowe (RETIRED) gentoo-dev 2013-10-21 18:59:17 UTC
hyperion ~ # equery belongs /usr/bin/wall
 * Searching for /usr/bin/wall ... 
sys-apps/sysvinit-2.88-r4 (/usr/bin/wall)
Comment 2 Pacho Ramos gentoo-dev 2013-10-21 19:04:47 UTC
I think sysvinit maintainers refuse to split it if upstream doesn't do that. In that case, you would simply need to depend on sysvinit to get wall
Comment 3 Mike Gilbert gentoo-dev 2013-10-21 19:21:12 UTC
/usr/bin/wall was moved to util-linux at some point. You need to enable the "tty-helpers" use flag to get it.

Maybe add this dependency in the apcupsd ebuild:

sys-apps/util-linux[tty-helpers(-)]
Comment 4 Mike Gilbert gentoo-dev 2013-10-21 19:24:30 UTC
Actually, I guess it should be this:

|| (
    sys-apps/util-linux[tty-helpers(-)]
    <=sys-apps/sysvinit-2.88-r4
)
Comment 5 Matthew Marlowe (RETIRED) gentoo-dev 2013-10-21 21:08:24 UTC
Thanks - I've updated the apcupsd dependencies.