View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000548 | Pgpool-II | Bug | public | 2019-09-27 14:14 | 2019-12-24 09:08 |
| Reporter | harukat | Assigned To | hoshiai | ||
| Priority | low | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 4.1 beta1 | ||||
| Target Version | 4.1 RC1 | Fixed in Version | 4.1 RC1 | ||
| Summary | 0000548: syslog_facility couldn't be changed by reload | ||||
| Description | The parameter "syslog_facility" couldn't be changed by Pgpool-II reload, even though the document say "this parameter can be changed by reloading the Pgpool-II configurations." | ||||
| Tags | No tags attached. | ||||
|
|
When I set the C preprocessor variables HAVE_SYSLOG for build like the following, log messages flowed as new syslog facility after pgpool reloading. $ CFLAGS="-g -DHAVE_SYSLOG=1" ./configure --prefix /home/postgres/tmp/pgpool2_41 \ --with-openssl --with-memcached=/usr --with-pgsql=/home/postgres/pgsql/11.3 But even if it was a build with HAVE_SYSLOG, the command "SHOW syslog_facility" answered the old syslog_facility value after reloding. test environment: CentOS6.x, x86_64, glibc-2.12-1.209.el6_9.2, rsyslog-5.8.10-8.el6 |
|
|
At least, I think we need to fix configure.ac like this. - AC_CHECK_FUNCS([strlcat, strlcpy]) + AC_CHECK_FUNCS([strlcat, strlcpy, syslog]) |
|
|
This is a patch to fix this bug. |
|
|
Thank you your report and patch. You are right, 'HAVE_SYSLOG' was not defined properly. I fixed your patch a little. This change vsyslog to syslog because vsyslog is not used. |
|
|
I commited this fix. https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=934d78132cfd2202058f0abd99e97be02244285a |
|
|
This fix has already been fixed, so i change status of ticket to resolved |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2019-09-27 14:14 | harukat | New Issue | |
| 2019-09-27 14:27 | hoshiai | Assigned To | => hoshiai |
| 2019-09-27 14:27 | hoshiai | Status | new => assigned |
| 2019-09-27 16:25 | harukat | Note Added: 0002889 | |
| 2019-09-27 16:43 | harukat | Note Added: 0002891 | |
| 2019-09-29 09:50 | harukat | File Added: pgpool2_41_syslog_reloadable.patch | |
| 2019-09-29 09:50 | harukat | Note Added: 0002894 | |
| 2019-10-01 20:03 | hoshiai | File Added: bug548_pgpool_4_1.patch | |
| 2019-10-01 20:03 | hoshiai | Note Added: 0002897 | |
| 2019-10-08 13:17 | hoshiai | Note Added: 0002911 | |
| 2019-10-16 12:43 | administrator | Target Version | => 4.1 RC1 |
| 2019-10-16 17:39 | administrator | Fixed in Version | => 4.1 RC1 |
| 2019-12-24 09:08 | hoshiai | Status | assigned => resolved |
| 2019-12-24 09:08 | hoshiai | Resolution | open => fixed |
| 2019-12-24 09:08 | hoshiai | Note Added: 0003027 |