Page MenuHomeSolus

Add systemd-sockets trigger to usysconf
AbandonedPublic

Authored by ermo on Sep 17 2020, 7:59 AM.

Details

Reviewers
None
Group Reviewers
Triage Team
Summary

This patch to usysconf adds a systemd-sockets trigger, which listens for
additions/changes to vendor-enabled .socket units installed to
/usr/lib/systemd/system/sockets.target.wants/ and subsequently fires off
a systemctl restart sockets.target.

This has the effect of activating newly installed .socket units
immediately after installation. It also restarts any manually
deactivated vendor-enabled .socket units.

Prior to the addition of this trigger, newly installed vendor-enabled
.socket units would only be activated after a reboot.

Test Plan
  • Install patched usysconf
  • Remove virt-manager with 'sudo eopkg rmf virt-manager'
  • Reboot
  • Follow steps in https://dev.getsol.us/P8
  • Successfully start virt-manager after installation without a reboot and without manual activation of .socket unit

Diff Detail

Repository
R3873 usysconf
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

ermo created this revision.Sep 17 2020, 7:59 AM
ermo requested review of this revision.Sep 17 2020, 7:59 AM
ermo retitled this revision from Add systemd-sockets trigger to Add systemd-sockets trigger to usysconf.Sep 17 2020, 8:20 AM
JoshStrobl abandoned this revision.Sep 17 2020, 11:29 AM
JoshStrobl added a subscriber: JoshStrobl.

Going to abandon per remarks in IRC.