Bug 698174

Summary: klogd use /var/run/subsys (deprecated)
Product: [openSUSE] openSUSE 12.1 Reporter: Bruno Friedmann <bruno>
Component: BasesystemAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Factory   
Target Milestone: ---   
Hardware: x86-64   
OS: SUSE Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Patch to remove the use of subsys in /var/run location

Description Bruno Friedmann 2011-06-06 08:19:52 UTC
Created attachment 432995 [details]
Patch to remove the use of subsys in /var/run location

User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

On factory 12.1 with default rsyslog, klogd try to use /var/run/subsys in several places in /etc/init.d/syslog

/var/run is now tmpfs remount of /lock/run 

A simple patch is to remove subsys from /etc/init.d/syslog
Attached patch syslog script without the use of subsys.

I don't know if it's not be better to have it using /lock/run so if something is needed before the mount of /var/run it will be correctly placed. 

Reproducible: Always

Steps to Reproduce:
1. Install factory default 
2. get klogd + rsyslog
3. get error about using /var/run/subsys
Actual Results:  
Wrong place

Expected Results:  
Use of existing place
Comment 1 Bruno Friedmann 2011-06-06 15:46:41 UTC
Already fixed in syslogd 
-------------------------------------------------------------------
Fri May 27 11:47:47 UTC 2011 - lnussel@suse.de
 
- don't use /var/lock/subsys

SR only 7 hours ago 
https://build.opensuse.org/request/show/72457
Comment 2 Bruno Friedmann 2011-06-06 15:48:17 UTC
see the SR and new build ok