Bug 1376498 - ovirt-guest-agent won't start on debian 8 due to missing executable flag
Summary: ovirt-guest-agent won't start on debian 8 due to missing executable flag
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: ovirt-guest-agent
Classification: oVirt
Component: Packaging
Version: 1.0.10
Hardware: x86_64
OS: Linux
unspecified
high vote
Target Milestone: ---
: ---
Assignee: Vinzenz Feenstra [evilissimo]
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-15 15:18 UTC by Sven Kieske
Modified: 2016-09-16 07:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-16 07:11:40 UTC
oVirt Team: Virt
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Debian BTS 782005 0 None None None 2016-09-16 06:56:39 UTC
Debian BTS 811481 0 None None None 2016-09-16 06:57:05 UTC

Description Sven Kieske 2016-09-15 15:18:58 UTC
Description of problem:
the guest agent doesn't start, because ovirt-guest-agent.py is not exectuable

Version-Release number of selected component (if applicable):
ovirt-guest-agent/stable,now 1.0.10.2.dfsg-2 all [installed]

installed from official debian repo

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:
guest agent won't start

Expected results:
guest agent starts just fine

Additional info:
the systemd unit file calls /etc/init.d/ovirt-guest-agent start
on start which performs the following check:

bash -x /etc/init.d/ovirt-guest-agent start
+ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin
+ DESC='oVirt management agent'
+ NAME=ovirt-guest-agent
+ DAEMON=/usr/share/ovirt-guest-agent/ovirt-guest-agent.py
+ DAEMON_ARGS=
+ PIDFILE=/var/run/ovirt-guest-agent.pid
+ SCRIPTNAME=/etc/init.d/ovirt-guest-agent
+ '[' -x /usr/share/ovirt-guest-agent/ovirt-guest-agent.py ']'
+ exit 0

just add the executable bit and you are fine :-)

tested on debian 8.5 x64

PS: I hope this is not fixed in later versions, because this fix should really make it into debian stable, shouldn't it?

HTH

Sven

Comment 1 Vinzenz Feenstra [evilissimo] 2016-09-16 07:11:40 UTC
Please track https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782005 for this particular issue - The debian maintainer is aware of the issue and has already posted a fix which is supposed to be included in the next minor update of debian stable


Note You need to log in before you can comment on or make changes to this bug.