homebridge / homebridge-apt-pkg

Debian / Ubuntu package and repo for Homebridge
https://homebridge.io
GNU General Public License v3.0
21 stars 6 forks source link

Add PolicyKit policy for resolved mDNS advertiser #4

Closed elyscape closed 2 years ago

elyscape commented 2 years ago

:recycle: Current situation

2 added a PolicyKit policy in PolicyKit Local Authority format. pklocalauthority was deprecated and removed in polkit version 0.106. Systems running a more recent version won't have the policy applied to them.

:bulb: Proposed solution

This adds an equivalent version of the policy in the current rule format. Since pklocalauthority is still used by several popular distributions (critically: Raspberry Pi OS), shipping both versions is prudent, and we retain that rule file.

:gear: Release Notes

:heavy_plus_sign: Additional Information

https://github.com/homebridge/homebridge/issues/3224#issuecomment-1312064433

cc: @Supereg

Testing

--

Reviewer Nudging

--

Supereg commented 2 years ago

Is there an easy way to determine which version you are running? For those people doing manual configurations and following the Wiki instructions?

peterneutron commented 2 years ago

In addition to check your distributions package manager you can run any binary polkit provides with --version. e.g. pkcheck --version