#49388 repl-monitor - matches null string many times in regex
Closed: wontfix Opened by mreynolds.

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:

Metadata Update from @mreynolds:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1459965

Metadata Update from @mreynolds:
- Issue assigned to mreynolds

Metadata Update from @mreynolds:
- 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

Metadata Update from @firstyear:
- Custom field reviewstatus adjusted to ack (was: review)

ee25b88..4b41a02 master -> master

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

Metadata Update from @mreynolds:
- Custom field reviewstatus adjusted to review (was: ack)
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/2447

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: fixed)

Metadata