Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218212 - net-mail/mailgraph mailgraph: error in initscript (openrc)
Summary: net-mail/mailgraph mailgraph: error in initscript (openrc)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-18 06:02 UTC by shpokas
Modified: 2008-04-27 18:53 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 shpokas 2008-04-18 06:02:23 UTC
yet another broken initscript after upgrade to openrc/baselayout-2

Reproducible: Always

Steps to Reproduce:
1. Update to openrc/baselayout-2
2. /etc/init.d/mailgraph (re)start

Actual Results:  

mail 08:59:56 postfix # /etc/init.d/mailgraph restart
 * Caching service dependencies ...                                                                             [ ok ]
 * Shutting down mailgraph ...                                                                                  [ ok ]
 * Starting mailgraph ...
 * start-stop-daemon: --start needs --exec
/lib/rc/sh/runscript.sh: line 17: --exec: command not found                                                     [ !! ]


Expected Results:  
mailgraph to start.


a quite easy workaround is to add "--name mailgraph \" to start script

                -c "${MG_DAEMON_UID}:${MG_DAEMON_GID}" \
+               --name mailgraph \
                --exec /usr/bin/mailgraph -- -v --daemon \

Dunno if that's a correct way to solve this.
Comment 1 Tobias Scherbaum (RETIRED) gentoo-dev 2008-04-27 18:53:09 UTC
Fixed in CVS.