Bug 15464 - ibus-daemon not started in desktop session
Summary: ibus-daemon not started in desktop session
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: release_blocker normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard: 5RC Errata
Keywords:
: 15776 (view as bug list)
Depends on:
Blocks: 11709 14069
  Show dependency treegraph
 
Reported: 2015-03-10 08:17 CET by You-Cheng Hsieh
Modified: 2015-04-28 21:07 CEST (History)
7 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description You-Cheng Hsieh 2015-03-10 08:17:03 CET
Description of problem:
For Mageia 5 RC, ibus-daemon is not started in desktop session after new installation. Last working release was Mageia 5 beta 3.

Version-Release number of selected component (if applicable):
Unknown, ibus is not changed between beta3 and rc.

How reproducible:
Install any locale with ibus and boot to desktop. Or try with liveDVD.

Steps to Reproduce:
1.Boot Mageia-5-RC-LiveDVD-KDE4-i586-DVD
2.select Traditional Chinese.
3.in KDE session, ibus-daemon is not started.

Workaround: run "ibus-daemon -d -x &" in console.


Reproducible: 

Steps to Reproduce:
You-Cheng Hsieh 2015-03-31 16:35:27 CEST

Blocks: (none) => 11709

Comment 1 Marja Van Waes 2015-04-20 09:01:01 CEST
Did you try with Gnome Live, too?

CC: (none) => fundawang, lmenut, mageia, marja11, tmb
Whiteboard: (none) => 5RC

Comment 2 Thomas Backlund 2015-04-20 09:59:18 CEST
Anything in the logs ?
Comment 3 You-Cheng Hsieh 2015-04-20 11:46:12 CEST
@Marja: I'll try it later.

@tmb: Nothing other than rpm install or removal:
[root@localhost ~]# journalctl | grep ibus
 4æ 20 17:16:32 localhost finish-install[1898]: Installing IM packages:  ibus-libpinyin, ibus-chewing
                                                   ibus-libpinyin ibus-chewing
 4æ 20 17:16:32 localhost finish-install[1898]: Configuring "ibus" IM
 4æ 20 17:16:40 localhost finish-install[1898]: Installing IM packages:  ibus-libpinyin, ibus-chewing
                                                   ibus-libpinyin ibus-chewing
 4æ 20 17:16:40 localhost finish-install[1898]: Configuring "ibus" IM
 4æ 20 17:17:59 localhost [RPM][2466]: erase ibus-mozc-1.11.1522.102-10.mga5.i586: success

(Sorry for posting output in comment)
The above is get from a system installed with livedvd-kde4, after first bootup.
Comment 4 You-Cheng Hsieh 2015-04-21 05:44:18 CEST
@Marja:
In Gnome live DVD, ibus-daemon is started but there is no default input method set and need to be setup by user manually. I'll report that as another bug.
Comment 5 Marja Van Waes 2015-04-21 07:47:28 CEST
(In reply to You-Cheng Hsieh from comment #4)
> @Marja:
> In Gnome live DVD, ibus-daemon is started but there is no default input
> method set and need to be setup by user manually. I'll report that as
> another bug.

Thanks for doing that :-)

I hope both issues will get fixed, but also think both issues should be added to the Errata for now. 

Where to add them? If there are _no_ such problems with installs from the Classical DVD, then https://wiki.mageia.org/en/Mageia_5_Errata#Live_CD.2FDVD seems the best place.

If you don't know about the classical iso in this regard, could you then maybe test with the next round (soon to come) of pre-5RC QA isos?

Whiteboard: 5RC => 5RC Errata

Comment 6 You-Cheng Hsieh 2015-04-21 08:53:19 CEST
The classical iso have same problem. I'll add them in the Errata.
Comment 7 Samuel Verschelde 2015-04-27 09:14:41 CEST
*** Bug 15776 has been marked as a duplicate of this bug. ***

CC: (none) => atljcsaravia

Comment 8 Thomas Backlund 2015-04-27 12:07:05 CEST
(In reply to You-Cheng Hsieh from comment #0)
> Description of problem:
> For Mageia 5 RC, ibus-daemon is not started in desktop session after new
> installation. Last working release was Mageia 5 beta 3.
> 

So, if you install a M5 beta3 and then fully update it from cauldron, does it still work ?
Comment 9 You-Cheng Hsieh 2015-04-27 12:28:15 CEST
I don't have beta3 iso around. I have a VM guest that updated to caldron after mageia3 and before mageia4. It was working but after I switched input method to gcin and switch back, it no longer works.
Comment 10 Samuel Verschelde 2015-04-27 14:11:22 CEST
Adding to release blockers since it affects a lot of eastern users and shows in reviews already.

see http://mandrivachronicles.blogspot.co.uk/2015/04/mageia-5-rc-is-out-quick-test-drive.html

Priority: Normal => release_blocker
Blocks: (none) => 14069

Comment 11 Thomas Backlund 2015-04-27 22:14:21 CEST
(In reply to You-Cheng Hsieh from comment #9)
> I don't have beta3 iso around. I have a VM guest that updated to caldron
> after mageia3 and before mageia4. It was working but after I switched input
> method to gcin and switch back, it no longer works.


Hm, there has been only 2 lang related changes in drakx lately...

could you try reverting theese 2:
http://gitweb.mageia.org/software/drakx/patch/perl-install/lang.pm?id=fbf27f4592f76cb9509a6c960444bb5b3436aeef
http://gitweb.mageia.org/software/drakx/patch/perl-install/lang.pm?id=6c23072af9db257153d993e6a87bfc02b69a2263

and try to reconfigure input method again to see if that changes anything
Comment 12 You-Cheng Hsieh 2015-04-28 04:32:36 CEST
Thanks, that just explains everything.
According to these changes, we are using /etc/locale.conf if it exists. But there're only these setting in it:
LANGUAGE=
LANG=
...And no input method.:(
So I did this as root:
rm -f /etc/locale.conf; cp -a /etc/sysconfig/i18n /etc/locale.conf
And login again, ibus is back.

1.When we do such system setting migration or change in the future, there should be some announcement in the mailing list and/or mention in release note.

2.By default, locale.conf should contain same content as i18n. Should we use soft link? I'm not sure if anything else read i18n instead of locale.conf.

3.Upgrading from Mageia 4 to 5 should copy /etc/sysconfig/i18n to /etc/locale.conf.(If we don't use soft link)

4.localedrake should read and write settings in locale.conf.(If we don't use soft link)

We might need more Classic/live dvd (and more time) to make sure 2. 3. 4. are fixed.
Comment 13 Luc Menut 2015-04-28 11:29:53 CEST
@Colin

As /etc/profile.d/10lang* don't read /etc/sysconfig/i18n when /etc/locale.conf is available, Input Methods fields (IM_i18n_fields) should be written in /etc/locale.conf .

CC: (none) => mageia
Hardware: i586 => All

Comment 14 Mageia Robot 2015-04-28 18:13:58 CEST
commit c753c249f41575e447c9823e020e8c98ca3daa96
Author: Thomas Backlund <tmb@...>
Date:   Tue Apr 28 19:13:35 2015 +0300

    - localedrake:
      o write input methods to /etc/locale.conf (mga#15464)
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=c753c249f41575e447c9823e020e8c98ca3daa96
Comment 15 Thomas Backlund 2015-04-28 21:07:06 CEST
drakxtools and stage2 v 16.90 pushed to mirrors with the localedrake fixes and it works in my tests...

So closing as fixed, but please test and verify it works for you too...

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


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