Bug 473097

Summary: Problem opening kernel log: Can't write to file '/home/nocpulse/var/kernel.log': No such file or directory
Product: [Community] Spacewalk Reporter: Miroslav Suchý <msuchy>
Component: ServerAssignee: Miroslav Suchý <msuchy>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 0.4CC: mmraka
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-22 16:30:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 456552    

Description Miroslav Suchý 2008-11-26 15:12:11 UTC
Description of problem:
When I start monitoring after while I get this error:
==> /var/log/nocpulse/kernel-error.log <==
2008-11-26 16:46:32 Problem opening kernel log: Can't write to file '/home/nocpulse/var/kernel.log': No such file or directory
Can't call method "autoflush" on an undefined value at /usr/bin/kernel.pl line 93.

Problem is in table rhn_config_macro, where 
NPVAR = %{NPHOME}/var
NPHOME = /home/%{USER}

Comment 1 Miroslav Suchý 2008-11-26 15:43:38 UTC
Commited as 666bfb9c1bf3be5c45102948a5ede0fe6dc146f0

Comment 2 Michael Mráka 2009-01-15 12:53:00 UTC
Verified.

# egrep 'No such file|undefined' /var/log/nocpulse/kernel-error.log | wc -l 
0