Summary: | net-print/hplip-3.13.2-r1 - User does not see plugin | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | James <cctsurf> |
Component: | [OLD] Printing | Assignee: | Daniel Pielmeier <billie> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andre.reinke, printing |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://launchpad.net/bugs/1133486 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
James
2013-02-24 12:41:22 UTC
emerge --info Portage 2.1.11.52 (default/linux/amd64/13.0/desktop/kde, gcc-4.6.3, glibc-2.16.0, 3.8.0-gentoo x86_64) ================================================================= System uname: Linux-3.8.0-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1045T_Processor-with-gentoo-2.2 KiB Mem: 8168848 total, 6146372 free KiB Swap: 5242876 total, 5242876 free Timestamp of tree: Sun, 24 Feb 2013 13:15:01 +0000 ld GNU ld (GNU Binutils) 2.23.1 ccache version 3.1.9 [enabled] app-shells/bash: 4.2_p42 dev-java/java-config: 2.1.12-r1 dev-lang/python: 2.7.3-r3, 3.2.3-r2 dev-util/ccache: 3.1.9 dev-util/cmake: 2.8.10.2-r1 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.6 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.9.6-r3, 1.11.6, 1.13.1 sys-devel/binutils: 2.23.1 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.7 (virtual/os-headers) sys-libs/glibc: 2.16.0 Repositories: gentoo MythTV-0-26-fixes Home ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* PUEL" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=amdfam10 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions" 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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=amdfam10 -O2 -pipe" DISTDIR="/mnt/nfs_portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.netnitco.net http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.mirrors.tds.net/gentoo http://www.cyberuse.com/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j7" PKGDIR="/mnt/nfs_portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/mnt/nfs_portage" PORTDIR_OVERLAY="/var/lib/layman/mt-mythtv /usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac aacs acl acpi alsa amd64 audiofile avahi avi bluetooth bluray branding bzip2 cairo ccache cdda cddb cdio cdr cdrkit cli consolekit cracklib crypt css cups cxx dbus declarative divx4linux dlloader dri dts dv dvb dvd dvdnav dvdr dvdread emboss enca encode exif extras fam ffmpeg firefox flac fontconfig fortran g3dvl gdbm gif gimp glut gpm gtk gzip iconv icu ieee1394 imagemagick java jpeg json kde kerberos kipi kontact ladspa lame lcms ldap libnotify live lm_sensors lv2 mad melt midi mjpeg mmx mmx2 mmxext mng modules mp2 mp3 mp4 mpeg mplayer mpm-worker mtp mudflap multilib musepack mythtv ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis openal opengl openmp pam pango pcre pda pdf pdflib phonon plasma png policykit posix ppds pulseaudio qt3support qt4 readline scanner sdl semantic-desktop session smp snmp sockets spell srt sse sse2 ssl startup-notification subtitles svg swat szip tcpd theora threads tiff truetype udev udisks unicode upower usb vcd vdpau vim-syntax vorbis webkit wxwidgets x264 xanim xcb xcomposite xinerama xml xscreensaver xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="hda_intel usb_audio" 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="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" 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" LIBREOFFICE_EXTENSIONS="pdfimport presenter-console presenter-minimizer" LINGUAS="en en_US" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="hp umax" USERLAND="GNU" VIDEO_CARDS="nvidia ati vesa" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON Same issue over here :/ Had the same problem. Looking at the output from hp-check -t I found: hp-check -t ... Current contents of '/var/lib/hp/hplip.state' file: Plugins are not installed. Could not access file: Permission denied /var/lib/hp actually has permissions 644 after the upgrade to 3.13.2 Changing it manually to 755 (sudo chmod 755 /var/lib/hp) solved the problem for me. I have reported this also on the hplip bug tracker: https://bugs.launchpad.net/hplip/+bug/1133486 (In reply to comment #3) > Had the same problem. Looking at the output from hp-check -t I found: > > hp-check -t > ... > Current contents of '/var/lib/hp/hplip.state' file: > Plugins are not installed. Could not access file: Permission denied > > > /var/lib/hp actually has permissions 644 after the upgrade to 3.13.2 > > Changing it manually to 755 (sudo chmod 755 /var/lib/hp) solved the problem > for me. Confirming that! (In reply to comment #3) > Had the same problem. Looking at the output from hp-check -t I found: > > hp-check -t > ... > Current contents of '/var/lib/hp/hplip.state' file: > Plugins are not installed. Could not access file: Permission denied > > > /var/lib/hp actually has permissions 644 after the upgrade to 3.13.2 > > Changing it manually to 755 (sudo chmod 755 /var/lib/hp) solved the problem > for me. > > I have reported this also on the hplip bug tracker: > https://bugs.launchpad.net/hplip/+bug/1133486 The Gentoo ebuild does not alter permissions of /var/lib/hp. Recently there were permission issues with /var/log/hp which have been fixed. Looking at the source code there is the following in base/g.py: in hplip-3.12.10a if not os.path.exists('/var/lib/hp/') and os.geteuid() == 0: os.makedirs('/var/lib/hp/') os.system('chmod 644 /var/lib/hp/') in hplip-3.13.2 if not os.path.exists('/var/lib/hp/') and os.geteuid() == 0: os.makedirs('/var/lib/hp/') cmd = 'chmod 644 /var/lib/hp/' os_utils.execute(cmd) Maybe this change caused the issue. Probably it did not work before and now it does. However a directory shouldn't have 644 permissions at all. +*hplip-3.13.2-r2 (01 Mar 2013) + + 01 Mar 2013; Daniel Pielmeier <billie@gentoo.org> +hplip-3.13.2-r2.ebuild: + Revison bump. Fix bug #458976. Wrong permissions again. This time for + /var/lib/hp/. Thanks to James for the report. Only remove /var/lib/hp/ if it + is world writeable. Should be fixed. Please reopen if there are still problems. |