[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#741228: kdelibs-bin: kauth helpers creates .config in /



Package: kdelibs-bin
Version: 4:4.8.4-4
Severity: normal
Tags: upstream patch

When logging into KDM, a directory /.config is created.

Just like #675857, this goes against the Linux FHS and accepted
usage, those run files (these are not config files, obviously!)
should rather be created in /run, or otherwise in
/var/{lib,run,lock} etc.

The problem is discussed in
https://bugs.kde.org/show_bug.cgi?id=249217 with a patch at
https://reviewboard.kde.org/r/110655/diff/3/#0.8

The patch is for KDE 4.11, but applies to the current version as
well.

However, it doesn't really solve the problem, just moves the
offending directory from / to /root where it also doesn't belong
because root-as-a-user is not involved. (Maybe that's somehow
different in 4.11, or it's still buggy there.) In fact, the user
doing the login is known at the time, so the file should be created
in their home directory -- or not at all (since it doesn't contain
any valuable information anyway, as seen by the fact that's it gets
happily recreated at every login when it's removed).

-- System Information:
Debian Release: 7.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i686)

Versions of packages kdelibs-bin depends on:
ii  libc6             2.13-38+deb7u1
pn  libkdecore5       <none>
ii  libkdeui5         4:4.8.4-4
ii  libkio5           4:4.8.4-4
ii  libkjsapi4        4:4.8.4-4
ii  libkjsembed4      4:4.8.4-4
ii  libkrosscore4     4:4.8.4-4
ii  libnepomuk4       4:4.8.4-4
ii  libnepomukutils4  4:4.8.4-4
ii  libqt4-dbus       4:4.8.2+dfsg-11
ii  libqt4-xml        4:4.8.2+dfsg-11
ii  libqtcore4        4:4.8.2+dfsg-11
ii  libqtgui4         4:4.8.2+dfsg-11
ii  libsoprano4       2.7.6+dfsg.1-2wheezy1
ii  libstdc++6        4.7.2-5
ii  libx11-6          2:1.5.0-1+deb7u1

kdelibs-bin recommends no packages.

kdelibs-bin suggests no packages.

-- no debconf information


Reply to: