Bug 32421 - /usr/bin/start_liquidshell have extra /usr/ in line 26
Summary: /usr/bin/start_liquidshell have extra /usr/ in line 26
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK MGA9-32-OK
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2023-10-22 04:55 CEST by katnatek
Modified: 2023-10-22 23:06 CEST (History)
4 users (show)

See Also:
Source RPM: liquidshell-1.8.1-1.mga9.src.rpm
CVE:
Status comment: Test recommends in comment#4, Advisory on comment#5


Attachments

Description katnatek 2023-10-22 04:55:31 CEST
Description of problem:

.local/share/sddm/xorg-session.log show this message

cp: no se puede efectuar `stat' sobre '/usr//usr/share/applications/org.kde.liquidshell.desktop': No existe el fichero o el directorio

searching the cause of this, I find that the file /usr/bin/start_liquidshell have extra /usr/ in the line 26

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. start liquidshell session
2. see message in .local/share/sddm/xorg-session.log
3. see file /usr/bin/start_liquidshell in line 26
Comment 1 katnatek 2023-10-22 05:47:22 CEST
the issue come from the build process the upstream file https://github.com/KDE/liquidshell/blob/master/start_liquidshell, have  

cp @CMAKE_INSTALL_PREFIX@/@XDG_APPS_INSTALL_DIR@/org.kde.liquidshell.desktop $configDir/autostart

In line 26, so before the build remove @CMAKE_INSTALL_PREFIX@ or in install remove the extra /usr/
Comment 2 David GEIGER 2023-10-22 08:06:36 CEST
Should be fixed in liquidshell-1.8.1-1.1.mga9 in Core/Updates_testing repo!

Please test!

Packages in 9/Core/Updates_testing:
======================
liquidshell-1.8.1-1.1.mga9

From SRPMS:
liquidshell-1.8.1-1.1.mga9.src.rpm

CC: (none) => geiger.david68210
Assignee: bugsquad => qa-bugs

Comment 3 Marja Van Waes 2023-10-22 14:53:41 CEST
description: |
  /usr/bin/start_liquidshell had /usr//usr/ instead of /usr/ in line 26.
  Now, 'XDG_APPS_INSTALL_DIR' has been set to fix the path.

Advisory based on comment 2 and the description: above,  added to SVN. Please remove the "advisory" keyword if it needs to be changed. It also helps when obsolete advisories are tagged as "obsolete"

CC: (none) => marja11
Keywords: (none) => advisory

Comment 4 katnatek 2023-10-22 20:26:47 CEST
I see inside the rpm in updates testing and can confirm the line 26 is right
To users that like to test liquidshell session, I let some recommendations:

To really switch back to the usual session:

* Remove  ~/.config/autostart//org.kde.liquidshell.desktop
* In a terminal as root run loginctl terminate-user username , that will close all sessions you have, even on tty
* Select on your dm your usual session
Comment 5 katnatek 2023-10-22 20:37:42 CEST
Advisory:
======================
Extra path on the script start_liquidshell produce you can't start a liquidshell session, this update fix the issue

Reference: https://bugs.mageia.org/show_bug.cgi?id=32421

Packages in 9/Core/Updates_testing:
======================
liquidshell-1.8.1-1.1.mga9

From SRPMS:
liquidshell-1.8.1-1.1.mga9.src.rpm

Keywords: advisory => (none)
Whiteboard: (none) => MGA9-64-OK

katnatek 2023-10-22 20:39:16 CEST

Status comment: (none) => Test recommends in comment#4, Advisory on comment#5

Comment 6 katnatek 2023-10-22 20:47:45 CEST
I find a right way to close the session, in the panel next to system monitor you can see two squares, the bottom one is where you can close the session
Comment 7 katnatek 2023-10-22 21:16:48 CEST
Tested on both arches, I think no more test is needed, please update the advisory on svn, the marja¡s advisory is good but not say why this update is needed (my guilty I don't put that on description)

Whiteboard: MGA9-64-OK => MGA9-64-OK MGA9-32-OK

Comment 8 Thomas Andrews 2023-10-22 21:23:37 CEST
Validating.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Comment 9 Mageia Robot 2023-10-22 23:06:31 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2023-0100.html

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


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