Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L lpadmincern
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Jira
    • Jira
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linuxsupportlinuxsupport
  • rpmsrpms
  • lpadmincern
  • Merge requests
  • !1

Use a new systemd timer on CentOS 8 and above

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Steve Traylen requested to merge straylen/lpadmincern:timer into systemd Dec 11, 2019
  • Overview 2
  • Commits 1
  • Pipelines 2
  • Changes 4

The files

/etc/logrotate.d/lpadmincern
/etc/cron.daily/lpadmincern

are replaced with units

lpadmincern.service
lpadmincern.timer

Some of options in /etc/sysconfig/lpadmincern are redundant now and comments have been added to that affect.

One change in behaviour.

 /usr/sbin/lpadmincern -u 

used to run on installation and every upgrade. It now only runs on installation in the background if the node has or once the node has been up for 10 minutes. It does not run on upgrade of the package. This is a good thing.

  • Avoiding hanging the rpm installations for around 20 minutes while this things run is good.
  • There's a timer to update with new version of the software anyway.

Changes apply to eight and newer only

Edited Dec 12, 2019 by Steve Traylen
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: timer