TVHEADEND ERROR config: uknown subsystem 'f'
Added by Senufo Senufo almost 8 years ago
I have a problem with the latest version of TVHEADEND I have this error message when I run tvheadend with these options:
Tvheadend --debug -f --noacl
2017-02-21 14: 55: 10.199 [ERROR] config: uknown subsystem 'f'
Otherwise TVHEADEND focntionne correctemment but I can not run it in background
I think this is a concern with my compilation options :
Configure arguments: --prefix=/usr --mandir=/usr/share/man/man1 --python=python2 --release --disable-dvbscan CXXFLAGS=-fPIC -Wno-narrowing -std=gnu++11 Compiler: Using C compiler: ccache cc Using C flags: -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong Using LD flags: -Wl,-O1,--sort-common,--as-needed,-z,relro -ldvben50221 -ldvbapi -lucsi Build for arch: x86_64 Binaries: Using PYTHON: python2 Using GZIP: gzip Using BZIP2: bzip2 Options: pie yes ccdebug no cwc yes capmt yes constcw yes linuxdvb yes satip_server yes satip_client yes hdhomerun_client yes hdhomerun_static yes iptv yes tsfile yes dvbscan no timeshift yes trace yes imagecache yes avahi yes zlib yes libav yes ffmpeg_static yes libx264 yes libx264_static yes libx265 yes libx265_static yes libvpx yes libvpx_static yes libtheora yes libtheora_static yes libvorbis yes libvorbis_static yes libfdkaac yes libfdkaac_static yes nvenc no qsv no libmfx_static no inotify yes epoll yes uriparser yes ccache yes tvhcsa yes bundle no dvbcsa no dvben50221 yes kqueue no dbus_1 yes android no tsdebug no gtimer_check no slow_memoryinfo no libsystemd_daemon no bintray_cache yes execinfo yes mmx yes sse2 yes W_unused_result yes getloadavg yes atomic64 yes atomic_time_t yes bitops64 yes lockowner yes qsort_r yes stime yes gmtoff yes recvmmsg yes sendmmsg yes libdvben50221 yes ifnames yes py_gzip yes bin_pkg_config yes bin_xgettext yes bin_msgmerge yes bin_gzip yes bin_bzip2 yes ssl yes linuxdvbapi yes upnp yes bin_cmake yes stdcpp yes libogg_static yes inotify_h yes linuxdvb_ca yes mpegts yes mpegts_dvb yes Packages: openssl 1.0.2k zlib 1.2.11 liburiparser 0.8.2 avahi-client 0.6.32 dbus-1 1.10.14 Installation paths: Prefix: /usr Binaries: ${prefix}/bin Libraries: ${prefix}/lib Data files: ${prefix}/share Man pages: /usr/share/man/man1
Replies (4)
RE: TVHEADEND ERROR config: uknown subsystem 'f' - Added by Mark Clarkstone almost 8 years ago
Senufo Senufo wrote:
It's assuming that -f is a debug subsystem. This is because you can use + or - before a value to indicate whether or not you want that subsystem debugged.
The simple solution would be to move -f before --debug or replace it with --fork.
RE: TVHEADEND ERROR config: uknown subsystem 'f' - Added by Senufo Senufo almost 8 years ago
Thanks.
This actually works if I run tvheadend with systemd as root and the command:
/usr/bin/tvheadend -f -p /run/tvheadend.pid -C -u hts -g video
On the other hand as user "hts" TVHEADEND does not launch and I have no error message, it works by removing the "-f" option!
Is it possible to run TVHEADEND as a daemon as a simple user?
RE: TVHEADEND ERROR config: uknown subsystem 'f' - Added by Joe User almost 8 years ago
If you are running as a "regular user" you will not have permission to change which user/group tvheadend runs as. (unless of course it is already the user/group you are logged in as...)
It should probably print an error telling you this instead of just dying, but it doesn't...
If you want it to run from user hts, you can add the hts user to the video group and then run tvheadend without the user/group options.
usermod -a -G video hts
RE: TVHEADEND ERROR config: uknown subsystem 'f' - Added by Senufo Senufo over 7 years ago
I added the video group to the hts user but TVHEADEND still does not launch with the -f option as a simple user !!
I have no error message
On the other hand I launch TVHEADEND as user hts if I do not have the option -f
/usr/bin/tvheadend