Package Details: ceph-bin 19.2.1-1

Git Clone URL: https://aur.archlinux.org/ceph-bin.git (read-only, click to copy)
Package Base: ceph-bin
Description: Distributed, fault-tolerant storage platform delivering object, block, and file system
Upstream URL: https://ceph.com/
Licenses: GPL-2.0-or-later OR LGPL-2.1-or-later OR LGPL-3.0-or-later
Conflicts: ceph
Submitter: pbazaah
Maintainer: pbazaah
Last Packager: pbazaah
Votes: 10
Popularity: 0.23
First Submitted: 2022-08-14 16:06 (UTC)
Last Updated: 2025-02-13 19:07 (UTC)

Dependencies (50)

Required by (0)

Sources (29)

Latest Comments

« First ‹ Previous 1 .. 4 5 6 7 8 9 10 Next › Last »

pbazaah commented on 2022-12-04 09:59 (UTC)

@snack

That's very funny, as I copy across the upstream's logrotate verbatim: https://github.com/ceph/ceph/blob/main/src/logrotate.conf

Okay, I will look into this further, no promises for anything this year as December is busy for $dayjob, but agreed the simpler fix is on my end

snack commented on 2022-12-04 09:55 (UTC)

@pbazaah Actually /etc/logrotate.d/cephadm is not provided by the cephadm package, but it's created when running cephadm. I made a test by deleting it and running sudo cephadm shell, and it appeared again. Check line 9405 of /usr/bin/cephadm.

In my opinion this situation should be fixed, either by modifying ceph-bin or cephadm packages. Modifying the latter seems more troublesome to me since it requires to patch the cephadm script, while patching /etc/logrotate.d/ceph in ceph-bin seems much easier. But the final word is obviously to you and to the cephadm maintainer.

pbazaah commented on 2022-12-04 09:40 (UTC)

@snack

I would consider creating a separate package just for some of the misc. configuration (logrotate, sudoers, udev, etc) if they is another package that also wants to use the upstream's configuration files. That way everyone can just depend on that package instead.

That said, I can't find a package that creates a /etc/logrotate.d/cephadm file. Neither cephadm package does it as of now.

If it's custom to your setup then I recommend you just use the /etc/logrotate.d/ceph file for your customizations, porting them over from cephadm, otherwise could you link me the package that creates the logrotate rule?

In short: no I won't change this package's logrotate rule, but am open to other solutions

snack commented on 2022-12-03 09:13 (UTC)

This package creates a logrotate conflict with cephadm. ceph-bin installs /etc/logrotate.d/ceph which contains this rule:

/var/log/ceph/*.log {

This rule matches also /var/log/ceph/cephadm.log, which is in turn managed by /etc/logrotate.d/cephadm:

/var/log/ceph/cephadm.log {

creating this error when launching logrotate:

dic 03 10:05:14 stryke systemd[1]: Starting Rotate log files...
dic 03 10:05:14 stryke logrotate[3412]: error: cephadm:2 duplicate log entry for /var/log/ceph/cephadm.log
dic 03 10:05:14 stryke logrotate[3412]: error: found error in file cephadm, skipping
dic 03 10:05:14 stryke systemd[1]: logrotate.service: Main process exited, code=exited, status=1/FAILURE
dic 03 10:05:14 stryke systemd[1]: logrotate.service: Failed with result 'exit-code'.
dic 03 10:05:14 stryke systemd[1]: Failed to start Rotate log files.

I fixed the problem by modifying /etc/logrotate.d/ceph as follows:

/var/log/ceph/ceph-*.log {

Is this correct? If yes, can this patch be implemented in ceph-bin?

pbazaah commented on 2022-11-06 22:46 (UTC)

@deep_thought

They are not

deep_thought commented on 2022-11-06 17:30 (UTC)

Hi, are these packages also hosted in some repository? This would make one able to skip the makepkg step and install them with pacman right away (after adding said repository to ones /etc/pacman.conf).

Tio commented on 2022-11-05 18:36 (UTC)

Works now it seems I may have edited the pkgbuild files via pamac a while ago or something. I reset them. Thank you!

Sproid commented on 2022-11-03 11:27 (UTC)

<Refreshing AUR...
Checking ceph-libs-bin dependencies...
Resolving dependencies... Checking inter-conflicts...

To build (1): ceph-libs-bin 17.2.5-1 (16.2.7-1) AUR

Edit build files : [e] Apply transaction ? [e/y/N]>

pbazaah commented on 2022-11-03 08:30 (UTC)

You can view the current PKGBUILD yourself, here: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ceph-bin#n5

Which does point to the most recent version. If you have made modifications to your local PKGBUILD file, you'll either need to revert or uninstall/reinstall the package.

Tio commented on 2022-11-03 04:47 (UTC)

The Pkgbuild still points to the old version...making my software manager updating this package all the time. Can you please fix it?