Feature #1043

Handling managedBy prop in callback actions

Added by Davide Principi over 9 years ago. Updated over 8 years ago.

Status:CLOSEDStart date:05/18/2012
Priority:NormalDue date:05/21/2012
Assignee:-% Done:

100%

Category:nethserver-base
Target version:DEV104
Resolution: NEEDINFO:

Description

Implement PackageStatus managedBy prop as described in Callback actions


Related issues

Related to NethServer 6 - Task #1046: Uninstall event CLOSED 04/16/2012
Blocked by NethServer 6 - Task #945: Re-enable bootstrap-console CLOSED 04/24/2012 05/03/2012
Blocked by NethServer 6 - Task #1132: Merge modSSL config db key into httpd CLOSED 05/21/2012 05/21/2012
Blocked by NethServer 6 - Bug #1137: nethserver-samba-conf action exits with error code 768 CLOSED 05/21/2012 05/21/2012
Blocked by NethServer 6 - Bug #1138: nethserver-httpd-ibaypassword action fails on installation CLOSED 05/21/2012 05/21/2012

Associated revisions

Revision a2db876e
Added by Davide Principi about 9 years ago

callback actions: implemented managedBy prop in nethserver-base-actions. Refs #1043 - Handling managedBy prop in callback actions

Revision 0a491eac
Added by Davide Principi about 9 years ago

Service.pm: added manage_{add,remove} functions. Refs #1043 - Handling managedBy prop in callback actions

Revision c067cceb
Added by Davide Principi about 9 years ago

nethserver-directory-conf action: registered service managedBy prop. Refs #1043 - Handling managedBy prop in callback actions

Revision 89e15969
Added by Davide Principi about 9 years ago

nethserver-samba-conf: registered smb, nmb, winbind services with managedBy prop. Refs #1043 - Handling managedBy prop in callback actions

Revision 391640a4
Added by Davide Principi about 9 years ago

nethserver-ntp-conf: added service registration in managedBy prop. Refs #1043 - Handling managedBy prop in callback actions

Revision 86cb190e
Added by Davide Principi about 9 years ago

nethserver-ntp-conf: fixed service ntpd name. Refs #1043

Revision ac44e96b
Added by Davide Principi about 9 years ago

Service.pm: fixed managedBy prop handling. Refs #1043

Revision 0fb7ad44
Added by Davide Principi about 9 years ago

nethserver-dnsmasq-update event: daemon restarted in update event. Refs #1043

Revision e8d03f1e
Added by Davide Principi about 9 years ago

nethserver-dnsmasq-uninstall: role reset to none after uninstall event. Refs #1043

Revision 7169d2e5
Added by Davide Principi about 9 years ago

nethserver-httpd-admin-update event: plugged in *-conf action. Refs #1043 - Handling managedBy prop in callback actions

Revision 465d9ebf
Added by Davide Principi about 9 years ago

nethserver-httpd-update event: plugged in *-conf action. Refs #1043 - Handling managedBy prop in callback actions

History

#1 Updated by Davide Principi over 9 years ago

  • Description updated (diff)

This feature avoid possible conflicts in starting a daemon before it is fully-configured by its *-update event.

#2 Updated by Davide Principi over 9 years ago

  • Description updated (diff)

#3 Updated by Davide Principi over 9 years ago

  • Start date changed from 04/16/2012 to 04/18/2012

Start date set to DEV4 release date

#4 Updated by Davide Principi over 9 years ago

  • Start date deleted (04/18/2012)

#5 Updated by Davide Principi about 9 years ago

  • Estimated time set to 12.00

Another approach is considering a service as ManagedBy a list of packages...

#6 Updated by Davide Principi about 9 years ago

  • Target version changed from DEV103 to DEV104

#7 Updated by Davide Principi about 9 years ago

  • Due date set to 05/21/2012
  • Status changed from NEW to ON_DEV
  • Assignee set to Davide Principi
  • Start date set to 05/18/2012
  • % Done changed from 0 to 10

#8 Updated by Davide Principi about 9 years ago

  • Subject changed from Handling PackageStatus prop in callback actions to Handling managedBy prop in callback actions
  • Description updated (diff)

#9 Updated by Davide Principi about 9 years ago

  • Estimated time changed from 12.00 to 10.00

Added new task to project:nethserver-httpd #1132

#10 Updated by Davide Principi about 9 years ago

  • % Done changed from 10 to 80
  • Estimated time changed from 10.00 to 8.00

Estimated time: moved into #1137

#11 Updated by Davide Principi about 9 years ago

  • Estimated time changed from 8.00 to 6.00

#12 Updated by Davide Principi about 9 years ago

  • Estimated time changed from 6.00 to 5.00

Opened #1138

#13 Updated by Davide Principi about 9 years ago

  • % Done changed from 80 to 100

Checking service state in adjust-service action

see nethserver-lib:commit:06d749364fe1a96dbc8d2608b869eecf8ad2478a

#14 Updated by Davide Principi about 9 years ago

  • Status changed from ON_DEV to MODIFIED

#15 Updated by Davide Principi over 8 years ago

  • Project changed from 1 to NethServer 6

Also available in: Atom PDF