ubuntustudio-bugs team mailing list archive
-
ubuntustudio-bugs team
-
Mailing list archive
-
Message #12904
[Bug 1851573] Re: configuration file //.config/debconf-kde-helperrc not writable
I experienced this today doing system updates. I have a proposed
workaround until it is properly solved in `debconf-kde-helper`. The root
of the problem seems to be that `debconf-kde-helper` is being launched
from a barebones process with an empty environment. It assumes that it
is going to be able to find the current user's home directory with
`getenv("HOME")`, but as that variable is unset, injecting it into the
string `"/$HOME/.config/..."` results in `//.config/...`. So... why not
just make sure `$HOME` is in fact set? :-)
Steps:
1. Obtain a root shell.
2. `cd /usr/bin`
3. `mv debconf-kde-helper debconf-kde-helper-actual`
4. Create a new `debconf-kde-helper`:
```
#!/bin/bash
eval export HOME=~`/usr/bin/whoami`
${BASH_SOURCE}-actual $@
```
5. `chmod +x debconf-kde-helper`
I haven't yet seen this fully-integrated, but I tested it by running a
shell and clearing the $HOME environment variable. Without this, running
`debconf-kde-helper` reproduces the "//.config/..." error. With this
workaround, no error appears.
--
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to kde-runtime in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/1851573
Title:
configuration file //.config/debconf-kde-helperrc not writable
Status in KDE Base Runtime:
New
Status in kde-runtime package in Ubuntu:
Confirmed
Bug description:
Running ubuntu 19.10 with plasma 5.17 backport. When I run Configure -
system settings module from bluetooth icon on icon tray it displays
the error:
debconf-kde-helper - KDialog
Configuration file "//.config/debconf-kde-helperrc" not writable.
Please contact your system administrator.
To manage notifications about this bug go to:
https://bugs.launchpad.net/kde-runtime/+bug/1851573/+subscriptions
References