[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
https://bugzilla.novell.com/show_bug.cgi?id=760079
https://bugzilla.novell.com/show_bug.cgi?id=760079#c2
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=760079
https://bugzilla.novell.com/show_bug.cgi?id=760079#c3
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=760079
https://bugzilla.novell.com/show_bug.cgi?id=760079#c4
Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=760079
https://bugzilla.novell.com/show_bug.cgi?id=760079#c5
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=760079
https://bugzilla.novell.com/show_bug.cgi?id=760079#c6
Ruediger Oertel
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
https://bugzilla.novell.com/show_bug.cgi?id=760079
https://bugzilla.novell.com/show_bug.cgi?id=760079#c8
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=760079
https://bugzilla.novell.com/show_bug.cgi?id=760079#c9
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=760079
https://bugzilla.novell.com/show_bug.cgi?id=760079#c10
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=760079
https://bugzilla.novell.com/show_bug.cgi?id=760079#c11
Dr. Werner Fink
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
https://bugzilla.novell.com/show_bug.cgi?id=760079
https://bugzilla.novell.com/show_bug.cgi?id=760079#c13
Ludwig Nussel
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
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
https://bugzilla.novell.com/show_bug.cgi?id=760079
https://bugzilla.novell.com/show_bug.cgi?id=760079#c16
--- Comment #16 from Kai Dupke
https://bugzilla.novell.com/show_bug.cgi?id=760079
https://bugzilla.novell.com/show_bug.cgi?id=760079#c17
Ruediger Oertel
participants (1)
-
bugzilla_noreply@novell.com