Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 572234 - net-misc/mediatomb-0.12.1-r8: do not read database when starts with the system
Summary: net-misc/mediatomb-0.12.1-r8: do not read database when starts with the system
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Ian Whyman (thev00d00) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-18 00:45 UTC by Eduardo Coutinho Scalabrin
Modified: 2018-01-04 18:00 UTC (History)
2 users (show)

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


Attachments
Config files for mediatomb (config-files.tar.gz,3.23 KB, application/gzip)
2016-01-18 10:45 UTC, Eduardo Coutinho Scalabrin
Details
Log file from MediaTomb (mediatomb.log,7.00 KB, text/x-log)
2016-05-22 23:43 UTC, Eduardo Coutinho Scalabrin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eduardo Coutinho Scalabrin 2016-01-18 00:45:05 UTC
If I add mediatomb service to runlevel default it do not read database on boot of system.

Reproducible: Always

Steps to Reproduce:
1. rc-update add mediatomb default
2. reboot the system
3. when I go on 'localhost:49152' there is no item in 'Database'
Actual Results:  
No items listed in 'Database'.

Expected Results:  
Items should be listed in 'Database'.

I did the steps in https://wiki.gentoo.org/wiki/MediaTomb#MySQL to create 'database' from 'mediatomb'. I am using 'mysql' (dev-db/mariadb-10.0.22) and no 'sqlite'.
# emerge --info
Portage 2.2.26 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.3, glibc-2.21-r1, 4.1.12-gentoo x86_64)
=================================================================
System uname: Linux-4.1.12-gentoo-x86_64-Intel-R-_Core-TM-_i7-4790_CPU_@_3.60GHz-with-gentoo-2.2
KiB Mem:    32896020 total,  27896720 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Sun, 17 Jan 2016 10:30:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

eva
    location: /var/lib/layman/eva
    masters: gentoo
    priority: 0

torbrowser
    location: /var/lib/layman/torbrowser
    masters: gentoo
    priority: 1

wirelay
    location: /var/lib/layman/wirelay
    masters: gentoo
    priority: 2

local
    location: /usr/local/portage
    masters: gentoo
    priority: 3

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core-avx2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distfiles.gentoo.org/ ftp://ftp.osuosl.org/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aacplus aalib acl acpi ads alac alsa amd64 amr analyzer ao audacious audiofile autotrace bash-completion bazaar berkdb bidi bittorrent bl bluetooth bluray branding bs2b btrfs bzip2 cairo cdda cddb cdio cdparanoia cdr celt chm cjk clang cli clucene consolekit corefonts cover cpudetection cracklib crypt css cue cups cvs cxx darcs dbus declarative designer device-mapper dga dirac directfb discid dmx dri drm dts dv dvb dvd dvdr embedded emboss emovix encode exif extensions extras faac faad fam fasttrack fat fdformat fdk ffmpeg firefox flac fontconfig fortran frei0r ftp g3dvl gadu gd gdbm geoip ggi gif gimp git glade glamor gme gmp gnome-keyring gnutella gnutls gphoto2 gpm graphviz groupwise gsm gstreamer gtk hddtemp hfs hidpi hpijs http iconv icu ieee1394 imagemagick imlib inotify iostats ipod irda java javascript jfs joystick jpeg jpeg2k kde kdenlive kdepim kdrive kipi ladspa lame lcms ldap libass libcaca libkms libmpeg2 libmpv libnotify libsamplerate libsoxr libv4l live lm_sensors lvm lyrics lz4 lzma lzo mac mad matroska mdadm meanwhile melt mencoder mercurial messages midi mikmod minizip mjpeg mms mmx mmxext mng mod modplug modules mp3 mp4 mpeg mplayer mpris msn multilib musepack musicbrainz mysql nas ncurses network nls nptl nsplugin ntfs nut ogg ogm openal opencl openexr opengl openmp openssl opus oscar pam pango pcre pcre16 pdf perl phonon plasma png pnm policykit postproc ppds ppp pvr python qsui qt3support qt4 quicktime radio rar readline reiser4 reiserfs replaygain rss rtmp rubberband scanner schroedinger script sdl seccomp semantic-desktop session shorten shout sid smp sms sndfile soprano sox speex spell sqlite srt sse sse2 ssl startup-notification stereo subtitles subversion svg swat taglib tcl tcpd tga theora threads thumbnail tiff timidity tk toolame tools tray tremor truetype tta twolame udev udisks unicode upower usb v4l vaapi vcd vdpau vf-dlopen vorbis vpx wavpack webkit widevine winbind wma wmf wxwidgets x264 x265 xa xanin xattr xcb xcomposite xfs xine xinerama xml xmp xpm xscreensaver xv xvid xvmc yahoo zlib zoran" ABI_X86="32 64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="pdfimport" LINGUAS="pt_BR" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 SpanKY gentoo-dev 2016-01-18 09:44:40 UTC
please attach your:
 - /etc/conf.d/mediatomb
 - /etc/fstab
 - the config file that you're using w/mediatomb
 - the output of `rc-status --all`

if you have external storage that needs to be mounted (i.e. you don't have everything on /), then mediatomb must not be in the "boot" softlevel.
Comment 2 Eduardo Coutinho Scalabrin 2016-01-18 10:45:58 UTC
Created attachment 423242 [details]
Config files for mediatomb

All my media is on '/'.
Comment 3 Eduardo Coutinho Scalabrin 2016-03-02 20:11:49 UTC
Problem partially solved by selecting "add as autoscan dir". But the problem remains to the static data, example: when selecting only a movie of the folder.
Comment 4 Ian Whyman (thev00d00) (RETIRED) gentoo-dev 2016-05-22 12:19:09 UTC
Can you upload a log file?
Comment 5 Eduardo Coutinho Scalabrin 2016-05-22 23:43:56 UTC
Created attachment 435006 [details]
Log file from MediaTomb
Comment 6 Ian Whyman (thev00d00) (RETIRED) gentoo-dev 2018-01-04 18:00:30 UTC
MediaTomb removed from Tree.