Bug 1220626 - fpaste --sysinfo does not recognize lxqt
Summary: fpaste --sysinfo does not recognize lxqt
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fpaste
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ankur Sinha (FranciscoD)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-12 03:30 UTC by bodhi.zazen
Modified: 2015-06-06 00:06 UTC (History)
7 users (show)

Fixed In Version: fpaste-0.3.7.4-1.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-28 12:03:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description bodhi.zazen 2015-05-12 03:30:11 UTC
Description of problem:

fpaste --sysinfo does not recognize lxqt

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

fpaste.noarch                        0.3.7.3.3-1.fc22

How reproducible:

run fpaste --sysinfo

Steps to Reproduce:

run fpaste --sysinfo


Actual results:

Desktop(s) Running (failed: "ps -eo comm= | grep -E '(gnome-session|startkde|startactive|xfce.?-session|fluxbox|blackbox|hackedbox|ratpoison|enlightenment|icewm-session|od-session|wmaker|wmx|openbox-lxde|openbox-gnome-session|openbox-kde-session|mwm|e16|fvwm|xmonad|sugar-session|mate-session)' "):
     N/A


Expected results:

fpaste should detect lxqt

Additional info:

"fix" add lxqt-session to the list

like this :

ps -eo comm= | grep -E '(gnome-session|startkde|startactive|xfce.?-session|fluxbox|blackbox|hackedbox|ratpoison|enlightenment|icewm-session|od-session|wmaker|wmx|openbox-lxde|openbox-gnome-session|openbox-kde-session|mwm|e16|fvwm|xmonad|sugar-session|mate-session|lxqt-session)'

The only problem is the command returns:

ps -eo comm= | grep -E '(gnome-session|startkde|startactive|xfce.?-session|fluxbox|blackbox|hackedbox|ratpoison|enlightenment|icewm-session|od-session|wmaker|wmx|openbox-lxde|openbox-gnome-session|openbox-kde-session|mwm|e16|fvwm|xmonad|sugar-session|mate-session|lxqt-session)'
lxqt-session
lxqt-session <defunct>

Note: the "lxqt-session <defunct>"

Comment 1 Ankur Sinha (FranciscoD) 2015-05-12 10:18:45 UTC
Is there always a lxqt-session that is defunct?

Comment 2 bodhi.zazen 2015-05-12 12:33:17 UTC
There is not a defunct session today. I am not sure where that came from.

Today I am getting (I took the liberty of adding lxqt-session to the end of your grep)

ps -eo comm= | grep -E '(gnome-session|startkde|startactive|xfce.?-session|fluxbox|blackbox|hackedbox|ratpoison|enlightenment|icewm-session|od-session|wmaker|wmx|openbox-lxde|openbox-gnome-session|openbox-kde-session|mwm|e16|fvwm|xmonad|sugar-session|mate-session|lxqt-session)'

lxqt-session

Comment 3 Fedora Update System 2015-05-22 15:47:53 UTC
fpaste-0.3.7.4-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/fpaste-0.3.7.4-1.fc22

Comment 4 Fedora Update System 2015-05-22 16:02:31 UTC
fpaste-0.3.7.4-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/fpaste-0.3.7.4-1.fc21

Comment 5 Fedora Update System 2015-05-26 03:17:30 UTC
Package fpaste-0.3.7.4-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing fpaste-0.3.7.4-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-8747/fpaste-0.3.7.4-1.fc21
then log in and leave karma (feedback).

Comment 6 bodhi.zazen 2015-05-26 13:15:14 UTC
It works, but for some reason I am getting lxqt-session <defunct> again .

http://paste.fedoraproject.org/225572/45527143/

Desktop(s) Running (ps -eo comm= | grep -E '(gnome-session|startkde|startactive|xfce.?-session|fluxbox|blackbox|hackedbox|ratpoison|enlightenment|icewm-session|od-session|wmaker|wmx|openbox-lxde|openbox-gnome-session|openbox-kde-session|mwm|e16|fvwm|xmonad|sugar-session|mate-session|lxqt-session|cinnamon)' ):
     lxqt-session
     lxqt-session <defunct>

I am not really sure where that come from , but you can modify your grep if you wish, add a "$" onto lxqt-session -> lxqt-session$

ps -eo comm= | grep -E '(gnome-session|startkde|startactive|xfce.?-session|fluxbox|blackbox|hackedbox|ratpoison|enlightenment|icewm-session|od-session|wmaker|wmx|openbox-lxde|openbox-gnome-session|openbox-kde-session|mwm|e16|fvwm|xmonad|sugar-session|mate-session|lxqt-session$|cinnamon)' 

                                                           

It seems to be a very minor issue ( <defunct> )

Thank you

Comment 7 Ankur Sinha (FranciscoD) 2015-05-26 14:25:16 UTC
This has been reported before, and I have no idea why an lxqt defunct session exists. When I make the next release, I'll add the $ at the end of all the entries.

Comment 8 Fedora Update System 2015-05-28 12:03:51 UTC
fpaste-0.3.7.4-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Raphael Groner 2015-06-04 13:40:13 UTC
@Helio @rdieter FYI ;)

Comment 10 Rex Dieter 2015-06-04 13:56:04 UTC
I'd recommend fpaste consider utilizing XDG_CURRENT_DESKTOP environment variable, instead of scraping for specific process names.

Comment 11 Rex Dieter 2015-06-04 13:56:30 UTC
(or at least as a supplement)

Comment 12 Fedora Update System 2015-06-06 00:06:28 UTC
fpaste-0.3.7.4-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


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