Task #843

Inhibit signal-event during install process

Added by Davide Principi over 7 years ago. Updated over 6 years ago.

Status:CLOSEDStart date:03/07/2012
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-lib
Target version:DEV1

Description

The signal-event command should not raise events when OS installation/upgrading is running.

We can check the presence of a particular file (eg /var/run/nethserver-installer) end exit cleanly from signal-event when it exists.

This mechanism avoids changes in RPMs %post scripts and distinction between package installation/update on OS install/upgrade and on running system.

Associated revisions

Revision 5c81558b
Added by Davide Principi over 7 years ago

signal-event: event queue implementation. Refs #843 - Inhibit signal-event during install process

The event queue is managed through the event-queue command

Revision cd084064
Added by Davide Principi over 7 years ago

Added createlinks script. Refs #843 - Inhibit signal-event during install process

History

#1 Updated by Davide Principi over 7 years ago

  • Target version set to DEV1

#2 Updated by Davide Principi over 7 years ago

  • Status changed from NEW to ON_DEV
  • Assignee set to Davide Principi
  • % Done changed from 0 to 90

#3 Updated by Davide Principi over 7 years ago

  • Status changed from ON_DEV to CLOSED
  • % Done changed from 90 to 100

The event-queue is now disabled by the nethserver-lib package if the /var/run/nethserver-installer is present during RPM installation. See commit:6d8c071e0cb85 in rpm-nethserver-lib repository.

#4 Updated by Davide Principi over 6 years ago

  • Project changed from 48 to NethServer 6

Also available in: Atom PDF