[Bug 1240964] New: Environment file not read on EL7

bugzilla at redhat.com bugzilla at redhat.com
Wed Jul 8 09:13:15 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1240964

            Bug ID: 1240964
           Summary: Environment file not read on EL7
           Product: Fedora EPEL
           Version: epel7
         Component: fusioninventory-agent
          Assignee: perl-devel at lists.fedoraproject.org
          Reporter: kevin at famillecousin.fr
        QA Contact: extras-qa at fedoraproject.org
                CC: marianne at tuxette.fr,
                    perl-devel at lists.fedoraproject.org



Description of problem:

OPTION Variable not exist in Environmnent File
/etc/sysconfig/fusioninventory-agent

cat /etc/sysconfig/fusioninventory-agent
#
# Fusion Inventory Agent Configuration File
# used by hourly cron job and service launcher to override the
fusioninventory-agent.cfg setup.
#
# DONT FORGET to enable the service !
#
# Add tools directory if needed (tw_cli, hpacucli, ipssend, ...)
PATH=/sbin:/bin:/usr/sbin:/usr/bin
# Global options (debug for verbose log, rpc-trust-localhost for yum-plugin)
FUSINVOPT="--debug "

cat /usr/lib/systemd/system/fusioninventory-agent.service 
[Unit]
Description=FusionInventory agent
After=syslog.target network.target

[Service]
EnvironmentFile=-/etc/sysconfig/fusioninventory-agent
Type=forking
ExecStart=/usr/bin/fusioninventory-agent --daemon --pidfile
/var/run/fusioninventory-agent.pid $OPTIONS

[Install]
WantedBy=multi-user.target

[Service]
EnvironmentFile=-/etc/sysconfig/fusioninventory-agent
Type=forking
ExecStart=/usr/bin/fusioninventory-agent --daemon --pidfile
/var/run/fusioninventory-agent.pid $OPTIONS

Version-Release number of selected component (if applicable):
2.3.16-2.el7

I need to change the /etc/sysconfig/fusioninventory-agent from
FUSINVOPT="--debug " to OPTIONS="--debug"

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the perl-devel mailing list