Bug 1185861 - Feature request: adjusting executable script
Summary: Feature request: adjusting executable script
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-language
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Parag Nemade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-26 13:16 UTC by Wolfgang Ulbrich
Modified: 2015-06-16 15:48 UTC (History)
4 users (show)

Fixed In Version: system-config-language-2.3.0-3.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-30 07:01:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
region & language gnome (3.08 MB, image/png)
2015-02-06 15:45 UTC, Wolfgang Ulbrich
no flags Details

Description Wolfgang Ulbrich 2015-01-26 13:16:05 UTC
Description of problem:
system-config-language use

#!/bin/sh

exec /usr/bin/pkexec /usr/share/system-config-language/system-config-language.py

in executable script.
Unfortunately using 'exec' cause a double forking issue if starting from mate-control-center, see https://bugzilla.redhat.com/show_bug.cgi?id=972534 .
Using '/usr/bin/pkexec /usr/share/system-config-language/system-config-language.py' would fix the issue.
Is it possible to change that or is there a technical reason to use 'exec' in the script?

Thanks in advance

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

How reproducible:
always

Steps to Reproduce:
1. starting mate session
2. open mate-control-center from menu
3. try to start system-config-language

Comment 1 Wolfgang Ulbrich 2015-02-06 14:23:14 UTC
any news?

Comment 2 Parag Nemade 2015-02-06 14:37:52 UTC
Is this MATE specific issue or we can reproduce on GNOME desktop environment also?

Comment 3 Wolfgang Ulbrich 2015-02-06 14:48:27 UTC
I don't think because system-config-language don't start from g-c-c in gnome session.
From mate's menu system-config-language starts well, it only ocours when starting from m-c-c window.
I guess starting from gnome-menu inside classic session works well too (never tested).
But did gnome really use system-config-language nowadays?

Comment 4 Parag Nemade 2015-02-06 15:04:32 UTC
I do know few people who used to report bugs or provide feedback to me. Some of them are Gnome and others KDE. I don't think there is any other application available that can do the work that system-config-language used to do.

Comment 5 Wolfgang Ulbrich 2015-02-06 15:43:41 UTC
system-config-language starts well from menu in gnome-classic and activity window in gnome-shell in a VM.
So yes, it's only a prob in mate session if starting it from m-c-c window.
In gnome there is a control-center app called 'region & language' where you can set the language of the session.
Maybe the different is that system-config-language change the language system wide.

Comment 6 Wolfgang Ulbrich 2015-02-06 15:45:01 UTC
Created attachment 988938 [details]
region & language gnome

Comment 7 Wolfgang Ulbrich 2015-02-17 21:55:11 UTC
Any news in your analysis of the problem?
Honestly, i see no reason why you use 'exec' in a one line script.

Comment 8 Wolfgang Ulbrich 2015-03-01 18:46:39 UTC
ping again!

Comment 9 Jens Petersen 2015-03-11 10:11:21 UTC
May be unrelated but I can't open s-c-l from gnome-shell overview in F22.

Comment 10 Wolfgang Ulbrich 2015-03-12 18:35:45 UTC
ping?

Comment 11 Fedora Update System 2015-03-25 11:35:58 UTC
system-config-language-2.4.1-2.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/system-config-language-2.4.1-2.fc22

Comment 12 Fedora Update System 2015-03-25 12:04:58 UTC
system-config-language-2.3.0-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/system-config-language-2.3.0-3.fc21

Comment 13 Fedora Update System 2015-03-25 12:12:16 UTC
system-config-language-2.3.0-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/system-config-language-2.3.0-3.fc20

Comment 14 Fedora Update System 2015-03-29 04:23:34 UTC
Package system-config-language-2.3.0-3.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 system-config-language-2.3.0-3.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-4745/system-config-language-2.3.0-3.fc21
then log in and leave karma (feedback).

Comment 15 Fedora Update System 2015-03-30 07:01:20 UTC
system-config-language-2.4.1-2.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2015-04-02 15:37:06 UTC
system-config-language-2.3.0-3.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2015-04-06 08:35:48 UTC
system-config-language-2.3.0-3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 18 Parag Nemade 2015-06-16 15:48:11 UTC
hm probably I need to revert the change done in system-config-language then...


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