Bug 16938 - Wrong Exec path in draksnapshot autostart entry
Summary: Wrong Exec path in draksnapshot autostart entry
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard: MGA5TOO
Keywords: Junior_job, PATCH
Depends on:
Blocks:
 
Reported: 2015-10-11 09:21 CEST by a b
Modified: 2016-09-28 17:06 CEST (History)
0 users

See Also:
Source RPM: draksnapshot-0.20.3-11.mga5.src.rpm
CVE:
Status comment:


Attachments

Description a b 2015-10-11 09:21:06 CEST
Description of problem:
draksnapshot provides a Gnome autostart entry in /usr/share/gnome/autostart/gnome-autostart-draksnapshot.desktop, but the "Exec=" path in there is wrong, as it's pointing to bin instead of sbin. This patch fixes it:

--- /usr/share/gnome/autostart/gnome-autostart-draksnapshot.desktop.rpmorig	2015-06-03 09:06:24.000000000 -0700
+++ /usr/share/gnome/autostart/gnome-autostart-draksnapshot.desktop	2015-10-10 21:57:20.241402430 -0700
@@ -1,7 +1,7 @@
 [Desktop Entry]
 Name=DrakSnapshot Applet
 Comment=Applet for DrakSnapshot
-Exec=/usr/bin/draksnapshot-applet
+Exec=/usr/sbin/draksnapshot-applet
 Icon=draksnapshot-applet
 Type=Application
 StartupNotify=true


Reproducible: 

Steps to Reproduce:
Samuel Verschelde 2015-10-12 09:50:47 CEST

Assignee: bugsquad => thierry.vignaud

Rémi Verschelde 2015-10-13 18:40:46 CEST

Keywords: (none) => Junior_job, PATCH

Comment 1 Rémi Verschelde 2015-10-13 18:41:03 CEST
Likely affects Cauldron too.

Version: 5 => Cauldron
Whiteboard: (none) => MGA5TOO

Comment 2 Thierry Vignaud 2016-09-28 17:06:06 CEST
Thanks for the fix, I just applied it to the cauldron package

Status: NEW => RESOLVED
Resolution: (none) => FIXED


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