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

logrotate-config in Debian package displaced #2102

Open
wilfriedroset opened this issue Jun 19, 2019 · 2 comments
Open

logrotate-config in Debian package displaced #2102

wilfriedroset opened this issue Jun 19, 2019 · 2 comments

Comments

@wilfriedroset
Copy link

Hello,

Following #1991 and #1973 I've noticed that the problem is still present. This is tested on debian jessie

# dpkg -l | grep proxysql
ii  proxysql                                      2.0.4                                      amd64        High performance MySQL proxy
# apt show proxysql
Package: proxysql
Version: 2.0.4
Priority: optional
Section: misc
Maintainer: Rene Cannao <rene.cannao@gmail.com>
Installed-Size: 36.1 MB
Download-Size: 8,591 kB
SHA512: 8c783efae01655119e4da5aff9121886e9dba03c9ba183ec06781a61f71cd12de530e27559c6ea5a7ac271c0194eac9aed3492ed46ed3cf163c4e4a74c3b1096
Homepage: http://www.proxysql.com
APT-Manual-Installed: yes
APT-Sources: https://repo.proxysql.com/ProxySQL/proxysql-2.0.x/jessie/ ./ Packages
Description: High performance MySQL proxy
 ProxySQL is a fast, reliable MySQL proxy with advanced runtime configuration management (virtually no configuration change requires a restart).
 .
 It features query routing, query caching, query rewriting (for queries generated by ORMs, for example) and is most of the time a drop-in replacement for mysqld from the point of view of the application. It can be configured and remote controlled through an SQL-compatible admin interface.

N: There are 3 additional records. Please use the '-a' switch to see them.
# dpkg -L proxysql
/.
/etc
/etc/proxysql.cnf
/etc/logrotate.d
/etc/logrotate.d/proxysql
/etc/logrotate.d/proxysql/etc
/etc/logrotate.d/proxysql/etc/logrotate.d
/etc/logrotate.d/proxysql/etc/logrotate.d/proxysql
/etc/init.d
/etc/init.d/proxysql
/usr
/usr/bin
/usr/bin/proxysql
/usr/share
/usr/share/proxysql
/usr/share/proxysql/tools
/usr/share/proxysql/tools/proxysql_galera_writer.pl
/usr/share/proxysql/tools/proxysql_galera_checker.sh
/usr/share/doc
/usr/share/doc/proxysql
/usr/share/doc/proxysql/README.Debian
/usr/share/doc/proxysql/copyright
/usr/share/doc/proxysql/changelog.gz
# cat /etc/debian_version
8.11
# proxysql --version
ProxySQL version 2.0.4-116-g7d371cf, codename Truls
@jermlinden
Copy link
Contributor

jermlinden commented Dec 11, 2019

My reading of this

https://github.com/sysown/proxysql/blob/v2.0.9/docker-compose.yml#L292

looks like this

https://github.com/sysown/proxysql/blob/v2.0.9/docker/images/proxysql/deb-compliant/pre-systemd/ctl/proxysql.ctl#L14

needs to change from
etc/logrotate.d/proxysql /etc/logrotate.d/proxysql
to
etc/logrotate.d/proxysql /etc/logrotate.d/
or
etc/logrotate.d/proxysql /

@jermlinden
Copy link
Contributor

I don't have a working build environment, otherwise I'd test and make a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants