* [PREFIX BlueZ 0/1] Makefile.am: Install D-Bus policy in /usr/share, not /etc
@ 2023-08-08 6:57 Gioele Barabucci
2023-08-08 6:57 ` [PREFIX BlueZ 1/1] " Gioele Barabucci
0 siblings, 1 reply; 4+ messages in thread
From: Gioele Barabucci @ 2023-08-08 6:57 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Gioele Barabucci
This patch changes Makefile.am to install the bluez D-Bus policy in
`/usr/share/dbus-1/system.d` instead of `/etc/dbus-1/system.d`.
From https://bugs.debian.org/1006631:
> dbus supports policy files in both /usr/share/dbus-1/system.d and
> /etc/dbus-1/systemd. [The] recently released dbus 1.14.0, officially
> deprecates installing packages' default policies into /etc/dbus-1/systemd,
> instead reserving it for the sysadmin. This is the same idea as the
> difference between /usr/lib/udev/rules.d and /etc/udev/rules.d.
D-Bus supports reading policies from /usr since version 1.10,
released in 2015:
https://sources.debian.org/src/dbus/1.10.32-0%2Bdeb9u1/NEWS/#L483-L499
Regards,
Gioele Barabucci (1):
Makefile.am: Install D-Bus policy in /usr/share, not /etc
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.39.2
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PREFIX BlueZ 1/1] Makefile.am: Install D-Bus policy in /usr/share, not /etc
2023-08-08 6:57 [PREFIX BlueZ 0/1] Makefile.am: Install D-Bus policy in /usr/share, not /etc Gioele Barabucci
@ 2023-08-08 6:57 ` Gioele Barabucci
2023-08-08 19:28 ` bluez.test.bot
0 siblings, 1 reply; 4+ messages in thread
From: Gioele Barabucci @ 2023-08-08 6:57 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Gioele Barabucci
From https://bugs.debian.org/1006631:
> dbus supports policy files in both `/usr/share/dbus-1/system.d` and
> `/etc/dbus-1/systemd`. [The] recently released dbus 1.14.0, officially
> deprecates installing packages' default policies into `/etc/dbus-1/systemd`,
> instead reserving it for the sysadmin. This is the same idea as the
> difference between `/usr/lib/udev/rules.d` and `/etc/udev/rules.d`.
---
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 4b9b7e5cd..f23c39d20 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -32,7 +32,7 @@ confdir = $(sysconfdir)/bluetooth
statedir = $(localstatedir)/lib/bluetooth
if DATAFILES
-dbusdir = $(DBUS_CONFDIR)/dbus-1/system.d
+dbusdir = $(datadir)/dbus-1/system.d
dbus_DATA = src/bluetooth.conf
conf_DATA =
--
2.39.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* RE: Makefile.am: Install D-Bus policy in /usr/share, not /etc
2023-08-08 6:57 ` [PREFIX BlueZ 1/1] " Gioele Barabucci
@ 2023-08-08 19:28 ` bluez.test.bot
0 siblings, 0 replies; 4+ messages in thread
From: bluez.test.bot @ 2023-08-08 19:28 UTC (permalink / raw)
To: linux-bluetooth, gioele
[-- Attachment #1: Type: text/plain, Size: 1920 bytes --]
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=774181
---Test result---
Test Summary:
CheckPatch FAIL 0.65 seconds
GitLint PASS 0.32 seconds
BuildEll PASS 33.30 seconds
BluezMake PASS 1034.49 seconds
MakeCheck PASS 14.02 seconds
MakeDistcheck PASS 194.13 seconds
CheckValgrind PASS 312.82 seconds
CheckSmatch PASS 414.43 seconds
bluezmakeextell PASS 127.22 seconds
IncrementalBuild PASS 839.33 seconds
ScanBuild PASS 1292.79 seconds
Details
##############################
Test: CheckPatch - FAIL
Desc: Run checkpatch.pl script
Output:
[PREFIX,BlueZ,1/1] Makefile.am: Install D-Bus policy in /usr/share, not /etc
WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#61:
> deprecates installing packages' default policies into `/etc/dbus-1/systemd`,
/github/workspace/src/src/13346586.patch total: 0 errors, 1 warnings, 8 lines checked
NOTE: For some of the reported defects, checkpatch may be able to
mechanically convert to the typical style using --fix or --fix-inplace.
/github/workspace/src/src/13346586.patch has style problems, please review.
NOTE: Ignored message types: COMMIT_MESSAGE COMPLEX_MACRO CONST_STRUCT FILE_PATH_CHANGES MISSING_SIGN_OFF PREFER_PACKED SPDX_LICENSE_TAG SPLIT_STRING SSCANF_TO_KSTRTO
NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH BlueZ 1/1] Makefile.am: Install D-Bus policy in /usr/share, not /etc
@ 2023-08-08 8:55 Gioele Barabucci
2023-08-08 19:37 ` bluez.test.bot
0 siblings, 1 reply; 4+ messages in thread
From: Gioele Barabucci @ 2023-08-08 8:55 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Gioele Barabucci
From https://bugs.debian.org/1006631:
> dbus supports policy files in both `/usr/share/dbus-1/system.d` and
> `/etc/dbus-1/systemd`. [The] recently released dbus 1.14.0, officially
> deprecates installing packages' default policies into `/etc/dbus-1/systemd`,
> instead reserving it for the sysadmin. This is the same idea as the
> difference between `/usr/lib/udev/rules.d` and `/etc/udev/rules.d`.
---
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 4b9b7e5cd..f23c39d20 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -32,7 +32,7 @@ confdir = $(sysconfdir)/bluetooth
statedir = $(localstatedir)/lib/bluetooth
if DATAFILES
-dbusdir = $(DBUS_CONFDIR)/dbus-1/system.d
+dbusdir = $(datadir)/dbus-1/system.d
dbus_DATA = src/bluetooth.conf
conf_DATA =
--
2.39.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* RE: Makefile.am: Install D-Bus policy in /usr/share, not /etc
2023-08-08 8:55 [PATCH BlueZ 1/1] " Gioele Barabucci
@ 2023-08-08 19:37 ` bluez.test.bot
0 siblings, 0 replies; 4+ messages in thread
From: bluez.test.bot @ 2023-08-08 19:37 UTC (permalink / raw)
To: linux-bluetooth, gioele
[-- Attachment #1: Type: text/plain, Size: 1914 bytes --]
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=774197
---Test result---
Test Summary:
CheckPatch FAIL 0.68 seconds
GitLint PASS 0.26 seconds
BuildEll PASS 34.92 seconds
BluezMake PASS 1226.11 seconds
MakeCheck PASS 13.05 seconds
MakeDistcheck PASS 196.01 seconds
CheckValgrind PASS 321.40 seconds
CheckSmatch PASS 448.00 seconds
bluezmakeextell PASS 133.20 seconds
IncrementalBuild PASS 1034.85 seconds
ScanBuild PASS 1387.12 seconds
Details
##############################
Test: CheckPatch - FAIL
Desc: Run checkpatch.pl script
Output:
[BlueZ,1/1] Makefile.am: Install D-Bus policy in /usr/share, not /etc
WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#58:
> deprecates installing packages' default policies into `/etc/dbus-1/systemd`,
/github/workspace/src/src/13346617.patch total: 0 errors, 1 warnings, 8 lines checked
NOTE: For some of the reported defects, checkpatch may be able to
mechanically convert to the typical style using --fix or --fix-inplace.
/github/workspace/src/src/13346617.patch has style problems, please review.
NOTE: Ignored message types: COMMIT_MESSAGE COMPLEX_MACRO CONST_STRUCT FILE_PATH_CHANGES MISSING_SIGN_OFF PREFER_PACKED SPDX_LICENSE_TAG SPLIT_STRING SSCANF_TO_KSTRTO
NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-08-08 20:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-08 6:57 [PREFIX BlueZ 0/1] Makefile.am: Install D-Bus policy in /usr/share, not /etc Gioele Barabucci
2023-08-08 6:57 ` [PREFIX BlueZ 1/1] " Gioele Barabucci
2023-08-08 19:28 ` bluez.test.bot
-- strict thread matches above, loose matches on Subject: below --
2023-08-08 8:55 [PATCH BlueZ 1/1] " Gioele Barabucci
2023-08-08 19:37 ` bluez.test.bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox