[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#7901) slapschema reports error but returns 0
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#7901) slapschema reports error but returns 0
- From: hyc@symas.com
- Date: Wed, 23 Jul 2014 20:25:17 GMT
- Auto-submitted: auto-generated (OpenLDAP-ITS)
jsynacek@redhat.com wrote:
> Full_Name: Jan Synacek
> Version: 2.4.39
> OS: Fedora 20
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (209.132.186.34)
>
>
> Running slapschema using a configuration that misses a schema produces error
> (expected), but returns 0 (not expected).
>
> Simple reproducer can be found at
> http://jsynacek.fedorapeople.org/openldap/reproducer-slapschema.tar.xz.
It's not clear to me that this is a bug. slapschema sends output to stdout,
not stderr. (And the manpage documents this fact.) Which implies that the
output it produces is considered to be normal, not error messages. It also
continues processing, independent of the -c continue option, which also
implies that it does not consider these situations to be errors.
Leaving this alone for now.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/