On 04/03/2021 09:15, George N. White III wrote:
The Changelog at
britty.com <
http://britty.com> for the 6.3 release says
the systemd component was changed to create the brlapi group if it
doesn't exist, so the same functionality as the script. Maybe the change
was a response to systems that failed to run the install script. What
creates the brltty group?
Seems to me that changelog only applies to the packages supplied by
britty.com.
At
britty.com there includes a brltty-systemd-6.3-1.noarch.rpm which is what I believe is
being
referenced in the changelog comment.
Systemd changes:
The brlapi group is created during boot if it doesn't already exist.
The brltty service file included with that rpm has a size of 2827. Fedora's service
file has a size of
217 and comes with brltty-6.3-1.fc34.
The britty.service supplied by
britty.com includes a call to
/usr/libexec/brltty/systemd-wrapper.
That file doesn't exist in the Fedora world. So, I don't think documentation on
the brltty site is a
faithful mirror of things included in Fedora.
I don't understand your question about what creates the group. The
britty.com rpms
don't contain any scripts.
I've already mentioned that the packages supplied by Fedora include a PREIN script
that creates the group.
[egreshko@f34k ~]$ grep brlapi /etc/group
[egreshko@f34k ~]$ sudo dnf install brltty
Last metadata expiration check: 1:26:29 ago on Thu Mar 4 09:17:28 2021.
Dependencies resolved.
==================================================================================
Package Architecture Version Repository Size
==================================================================================
Installing:
brltty x86_64 6.3-1.fc34 fedora 1.5 M
Installing dependencies:
brlapi x86_64 0.8.2-1.fc34 fedora 177 k
pcre2-utf32 x86_64 10.36-4.fc34 fedora 203 k
Transaction Summary
==================================================================================
Install 3 Packages
Total download size: 1.9 M
Installed size: 8.3 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): brlapi-0.8.2-1.fc34.x86_64.rpm 700 kB/s | 177 kB 00:00
(2/3): pcre2-utf32-10.36-4.fc34.x86_64.rpm 691 kB/s | 203 kB 00:00
(3/3): brltty-6.3-1.fc34.x86_64.rpm 3.1 MB/s | 1.5 MB 00:00
----------------------------------------------------------------------------------
Total 1.0 MB/s | 1.9 MB 00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : pcre2-utf32-10.36-4.fc34.x86_64 1/3
Installing : brltty-6.3-1.fc34.x86_64 2/3
Running scriptlet: brltty-6.3-1.fc34.x86_64 2/3
Running scriptlet: brlapi-0.8.2-1.fc34.x86_64 3/3
Installing : brlapi-0.8.2-1.fc34.x86_64 3/3
Running scriptlet: brlapi-0.8.2-1.fc34.x86_64 3/3
Verifying : brlapi-0.8.2-1.fc34.x86_64 1/3
Verifying : brltty-6.3-1.fc34.x86_64 2/3
Verifying : pcre2-utf32-10.36-4.fc34.x86_64 3/3
Installed:
brlapi-0.8.2-1.fc34.x86_64 brltty-6.3-1.fc34.x86_64
pcre2-utf32-10.36-4.fc34.x86_64
Complete!
[egreshko@f34k ~]$ grep brlapi /etc/group
brlapi:x:979:
So, the install process creates the group. And, of course, users need to be added as
needed.
--
People who believe they don't make mistakes have already made one.