[Bug 438981] New: [home:rbos/logcheck] missing dependency to lockfile-progs
https://bugzilla.novell.com/show_bug.cgi?id=438981 Summary: [home:rbos/logcheck] missing dependency to lockfile- progs Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software AssignedTo: richard.bos@xs4all.nl ReportedBy: puzel@novell.com QAContact: opensuse-communityscreening@forge.provo.novell.com Found By: Development logcheck from home:rbos project does not work in suse - it seems to depend on lockfile-progs. -- 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=438981 User richard.bos@xs4all.nl added comment https://bugzilla.novell.com/show_bug.cgi?id=438981#c1 --- Comment #1 from Richard Bos <richard.bos@xs4all.nl> 2008-11-02 05:21:19 MDT --- Can you be more specific? What error do you get? Does the file / package lockfile-progs exist in openSUSE? -- 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=438981 User puzel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=438981#c2 --- Comment #2 from Petr Uzel <puzel@novell.com> 2008-11-03 02:03:44 MDT --- (In reply to comment #1 from Richard Bos)
Can you be more specific? What error do you get?
Well, the first problem (that I did not mention in the original bugreport) is that logcheck refuses to run as root and suggests running it as user logcheck - however the logcheck user does not exist in openSUSE nor it is created during logcheck install. foxbat:~ # logcheck logcheck should not be run as root. Use su to invoke logcheck: su -s /bin/bash -c "/usr/sbin/logcheck" logcheck Or use sudo: sudo -u logcheck logcheck. Next I've tried it with my normal user account and got the following : puzel@foxbat:~> /usr/sbin/logcheck fatal: lockfile-progs is a prerequisite for logcheck, and was not found.
Does the file / package lockfile-progs exist in openSUSE? AFAIK lockfile-progs does not exist in standard openSUSE repos, but can be found in Ports:DebianBased:Auto build service project.
-- 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=438981 User richard.bos@xs4all.nl added comment https://bugzilla.novell.com/show_bug.cgi?id=438981#c3 Richard Bos <richard.bos@xs4all.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Richard Bos <richard.bos@xs4all.nl> 2008-11-30 06:38:20 MST --- Petr, the packages are there now. If you update logcheck, is should pull in liblockfile1 and lockfile-progs. liblockfile1 might have a problem with the file /usr/bin/dotlockfile, because I removed the gid bit on the file as it otherwise would not get build in factory, from the changelog: - Remove the setgid from the file dotlockfile, as this is not allowed by the rpmlint checker. rpmlint results in: E: permissions-file-setuid-bit (Badness: 10000) /usr/bin/dotlockfile is packaged with setuid/setgid bits (02755) Please remove the setuid/setgid bits or contact security@suse.de for review. Let me know how it goes. -- 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=438981 User puzel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=438981#c4 Petr Uzel <puzel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #4 from Petr Uzel <puzel@novell.com> 2008-12-04 04:24:12 MST --- Richard, thanks for working on this. Unfortunately, logcheck is still not usable on SuSE :( The lockfile stuff gets pulled OK, but some issues still remain: a) if logcheck is run as root, it complains that it should be run as regular user b) if it is run as regular user, it can't set up locks because of missing seu(g)id bit on dotlockfile (I know, you can't do much with this) c) if I set suid bit on dotlockfile manually and run logcheck as regular user, it can't access /var/lib/logcheck (insufficient permissions) d) if I remove 'check-if-run-as-root' from /usr/sbin/logcheck and try to run it as root, it complains that run-parts command is not found. IMO it can't be solved without modifying logcheck not to rely so heavily on debian specific stuff (see http://www.mail-archive.com/logcheck-devel@lists.alioth.debian.org/msg00263....) I could possibly work on it when I have more time (not now though). -- 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=438981 User puzel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=438981#c5 Petr Uzel <puzel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |WONTFIX --- Comment #5 from Petr Uzel <puzel@novell.com> 2009-01-10 09:16:20 MST --- I think this can be closed, since I've recently found out that there is a logwatch package in Factory that works flawlessly (almost). -- 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