[Bug 760079] New: permissions on /var/lock do not allow uucico (uucp) to create lock-dir/files
https://bugzilla.novell.com/show_bug.cgi?id=760079 https://bugzilla.novell.com/show_bug.cgi?id=760079#c0 Summary: permissions on /var/lock do not allow uucico (uucp) to create lock-dir/files Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: kdupke@suse.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- (this system is upgraded from an openSUSE 11.1 and uses sysvinit, just in case) uucico can't create the uucp lock dir on /var/lock due to wrong permissions. Message in log file: ERROR: mkdir (/var/lock/uucp): Permission denied /var/lock is a bind to /var/run with 0755 permission and root/lock for user and group. ls -ln /usr/lib/uucp/uucico -r-sr-sr-x 1 10 14 279624 Oct 29 2011 /usr/lib/uucp/uucico passwd uucp:x:10:14:Unix-to-Unix CoPy system:/etc/uucp:/bin/bash group uucp:x:14: ps -eo egroup,pid,user,args uucp 22918 uucp uucico -S XXX Unfortunately adding uucp to lock in group did not help either group lock:x:54:uucp even with effective group of uucp as seen in the ps output. Changing permissions to 1777 for /var/run manually and in /etc/rc.d/boot fixed it for me. -- 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=760079 https://bugzilla.novell.com/show_bug.cgi?id=760079#c1 Kai Dupke <kdupke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kdupke@suse.com --- Comment #1 from Kai Dupke <kdupke@suse.com> 2012-05-01 10:28:47 UTC --- Might be related to #733523 but do not looks like a duplicate to me. -- 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=760079 https://bugzilla.novell.com/show_bug.cgi?id=760079#c2 kk zhang <kkzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkzhang@suse.com AssignedTo|bnc-team-screening@forge.pr |fcrozat@suse.com |ovo.novell.com | --- Comment #2 from kk zhang <kkzhang@suse.com> 2012-05-02 06:15:47 UTC --- Hi,could you please help to have a look at this?Thank you:) -- 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=760079 https://bugzilla.novell.com/show_bug.cgi?id=760079#c3 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|fcrozat@suse.com |ro@suse.com --- Comment #3 from Frederic Crozat <fcrozat@suse.com> 2012-05-02 12:50:38 UTC --- since it is under sysvinit, it is a aaa_base bug, I guess it is for Rudi. -- 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=760079 https://bugzilla.novell.com/show_bug.cgi?id=760079#c4 Ruediger Oertel <ro@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |fcrozat@suse.com --- Comment #4 from Ruediger Oertel <ro@suse.com> 2012-06-13 14:55:49 UTC --- well, bnc#733523 seems to imply that the group ownership for /run/lock (or /var/lock) is not really settled. What's the current status ? -- 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=760079 https://bugzilla.novell.com/show_bug.cgi?id=760079#c5 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |fcrozat@suse.com InfoProvider|fcrozat@suse.com | --- Comment #5 from Frederic Crozat <fcrozat@suse.com> 2012-06-13 15:20:55 UTC --- well, the group ownership for /run/lock was incorrect when running under systemd but it has been fixed since January 4, 2012. So we have the exact same setup on sysvinit and systemd. I don't see any more things waiting to be settled. -- 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=760079 https://bugzilla.novell.com/show_bug.cgi?id=760079#c6 Ruediger Oertel <ro@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |werner@suse.com --- Comment #6 from Ruediger Oertel <ro@suse.com> 2012-06-13 15:27:06 UTC --- I'm running systemd here and I see:
ls -ld /run/lock /var/lock drwxrwxr-x 3 root lock 60 May 29 02:04 /run/lock drwxrwxr-x 3 root lock 60 May 29 02:04 /var/lock
and it's the same under syvinit AFAIK. So either this has to be changed in uucp or the directory group ownership needs more discussion. werner ? -- 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=760079 https://bugzilla.novell.com/show_bug.cgi?id=760079#c7 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lnussel@suse.com, | |werner@suse.com InfoProvider|werner@suse.com |lnussel@suse.com --- Comment #7 from Dr. Werner Fink <werner@suse.com> 2012-06-14 08:48:44 UTC --- I've no idea *why* this was changed. Ludwig? -- 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=760079 https://bugzilla.novell.com/show_bug.cgi?id=760079#c8 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|lnussel@suse.com | --- Comment #8 from Ludwig Nussel <lnussel@suse.com> 2012-06-14 12:59:25 CEST --- /var/lock was a mess. Now it's managed by (lib)lockdev exclusively. Don't use it for any other purpose. To create lock files in there link against liblockdev, #inlude <ttylock.h> and call ttylock(filename); -- 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=760079 https://bugzilla.novell.com/show_bug.cgi?id=760079#c9 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |lnussel@suse.com --- Comment #9 from Dr. Werner Fink <werner@suse.com> 2012-06-14 11:04:32 UTC --- (In reply to comment #8) You are breaking existing software without a patch for the former users of /var/lock. IMHO this is a nogo. Please provide a solution for uucp! -- 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=760079 https://bugzilla.novell.com/show_bug.cgi?id=760079#c10 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|lnussel@suse.com | --- Comment #10 from Ludwig Nussel <lnussel@suse.com> 2012-06-14 13:06:22 CEST --- ------------------------------------------------------------------- Tue Mar 9 16:03:15 UTC 2010 - lnussel@suse.de - use lockdev (FATE#308360) first complaint since then. no idea why it suddenly wants to create directories in /var/lock -- 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=760079 https://bugzilla.novell.com/show_bug.cgi?id=760079#c11 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |lnussel@suse.com --- Comment #11 from Dr. Werner Fink <werner@suse.com> 2012-06-14 11:07:43 UTC --- Btw: AFAIK lvm does not use liblockdev but we have /var/lock/lvm -- 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=760079 https://bugzilla.novell.com/show_bug.cgi?id=760079#c12 --- Comment #12 from Dr. Werner Fink <werner@suse.com> 2012-06-14 11:08:57 UTC --- (In reply to comment #10) suddenly?? IMHO you have not checked for other users! -- 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=760079 https://bugzilla.novell.com/show_bug.cgi?id=760079#c13 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|lnussel@suse.com | --- Comment #13 from Ludwig Nussel <lnussel@suse.com> 2012-06-14 13:19:36 CEST --- (In reply to comment #11)
Btw: AFAIK lvm does not use liblockdev but we have /var/lock/lvm
supposed be fixed according to bug 710355 actually(In reply to comment #12)
(In reply to comment #10) suddenly?? IMHO you have not checked for other users!
Right, that's why I added a patch to add lockdev support to uucp o_O. Calm down and don't panic! -- 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=760079 https://bugzilla.novell.com/show_bug.cgi?id=760079#c14 --- Comment #14 from Dr. Werner Fink <werner@suse.com> 2012-06-14 11:29:18 UTC --- (In reply to comment #13)
Right, that's why I added a patch to add lockdev support to uucp o_O. Calm down and don't panic!
The only problem is that it does not work. -- 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=760079 https://bugzilla.novell.com/show_bug.cgi?id=760079#c15 --- Comment #15 from Kai Dupke <kdupke@suse.com> 2012-06-14 12:12:10 UTC --- References to /var/lock/uucp directory are found last century - would be great to make uucp working again, without admin tweaking security. -- 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=760079 https://bugzilla.novell.com/show_bug.cgi?id=760079#c16 --- Comment #16 from Kai Dupke <kdupke@suse.com> 2012-07-08 19:44:07 UTC --- Any news? I installed a fresh openSUSE 12.1 including updates and uucp is still not working. -- 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=760079 https://bugzilla.novell.com/show_bug.cgi?id=760079#c17 Ruediger Oertel <ro@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|ro@suse.com |lnussel@suse.com --- Comment #17 from Ruediger Oertel <ro@suse.com> 2014-01-31 13:58:57 UTC --- try to reassign to someone actually working on this -- 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