Bug 15655 - gnome-terminal does not start on MGA5-i586-GNOME-LiveCD since timezone-related locale is missing
Summary: gnome-terminal does not start on MGA5-i586-GNOME-LiveCD since timezone-relate...
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: Release (media or process) (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal major
Target Milestone: ---
Assignee: ISO building group
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 3723
Blocks:
  Show dependency treegraph
 
Reported: 2015-04-08 16:09 CEST by Shlomi Fish
Modified: 2016-12-04 22:32 CET (History)
4 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Shlomi Fish 2015-04-08 16:09:47 CEST
Description of problem:

I cannot start gnome-terminal from the terminal (xterm/etc.) or from «Activities -> Apps -> Scroll -> Terminal» before or after the installation. After selecting:

1. US English as language.

2. Asia/Jerusalem as the timezone.

3. US Keyboard as the keyboard. 

<<<<
shlomif@localhost ~]$ gnome-terminal 

(process:4639): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.Terminal exited with status 8
[shlomif@localhost ~]$ 
[shlomif@localhost ~]$ 
[shlomif@localhost ~]$ locale
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC=he_IL.UTF-8
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY=he_IL.UTF-8
LC_MESSAGES="en_US"
LC_PAPER=he_IL.UTF-8
LC_NAME=he_IL.UTF-8
LC_ADDRESS=he_IL.UTF-8
LC_TELEPHONE=he_IL.UTF-8
LC_MEASUREMENT=he_IL.UTF-8
LC_IDENTIFICATION=he_IL.UTF-8
LC_ALL=
[shlomif@localhost ~]$


>>>>>>>>>>

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

Mageia 5 i586 LiveCD GNOME.

How reproducible:

Always.

Steps to Reproduce:
1. Try to start the terminal after selecting what I selected.


Reproducible: 

Steps to Reproduce:
Comment 1 Shlomi Fish 2015-04-08 17:06:26 CEST
From #mageia-qa (I am "rindolf"):

<rindolf> MrsB: OK, gnome-terminal starts fine on the GNOME i586 LiveDVD.
<rindolf> MrsB: with the Asia/Jerusalem TZ.
<MrsB> it's likely that mixed locales bug then rindolf. livecd is limited by nature though
<MrsB> it'll never have more locales than it has now
<rindolf> MrsB: I reported it here FWIW - https://bugs.mageia.org/show_bug.cgi?id=15655 .
Comment 2 Rémi Verschelde 2015-04-22 14:04:17 CEST
The first warning ("Locale not supported by C library") is a consequence of bug 3723 AFAICT. Shlomi reported that installing them missing locales-he removes the warning.

As for the error in itself, a quick search seems to show that gnome-terminal can't start without UTF-8 support:
https://bbs.archlinux.org/viewtopic.php?id=180103
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195394

So my guess is that the issue resides in LANG=en_US that should be LANG="en_US.UTF-8".

It might also be related to bug 3723 for that matter.

CC: (none) => rverschelde

Comment 3 Rémi Verschelde 2015-04-22 17:39:28 CEST
After doing some debugging, it looks like installing the missing locale (the one that corresponds to the timezone) and rebooting fixes the issue completely.

So this bug is a consequence of bug 3723.

As it's a major problem, I'll increase the priority of bug 3723 again, we really need to find a way to force installing both the language locale(s) + the timezone locale to prevent this kind of issue.

Depends on: (none) => 3723

Comment 4 Rémi Verschelde 2015-04-29 11:34:23 CEST
This bug should be fixed in the next set of ISOs - let's leave it open for now and close once we can confirm that.
Comment 5 Samuel Verschelde 2015-06-06 01:41:38 CEST
Should be fixed

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

Comment 6 Marja Van Waes 2015-06-06 09:42:49 CEST
(In reply to Samuel VERSCHELDE from comment #5)
> Should be fixed

Not here

I hit it last night, with 

Mageia-5-LiveCD-GNOME-en-i586-CD
Sat May 23 02:00:00 CEST 2015

(but with _none_ of the other Live isos)

Live Mode
Timezone Amsterdam


switching to ttyX, logging in there etc. works fine, though

Status: RESOLVED => REOPENED
CC: (none) => marja11
Resolution: FIXED => (none)

Samuel Verschelde 2015-06-06 09:44:11 CEST

Target Milestone: --- => Mageia 6

Comment 7 Marja Van Waes 2015-06-06 09:46:48 CEST
Note that Mageia-5-LiveCD-KDE4-en-i586-CD does not have the issue (nor any of the Live DVDs)

Summary: gnome-terminal does not start on MGA5-RC-i586-GNOME-LiveCD with Asia/Jerusalem timezone => gnome-terminal does not start on MGA5-i586-GNOME-LiveCD (depending on timezone?)

Comment 8 Rémi Verschelde 2015-06-06 11:07:34 CEST
I don't think we can fix this on the LiveCD, since they only have only locales-en, so if you chose a non English-speaking country/timezone you hit bug 3723 again.

I'm not sure we can do much against it apart from:
1. Hoping that GNOME devs will make/have made their software run fine even with fallback locales in recent GNOME versions
2. Tweaking the live CD so that it enforces en_US whatever timezone is chosen.
3. Dropping the live CD, who uses CDs anyway? :p
Rémi Verschelde 2015-06-06 11:09:14 CEST

Summary: gnome-terminal does not start on MGA5-i586-GNOME-LiveCD (depending on timezone?) => gnome-terminal does not start on MGA5-i586-GNOME-LiveCD since timezone-related locale is missing

Comment 9 Samuel Verschelde 2015-06-06 12:01:25 CEST
Maybe we should replace in the future the KDE and GNOME LiveCDs with a lightweight LXDE / LXQT / other lightweight DE LiveCD *with_locales*.
Comment 10 Marja Van Waes 2015-06-06 12:15:06 CEST
(In reply to Samuel VERSCHELDE from comment #9)
> Maybe we should replace in the future the KDE and GNOME LiveCDs with a
> lightweight LXDE / LXQT / other lightweight DE LiveCD *with_locales*.

Great idea.

It probably wouldn't be a problem if it would be slightly larger than a CD. Nowadays DVDs are (almost) as cheap as CDs, and many computer stores stopped selling CDs

The only reason to keep it as small as possible is for people who depend on 3G or another smallband connection, and/or have a data limit
Comment 11 Marja Van Waes 2016-10-09 11:30:49 CEST
We are _not_ going to have Mageia 5.1 Live _CDs_, are we?

If we won't have them, then this bug can be closed as OLD

Assignee: bugsquad => isobuild

Comment 12 Martin Whitaker 2016-10-09 13:19:24 CEST
(In reply to Marja van Waes from comment #11)
> We are _not_ going to have Mageia 5.1 Live _CDs_, are we?

Any particular reason why not? I've tested that they can be built. They would have to exclude the non-free drivers, as there's not enough space to include gcc and the kernel headers (to support a dkms build).

CC: (none) => mageia

Samuel Verschelde 2016-10-10 21:30:48 CEST

Target Milestone: Mageia 6 => ---

Comment 13 Martin Whitaker 2016-12-04 22:32:42 CET
Well, nobody seemed to want them, so I didn't create 5.1 Live CDs. And I believe it was decided to drop Live CDs for Mageia 6. So I think this gets closed as OLD. Reopen if you disagree.

Status: REOPENED => RESOLVED
Resolution: (none) => OLD


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