Skip to content

Let cups-browsed removal proceed when CUPS isn’t running - #9406

Open
Chessing234 wants to merge 1 commit into
omacom:quattrofrom
Chessing234:fix/cups-browsed-migration-scheduler-down
Open

Let cups-browsed removal proceed when CUPS isn’t running#9406
Chessing234 wants to merge 1 commit into
omacom:quattrofrom
Chessing234:fix/cups-browsed-migration-scheduler-down

Conversation

@Chessing234

Copy link
Copy Markdown
Contributor

Summary

  • Migration 1788009111 only treated lpstat: No destinations added. as empty.
  • When cups.service is down, lpstat -v returns Scheduler is not running. and left the migration pending forever.

Test plan

  • With cups stopped and cups-browsed present, migrate completes and drops the package
  • Real queues still block removal when lpstat succeeds with destinations

lpstat -v fails with \"Scheduler is not running.\" when cups.service is
down; treating only \"No destinations added.\" left the migration pending.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant