GNOME Bugzilla – Bug 662158
dconf update requires /etc/dconf/db/site.d/locks
Last modified: 2011-10-19 21:40:47 UTC
sudo dconf update Error opening directory '/etc/dconf/db/site.d/locks': No such file or directory mkdir... then no error. steps that might be relevant: mkdir -p /etc/dconf/profile cd /etc/dconf/profile echo user > user echo site >> user mkdir -p /etc/dconf/db/site.d/ cd /etc/dconf/db/site.d/ cat <<EOT >local.dconf [org/gnome/desktop/screensaver] idle-activation-enabled=false lock-enabled=false # (more deleted, hope it doesn't matter) EOT
Created attachment 199483 [details] [review] Fix error handling for missing *.d/locks/ dir We were incorrectly checking for NULL as a return value from Dir.open() when that function as bound as throwing an exception on error -- so catch the exception instead.
Attachment 199483 [details] pushed as 1ec44d6 - Fix error handling for missing *.d/locks/ dir