FS#62393 - [dconf] No /etc/dconf dir causing database update hook to fail

Attached to Project: Arch Linux
Opened by Jerry Xiao (JerryXiao) - Friday, 19 April 2019, 03:03 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 01 May 2019, 12:58 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
/etc/dconf is not owned by any package, thus not created on my machine(and on many other machines, I believe).
The new database update hook runs dconf update without checking its existence, causing the following error:
error: Error opening directory “/etc/dconf/db”: No such file or directory

Additional info:
* package version(s)
0.32.0-2
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
$ pacman -Qo /etc/dconf
error: No package owns /etc/dconf
$ sudo dconf update
error: Error opening directory “/etc/dconf/db”: No such file or directory
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 01 May 2019, 12:58 GMT
Reason for closing:  Fixed
Comment by Philip Nelson (blu3r4d0n) - Friday, 19 April 2019, 03:50 GMT
I am also receiving this error.
Comment by youngunix (youngunix) - Friday, 19 April 2019, 04:02 GMT
Same issue here except I do have dconf installed. I manually added /dconf/db folder and ran dconf update, no error was reported.
The install script needs to also check if /etc/dconf/db exists before updating.
Comment by Philip Nelson (blu3r4d0n) - Friday, 19 April 2019, 04:13 GMT
I also have dconf installed and I did the same thing.
Comment by Jerry Xiao (JerryXiao) - Friday, 19 April 2019, 07:39 GMT
fixed in 0.32.0-3

Loading...