Stop creating a dialout group for Graywolf
Graywolf's setup created a dialout group, which nothing on Arch uses: serial ports belong to uucp, and Graywolf's service runs as you, with your groups. Machines that have the group keep it, in case anything else uses it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
c409a6cb17
commit
4cb5ce25ff
+1
-1
@@ -25,7 +25,7 @@ setup_fake_home() {
|
||||
|
||||
# Commands that just log and succeed
|
||||
local cmd
|
||||
for cmd in systemctl udevadm groupadd yay update-desktop-database update-mime-database \
|
||||
for cmd in systemctl udevadm yay update-desktop-database update-mime-database \
|
||||
xdg-icon-resource xdg-desktop-menu wine wineboot winetricks xdotool; do
|
||||
stub "$cmd" 'exit 0'
|
||||
done
|
||||
|
||||
@@ -136,6 +136,8 @@ setup() {
|
||||
[ "$status" -eq 0 ]
|
||||
grep -qx "sudo tee /etc/systemd/system/graywolf.service" "$STUB_LOG"
|
||||
grep -qx "enable_services graywolf" "$STUB_LOG"
|
||||
# It runs as you, with your groups: it needs no group of its own
|
||||
! grep -q "groupadd" "$STUB_LOG"
|
||||
}
|
||||
|
||||
@test "the graywolf web UI listens only on this machine" {
|
||||
|
||||
Reference in New Issue
Block a user