Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prefixdir in config.log set to 'NONE' #2283

Closed
389-ds-bot opened this issue Sep 13, 2020 · 7 comments
Closed

prefixdir in config.log set to 'NONE' #2283

389-ds-bot opened this issue Sep 13, 2020 · 7 comments
Labels
closed: fixed Migration flag - Issue

Comments

@389-ds-bot
Copy link

Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/49224


Issue Description

prefixdir in my config.log is set to 'NONE'. So the corresponding value in defaults.inf is also invalid. This causes the following assertion in lib389 to fail (and as a result a lot of the tests too): https://pagure.io/lib389/blob/master/f/lib389/instance/setup.py#_221

Package Version and Platform

git master on Fedora 25

Steps to reproduce

I just run the following:

autoreconf -fiv
./configure --enable-debug --with-openldap --enable-cmocka --enable-asan

I don't know if it's easy to reproduce though.

Actual results

In my config.log:

prefix='/opt/dirsrv'
prefixdir='NONE'

Expected results

prefix='/opt/dirsrv'
prefixdir='/opt/dirsrv'

@389-ds-bot 389-ds-bot added the closed: fixed Migration flag - Issue label Sep 13, 2020
@389-ds-bot
Copy link
Author

Comment from firstyear (@Firstyear) at 2017-04-20 05:45:14

Metadata Update from @Firstyear:

  • Issue assigned to Firstyear

@389-ds-bot
Copy link
Author

Comment from firstyear (@Firstyear) at 2017-04-20 06:03:25

0001-Ticket-49224-without-prefix-prefixdir-would-be-NONE-.patch

@389-ds-bot
Copy link
Author

Comment from firstyear (@Firstyear) at 2017-04-20 06:03:30

Metadata Update from @Firstyear:

  • Custom field reviewstatus adjusted to review
  • Custom field type adjusted to defect

@389-ds-bot
Copy link
Author

Comment from ilias95 (@ilstam) at 2017-04-20 12:29:18

I applied the patch, rebuilt the server and the issue seems to has been fixed. Now, I have a valid value for prefixdir in my config.log and the related test cases in lib389 pass.

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2017-04-21 14:29:13

Metadata Update from @mreynolds389:

  • Custom field reviewstatus adjusted to ack (was: review)

@389-ds-bot
Copy link
Author

Comment from firstyear (@Firstyear) at 2017-04-24 01:24:51

commit b393875
To ssh://git@pagure.io/389-ds-base.git
cf4ed63..29486e0 master -> master

Thanks for finding this!

@389-ds-bot
Copy link
Author

Comment from firstyear (@Firstyear) at 2017-04-24 01:24:55

Metadata Update from @Firstyear:

  • Issue close_status updated to: fixed
  • Issue status updated to: Closed (was: Open)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed: fixed Migration flag - Issue
Projects
None yet
Development

No branches or pull requests

1 participant