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

repl-monitor - matches null string many times in regex #2447

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

repl-monitor - matches null string many times in regex #2447

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

Comments

@389-ds-bot
Copy link

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


Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1459965

Description of problem:

/usr/bin/repl-monitor.pl from 1.3.5.10-18.el7_3 and perl-5 works OK , but has
those messages that did not exist on RHEL-6 and earlier:

^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE
(\.[^:]+)*:[0-9]+\D/ at /usr/bin/repl-monitor.pl line 1071.
^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE
(\.[^:]+)*:\*:/ at /usr/bin/repl-monitor.pl line 1071.

this is a report associated with a customer request, for a possible regression.


Version-Release number of selected component (if applicable):
389-ds-base-1.3.5.10-18.el7_3.x86_64
redhat-release-server-7.3-7.el7.x86_64
perl-5.16.3-291.el7.x86_64


How reproducible:
consistently


Steps to Reproduce:

1. create a config file, for example:
cat << EOF > ./repl-monitor.conf
[connection]
*:*:*:password:

[alias]
m1 = ipaserver1.example.com:389
m2 = ipaserver2.example.com:389

[color]
0 = #ccffcc
5 = #FFFFCC
60 = #FFCCCC

EOF


2. run the tool
/usr/bin/repl-monitor.pl -h ipaserver1.example.com -p 389 -f
~/repl-monitor.conf > ~/t.html

3. verify result, looked OK:
elinks t.html -dump > t.html.elinks.output.txt
less t.html.elinks.output.txt
...snip...
                     Supplier:? ipaserver1.example.com:389

                                       Replica ID:?4 Replica
Root:?dc=example,dc=com Max CSN:?59397e81000000040000 (06/08/2017 16:42:41)
...snip...



Actual results:

tools works ok, but report of

^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE
(\.[^:]+)*:[0-9]+\D/ at /usr/bin/repl-monitor.pl line 1071.
^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE
(\.[^:]+)*:\*:/ at /usr/bin/repl-monitor.pl line 1071.


Expected results:


Additional info:
@389-ds-bot 389-ds-bot added the closed: fixed Migration flag - Issue label Sep 13, 2020
@389-ds-bot 389-ds-bot added this to the 1.3.7.0 milestone Sep 13, 2020
@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2017-10-02 22:16:57

Metadata Update from @mreynolds389:

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2017-10-02 22:17:06

Metadata Update from @mreynolds389:

  • Issue assigned to mreynolds389

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2017-10-02 22:22:59

0001-Ticket-49388-repl-monitor-matches-null-string-many-t.patch

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2017-10-02 22:22:59

Metadata Update from @mreynolds389:

  • Custom field component adjusted to None
  • Custom field origin adjusted to None
  • Custom field reviewstatus adjusted to review
  • Custom field type adjusted to None
  • Custom field version adjusted to None

@389-ds-bot
Copy link
Author

Comment from firstyear (@Firstyear) at 2017-10-03 01:50:07

Metadata Update from @Firstyear:

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

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2017-10-03 14:20:16

ee25b88..4b41a02 master -> master

6d88a7b..a7984d3 389-ds-base-1.3.7 -> 389-ds-base-1.3.7

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2017-10-03 14:20:18

Metadata Update from @mreynolds389:

  • Custom field reviewstatus adjusted to review (was: ack)
  • 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