Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 399123 - dev-db/ctdb should RDEPEND on sys-libs/tdb[tools]
Summary: dev-db/ctdb should RDEPEND on sys-libs/tdb[tools]
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2017-07-05
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2012-01-17 00:10 UTC by MCassaniti
Modified: 2017-07-05 10:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MCassaniti 2012-01-17 00:10:14 UTC
As a runtime dependency, dev-db/ctdb requires the package sys-libs/tdb to be build with the tools USE flag set. An error is generated and ctdbd will not start when this USE flag is not set.

Reproducible: Always

Steps to Reproduce:
1. Build tdb with USE="tools"
2. Configure ctdb as normal
3. Run /etc/init.d/ctdb start
4. Run /etc/init.d/ctdb stop
5. Rebuild tdb with USE="-tools"
6. Run /etc/init.d/ctdb start
Actual Results:  
 * Starting ctdb ...
 * Persistent database /var/lib/ctdb/persistent/account_policy.tdb.0 is corrupted! CTDB will not start.
 * ERROR: ctdb failed to start

Expected Results:  
 * Starting ctdb ... [ ok ]

=== Emerge --info ===
Portage 2.1.10.41 (default/linux/arm/10.0/server, gcc-4.5.3, glibc-2.13-r4, 3.0.6 armv7l)
=================================================================
System uname: Linux-3.0.6-armv7l-ARMv7_Processor_rev_2_-v7l-with-gentoo-2.0.3
Timestamp of tree: Mon, 16 Jan 2012 07:00:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.2-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv7a-hardfloat-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
CHOST="armv7a-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--update --deep"
FEATURES="assume-digests binpkg-logs compress-build-logs distlocks ebuild-locks fixlafiles metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl arm berkdb bzip2 caps cli cracklib crypt cxx fortran fuse gnutls gpm iconv imap ipv6 kerberos ldap libnotify logrotate lzma modules mudflap ncurses nls nptl nptlonly openmp pam pcre posix readline samba sasl session snmp sockets sqlite3 ssl sysfs syslog sysvipc tcpd truetype unicode userlocales vhosts xattr xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev omapfb dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=== End emerge --info ===
Comment 1 MCassaniti 2013-10-17 00:15:08 UTC
So has this bug made any progress so far??? I gather no one on the SAMBA team is using ctdb.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-06-05 16:21:12 UTC
# Michał Górny <mgorny@gentoo.org> (05 Jun 2017)
# (on behalf of Treecleaner project)
# Unmaintained in Gentoo. Multiple versions behind upstream.
# Security vulnerabilities. No reverse dependencies anymore.
# Removal in 30 days. Bug #512292.
dev-db/ctdb
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-07-05 10:48:33 UTC
commit 70bb72fbed3d0e407d2a2ff7a33c6fdf307e9f9d
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: Wed Jul 5 12:31:26 2017
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Wed Jul 5 12:35:18 2017

    dev-db/ctdb: Remove last-rited pkg, #512292