Skip to content

Webmin's systemd service re-enables after every update #2133

@SamSirry

Description

@SamSirry

Hello

I have noticed that after every update, the systemd service for Webmin gets re-enabled to start on boot. This happens even though I manually disable it each time.

Steps to Reproduce

  1. Disable the Webmin service using systemctl disable webmin
  2. Check the service status using systemctl status webmin. The output shows: Loaded: loaded (/lib/systemd/system/webmin.service; disabled; vendor preset: enabled)
  3. Wait for a new release, and run apt upgrade. (I didn't test with automatic upgrades (p.s. security updates are configured to get installed automatically)).
  4. Check the service status again using systemctl status webmin

Expected Behavior

After running apt upgrade, the service status should remain as disabled: Loaded: loaded (/lib/systemd/system/webmin.service; disabled; vendor preset: enabled)

Actual Behavior

After running apt upgrade, the service status shows as enabled: Loaded: loaded (/lib/systemd/system/webmin.service; enabled; vendor preset: enabled)

Additional Information

I prefer to keep the Webmin service disabled and only start it as needed. It's worth noting that the background services like SMART monitoring and automatic package updates still work even when the Webmin service is not running. (good thing)

Environment

  • Webmin version: Current (2.111)
  • Operating System: Debian 11
  • Systemd version: Current (systemd 247 (247.3-7+1-pmx11u1))

I furnish this issue to be evaluated by the dev team. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions