Ticket #719 (closed defect: fixed)

Opened 8 weeks ago

Last modified 7 weeks ago

amf-state processing when specified dn is not found faulty

Reported by: stefan.k.berg@… Owned by: hafe
Priority: minor Milestone: 4.0.0-M3
Component: unknown Version: 4.0-B3
Keywords: Cc:
patch waiting for maintainer: no

Description (last modified by hafe) (diff)

When explicitly specifying a non-existing dn as argument to amf-state, such as for example ...

 amf-state  siass all 'safSISU=safSu=SC_2_2\,safSg=NoRed\,safApp=OpenSAF,safSi=NoRed4,safApp=OpenSAFnotfound'

... the amf-state script will process after the point where no matching dn is found. A lot of output is made to stderr, and finally amf-state will exit with return code 0 (which should probably be a non-zero rc in this case).

another problem to be fixed: if amf-adm fails, it still returns 0 (OK)

Attachments

Change History

Changed 8 weeks ago by hafe

  • owner set to hafe
  • status changed from new to accepted
  • version set to 4.0-B3
  • description modified (diff)
  • milestone changed from 4.0.0-B4 to 4.0.0-M3

Changed 7 weeks ago by hafe

  • status changed from accepted to closed
  • resolution set to fixed

changeset: 715:dbf3fde4ab38
tag: tip
user: Hans Feldt <hans.feldt@…>
date: Mon Nov 23 09:49:15 2009 +0100
summary: scripts/amf-state improved error handling (#719)

Add/Change #719 (amf-state processing when specified dn is not found faulty)

Author



Action
as closed
Next status will be 'reopened'
Note: See TracTickets for help on using tickets.