[Pkg-kde-extras] Bug#435946: KControl closes when kdmtheme is selected and user is not root
Ivan Zaera Avellon
izaera at gmail.com
Sat Aug 4 11:31:53 UTC 2007
Package: kdmtheme
Version: 1.1.2-2
Severity: normal
--- Please enter the report below this line. ---
When kdmtheme module is selected in kcontrol, it closes without any error
report. I've run an "strace -f" on kcontrol and figured out that the problem
is that I don't have the file in $HOME/.kde/share/config/kdm/kdmrc, so
kdmtheme tries to modify /etc/kde3/kdm/kdmrc, which of course, cannot be
written if you are not root.
If I launch "sudo kcontrol" from a terminal, then everything works fine.
I suggest to create the "$HOME/.kde/share/config/kdm/kdmrc" file or, better
(as I suppose that when you change kdm theme you are expecting to change it
for everybody, not just you as it does not have much sense), tell the user
that he must be an administrator to change KDM's theme.
I send the final lines of the strace below:
access("/home/ivan/.kde/share/config/kdm/kdmrc", R_OK) = -1 ENOENT (No such
file or directory)
access("/etc/kde3/kdm/kdmrc", R_OK) = -1 EACCES (Permission denied)
munmap(0x2b39ce5a7000, 6965) = 0
munmap(0x2b39ce57a000, 184157) = 0
munmap(0x2b39cf1f4000, 143998) = 0
gettimeofday({1186226900, 678547}, NULL) = 0
gettimeofday({1186226900, 678878}, NULL) = 0
exit_group(1) = ?
Process 15227 detached
--- System information. ---
Architecture: amd64
Kernel: Linux 2.6.21-2-amd64
Debian Release: lenny/sid
500 testing security.debian.org
500 testing ftp.debian.org
500 stable ftp.debian.org
--- Package information. ---
Depends (Version) | Installed
==================================-+-================
kdelibs4c2a (>= 4:3.5.5-1) | 4:3.5.7.dfsg.1-1
libacl1 (>= 2.2.11-1) | 2.2.42-1
libart-2.0-2 (>= 2.3.16) | 2.3.19-3
libattr1 (>= 2.4.4-1) | 1:2.4.32-1.1
libaudio2 | 1.9-2+b1
libc6 (>= 2.3.5-1) | 2.6-2
libfam0 | 2.7.0-12
libfontconfig1 (>= 2.4.0) | 2.4.2-1.2
libfreetype6 (>= 2.2) | 2.2.1-6
libgcc1 (>= 1:4.1.1-12) | 1:4.2-20070712-1
libice6 (>= 1:1.0.0) | 1:1.0.3-2
libidn11 (>= 0.5.18) | 0.6.5-1
libjpeg62 | 6b-13
libpng12-0 (>= 1.2.13-4) | 1.2.15~beta5-2
libqt3-mt (>= 3:3.3.7) | 3:3.3.7-5
libsm6 | 2:1.0.3-1+b1
libstdc++6 (>= 4.1.1-12) | 4.2-20070712-1
libx11-6 | 2:1.0.3-7
libxcursor1 (>> 1.1.2) | 1:1.1.8-2
libxext6 | 1:1.0.3-2
libxft2 (>> 2.1.1) | 2.1.12-2
libxi6 | 2:1.1.1-1
libxinerama1 | 1:1.0.2-1
libxrandr2 | 2:1.2.1-1
libxrender1 | 1:0.9.2-1
libxt6 | 1:1.0.5-3
zlib1g (>= 1:1.2.1) | 1:1.2.3.3.dfsg-5
kdm | 4:3.5.7-1
More information about the pkg-kde-extras
mailing list