pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/56114: 2021Q1 gsettings in glib2 refers /var/lib/dbus, not /var/db/dbus
>Number: 56114
>Category: pkg
>Synopsis: 2021Q1 gsettings in glib2 refers /var/lib/dbus, not /var/db/dbus
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Apr 17 13:50:00 +0000 2021
>Originator: Izumi Tsutsui
>Release: NetBSD 9.1 and pkgsrc-2021Q1
>Organization:
>Environment:
System: NetBSD mirage 9.1 NetBSD 9.1 (GENERIC) #0: Sun Oct 18 19:24:30 UTC 2020 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
gsettings from glib2-2.66.8 in pkgsrc-2021Q1 refers /var/lib/dbus:
---
% ktrace gsettings set org.freedesktop.ibus.general.hotkey triggers "[]"
% kdump
[...]
2828 4 gsettings CALL __stat50(0x7252743802c0,0x7252707dfca0)
2828 4 gsettings NAMI "/home/mikutter/.cache/bus"
2828 4 gsettings RET __stat50 -1 errno 2 No such file or directory
2828 4 gsettings CALL issetugid
2828 4 gsettings RET issetugid 0
2828 4 gsettings CALL open(0x72527455353e,0,0)
2828 4 gsettings NAMI "/var/lib/dbus/machine-id"
2828 4 gsettings RET open -1 errno 2 No such file or directory
---
while dbus in pkgsrc-2021Q1 still refers /var/db/dbus
(changed to refer /var/lib/dbus after 2021Q1 branch):
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/sysutils/dbus/Makefile#rev1.124
https://mail-index.netbsd.org/pkgsrc-changes/2021/03/29/msg231497.html
---
dbus: switch from pkgsrc-only var/db/dbus to default var/lib/dbus
This path is what other code, notably glib2, expects.
---
Note gsettings from glib2-2.66.4 in pkgsrc-2020Q4 refers /var/db/dbus:
---
10776 4 gsettings CALL __stat50(0xb0c36260,0xb03dfd7c)
10776 4 gsettings NAMI "/home/tsutsui/.cache/bus"
10776 4 gsettings RET __stat50 -1 errno 2 No such file or directory
10776 4 gsettings CALL issetugid
10776 4 gsettings RET issetugid 0
10776 4 gsettings CALL open(0xb126154a,0,0xb0c380a0)
10776 4 gsettings NAMI "/var/db/dbus/machine-id"
10776 4 gsettings RET open 10/0xa
10776 4 gsettings CALL __fstat50(0xa,0xb03dfc58)
10776 4 gsettings RET __fstat50 0
10776 4 gsettings CALL read(0xa,0xb0c2cae0,0x21)
10776 4 gsettings GIO fd 10 read 33 bytes
---
BTW, glib2 was reverted from 2.68.8 to 2.68.0 after 2021Q1 branch??
https://mail-index.netbsd.org/pkgsrc-changes/2021/03/30/msg231523.html
>How-To-Repeat:
See above.
>Fix:
No idea.
- patch glib2 in pkgsrc-2021Q1 (2.68.8? 2.68.0?) to refer /var/db/dbus?
- pull all /var/db -> /var/lib changes from HEAD to 2021Q1?
https://mail-index.netbsd.org/pkgsrc-changes/2021/03/29/msg231497.html
https://mail-index.netbsd.org/pkgsrc-changes/2021/03/30/msg231547.html
https://mail-index.netbsd.org/pkgsrc-changes/2021/03/30/msg231548.html
https://mail-index.netbsd.org/pkgsrc-changes/2021/03/30/msg231550.html
https://mail-index.netbsd.org/pkgsrc-changes/2021/03/30/msg231566.html
https://mail-index.netbsd.org/pkgsrc-changes/2021/03/30/msg231569.html
(not sure if these are enough)
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index