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

Bug 488932

Summary: Break out /usr/bin/wall to its own pkg from sysvinit?
Product: Gentoo Linux Reporter: Matthew Marlowe (RETIRED) <mattm>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: systemd
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 488306    

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.