[Bug 780413] New: "/var/lib/hp" folder is not being created during hplip package installation from repo
https://bugzilla.novell.com/show_bug.cgi?id=780413 https://bugzilla.novell.com/show_bug.cgi?id=780413#c0 Summary: "/var/lib/hp" folder is not being created during hplip package installation from repo Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: amarnath_urs@yahoo.co.in QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0 Hi, When hplip package is installed, "/var/lib/hp" folder is not being created and "su-c 'hp-plugin'" is failing due to this. If HPLIP package is installed from HPLIP site @ http://hplipopensource.com/hplip-web/install.html, "/var/lib/hp" folder is getting created. Please make changes to create this folder during hplip package installation. Reproducible: Always Steps to Reproduce: 1. Install "hplip" package from repository 2. run "su -c hp-setup" for plugin printer 3. asks for su password to install plugin's Actual Results: hp-setup fails with Plugin installation is failed message Expected Results: plugin should be installed and printer should setup correctly. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=780413 https://bugzilla.novell.com/show_bug.cgi?id=780413#c kk zhang <kkzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkzhang@suse.com AssignedTo|bnc-team-screening@forge.pr |jsmeix@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=780413 https://bugzilla.novell.com/show_bug.cgi?id=780413#c1 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Platform|x86-64 |All Found By|--- |Community User InfoProvider| |amarnath_urs@yahoo.co.in --- Comment #1 from Johannes Meixner <jsmeix@suse.com> 2012-09-18 08:03:35 UTC --- You wrote "Install "hplip" package from repository".
From which exact repository?
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=780413 https://bugzilla.novell.com/show_bug.cgi?id=780413#c2 --- Comment #2 from Johannes Meixner <jsmeix@suse.com> 2012-10-04 14:11:02 CEST --- The /var/lib/hp directory is created everywhere except on openSUSE 12.2 and later versions (could this be an autoconf issue ?). I don't see errors during RPM package build on openSUSE 12.2 - it seems the creation of the /var/lib/hp directory is somehow skipped. At least for now I will create it in our RPM install section if it does not exist as a simple and fail-safe workaround see also https://bugs.launchpad.net/hplip/+bug/1018303 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=780413 https://bugzilla.novell.com/show_bug.cgi?id=780413#c3 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED CC| |goutamkk@gmail.com Component|Installation |Printing InfoProvider|amarnath_urs@yahoo.co.in | Resolution| |FIXED Summary|"/var/lib/hp" folder is not |hplip: "/var/lib/hp" folder |being created during hplip |is not created by HPLIP's |package installation from |"make install" for openSUSE |repo |12.2 and Factory (but works | |everywhere else) QAContact|jsrain@suse.com |jsmeix@suse.com --- Comment #3 from Johannes Meixner <jsmeix@suse.com> 2012-10-05 09:18:13 CEST --- This is the matching upstream bug report: https://bugs.launchpad.net/hplip/+bug/1048732 For HPLIP 3.12.9 I fixed it in the openSUSE build service project "Printing" in hplip.spec via: ------------------------------------------------------------------------------- %install make install DESTDIR=%{buildroot} # The /var/lib/hp directory is created everywhere except on openSUSE 12.2 # and later versions (perhaps an autoconf issue) so that it is created # here as simple and fail-safe workaround # see https://bugs.launchpad.net/bugs/1018303 and bnc#780413 # using fixed "/var/log/hp" because this is hardcoded in the HPLIP sources # regarding owner and permissions see the "files hpijs" section below # and Patch102 no-chgrp_lp_hplip_Logdir.diff: test -d %{buildroot}/var/lib/hp || install -d %{buildroot}/var/lib/hp ------------------------------------------------------------------------------- Therefore I close it as "fixed". For HPLIP 3.12.10 http://hplipopensource.com/hplip-web/release_notes.html reads: ----------------------------------------------------------------------------- Launchpad fixes: ... 1048732 - hp binary plugin installation fails ----------------------------------------------------------------------------- I will upgrade HPLIP to 3.12.10 and check if it works now via "make install" also for openSUSE 12.2 and openSUSE Factory. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com