Bug 16938

Summary: Wrong Exec path in draksnapshot autostart entry
Product: Mageia Reporter: a b <mageia824>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal Keywords: Junior_job, PATCH
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA5TOO
Source RPM: draksnapshot-0.20.3-11.mga5.src.rpm CVE:
Status comment:

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