pgpool / pgpool2

This is the official mirror of git://git.postgresql.org/git/pgpool2.git. Note that this is just a *mirror* - we don't work with pull requests on github. Please subscribe to pgpool-hackers mailing list from our website and submit your patch to this mailing list.
https://www.pgpool.net
Other
305 stars 87 forks source link

/etc/sudoers.d/pgpool: bad permissions, should be mode 0440 #47

Closed Chethanravindra09 closed 2 months ago

Chethanravindra09 commented 2 months ago

Hello,

When we validate the sudoers through the visudo -c, it throwing the /etc/sudoers.d/pgpool: bad permissions, should be mode 0440 error, I think it's need to be fixed in the rpm. Because it added the pgpool sudoers in 640 permission, actually it should be 0440.

pengbo0328 commented 2 months ago

@Chethanravindra09 Thank you for reporting this issue.

I have fixed the SPEC file 62fb831 It will be fixed in the next minor version releases.

Chethanravindra09 commented 2 months ago

@pengbo0328 Thanks for fixing it. Will it apply it to all pgpool versions, like pgpool14 or only for pgpool16

pengbo0328 commented 2 months ago

@Chethanravindra09 Because this issue was introduced since 4.4, it will be fixed in 4.4 or later.

The following versions:

pgpool-II-pg12-4.5.x pgpool-II-pg13-4.5.x pgpool-II-pg14-4.5.x pgpool-II-pg15-4.5.x pgpool-II-pg16-4.5.x pgpool-II-pg12-4.4.x pgpool-II-pg13-4.4.x pgpool-II-pg14-4.4.x pgpool-II-pg15-4.4.x pgpool-II-pg16-4.4.x

Chethanravindra09 commented 2 months ago

Thanks for clarify it.