Bug 2719 - Using kde4 leaves /.config/Trolltech.conf which shouldn't appear in filesystem's root
Summary: Using kde4 leaves /.config/Trolltech.conf which shouldn't appear in filesyste...
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: All Linux
Priority: Normal minor
Target Milestone: ---
Assignee: John Balcaen
QA Contact:
URL:
Whiteboard:
Keywords: UPSTREAM
: 1854 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-09-12 18:47 CEST by Dick Gevers
Modified: 2013-11-23 16:13 CET (History)
5 users (show)

See Also:
Source RPM: kdelibs4-core-4.7.1-1.mga2
CVE:
Status comment:


Attachments

Description Dick Gevers 2011-09-12 18:47:37 CEST
Description of problem:
InYesterday I used kde4 for a change, configuring lots of stuff and in the end find a file written to /.config/Trolltech.conf with following content:

[Qt%20Plugin%20Cache%204.7.false]
usr\lib64\kde4\plugins\kauth\backend\kauth_backend_plugin.so=40704, 0, x86_64 linux g++-4 full-config, 2011-09-07T11:52:42
usr\lib64\kde4\plugins\kauth\helper\kauth_helper_plugin.so=40704, 0, x86_64 linux g++-4 full-config, 2011-09-07T11:52:42

(Yes it was created 12/9 as per 'stat', not 7/9 as per content!)

It shouldn't write such stuff to the root of the filesystem.
Remco Rijnders 2011-09-12 22:19:41 CEST

Assignee: bugsquad => balcaen.john

Comment 1 John Balcaen 2011-09-12 22:38:05 CEST
Trolltech.conf is a Qt file not a kde4 file.

CC: (none) => balcaen.john

Comment 2 Dick Gevers 2011-09-12 22:41:48 CEST
I could only judge by the content of the conf file: obvously the file itself
isn't included in any package.

rpm -qf /usr/lib64/kde4/plugins/kauth/backend/kauth_backend_plugin.so 
kdelibs4-core-4.7.1-1.mga2

but feel free to reassign to proper package.
Comment 3 John Balcaen 2011-09-12 22:50:45 CEST
It's wrote in /root/.config/Trolltech.conf because a Qt related app (the kauth backend here)  was run as root probably because you did auth yourself to change some root related settings (via polkit eventually).
So if you want to prevent this behavior (write a conf file when there's no config file available) you should report it upstream but i guess it's going to be close as invalid because it's certainly a expected behavior from kdelibs or Qt.
Comment 4 Dick Gevers 2011-09-12 23:54:59 CEST
I don't think I did anything as root in KDE, only as user. And it's not
in /root but in the root of the filesystem, i.e. "/" ....
Comment 5 John Balcaen 2011-09-13 00:08:15 CEST
What did you use to get the auth plugin working ?
Hum here it's quite strange to be @ / :/
If you can reproduce could provide us a way to reproduce ?
(aka what did you do in systemsettings ? )
Comment 6 John Balcaen 2011-09-13 01:31:18 CEST
In fact it's more complicated then expected cf the upstream bug.

Keywords: (none) => UPSTREAM
See Also: (none) => https://bugs.kde.org/show_bug.cgi?id=249217

Comment 7 Dick Gevers 2011-10-02 17:29:08 CEST
This is a duplicate of #1854 or vice versa.
Comment 8 John Balcaen 2011-10-02 20:21:06 CEST
*** Bug 1854 has been marked as a duplicate of this bug. ***

CC: (none) => jim

Comment 9 Samuel Verschelde 2011-10-02 20:22:19 CEST
Setting version to 1 since Mageia 1 is also affected.

CC: (none) => stormi
Hardware: x86_64 => All
Version: Cauldron => 1

Comment 10 Dave Hodgins 2011-10-06 03:19:40 CEST
Note https://bugs.mageia.org/show_bug.cgi?id=1854#c4

The file /.config/Trolltech.conf _may_ be created during the
installation of kdebase4-workspace.  It's inconsistent though,
which will make tracking down the cause very difficult.

CC: (none) => davidwhodgins

Comment 11 Marja Van Waes 2012-01-09 17:38:34 CET
The upstream bug report has 275 votes, but didn't get fixed

CC: (none) => marja11

Comment 12 Marja Van Waes 2012-04-26 22:04:34 CEST
still not fixed upstream
Manuel Hiebel 2012-10-31 16:44:37 CET

Version: 1 => 2
Severity: normal => minor

Comment 13 Manuel Hiebel 2013-10-22 12:10:07 CEST
This message is a reminder that Mageia 2 is nearing its end of life.
Approximately one month from now Mageia will stop maintaining and issuing updates for Mageia 2. At that time this bug will be closed as WONTFIX (EOL) if it remains open with a Mageia 'version' of '2'.

Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Mageia version prior to Mageia 2's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Mageia 2 is end of life.  If you would still like to see this bug fixed and are able to reproduce it against a later version of Mageia, you are encouraged to click on "Version" and change it against that version of Mageia.

Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Mageia release includes newer upstream software that fixes bugs or makes them obsolete.

-- 
The Mageia Bugsquad
Comment 14 Manuel Hiebel 2013-11-23 16:13:42 CET
Mageia 2 changed to end-of-life (EOL) status on ''22 November''. Mageia 2 is no
longer maintained, which means that it will not receive any further security or
bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Mageia
please feel free to click on "Version" change it against that version of Mageia
and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

--
The Mageia Bugsquad

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


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