Bug 860041 - anaconda.xlog copied to /var/log/, not /var/log/anaconda/
Summary: anaconda.xlog copied to /var/log/, not /var/log/anaconda/
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Chris Lumens
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-24 17:46 UTC by Steve Tyler
Modified: 2012-11-23 02:36 UTC (History)
4 users (show)

Fixed In Version: anaconda-18.9-1
Clone Of:
Environment:
Last Closed: 2012-11-23 02:36:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
anaconda.log (4.68 KB, text/plain)
2012-09-24 17:56 UTC, Steve Tyler
no flags Details

Description Steve Tyler 2012-09-24 17:46:18 UTC
Description of problem:
anaconda.xlog is copied to /var/log/ instead of /var/log/anaconda/.
The file is named "anaconda.anaconda.xlog".

Version-Release number of selected component (if applicable):
/sbin/anaconda 18.6.8
Fedora-18-Alpha-x86_64-netinst.iso (RC3/Final)

How reproducible:
Always.

Steps to Reproduce:
1. Do a minimal install.
  
Actual results:

Script started on Mon Sep 24 17:33:07 2012
[root@localhost xfr]# ls -F /var/log
anaconda/               boot.log  dracut.log  maillog   secure    wtmp
anaconda.anaconda.xlog  btmp      lastlog     messages  spooler
audit/                  cron      mail/       ppp/      tallylog

[root@localhost xfr]# ls -F /var/log/anaconda
anaconda.ifcfg.log  anaconda.packaging.log  anaconda.storage.log
anaconda.log        anaconda.program.log    syslog
[root@localhost xfr]# exit

Script done on Mon Sep 24 17:33:23 2012

Expected results:
anaconda.xlog is copied to /var/log/anaconda/.

Additional info:
This appears to happen in anaconda-18.8-1 too:

$ grep anaconda.xlog anaconda-18.8-1/data/post-scripts/95-copy-logs.ks
[ -e /tmp/X.log ] && cp /tmp/X.log $ANA_INSTALL_PATH/var/log/anaconda.anaconda.xlog

Comment 1 Steve Tyler 2012-09-24 17:56:40 UTC
Created attachment 616679 [details]
anaconda.log

Comment 3 Adam Williamson 2012-11-23 02:36:35 UTC
This bug looks to have been fixed for many anaconda builds now but missed being closed. If you find you are still experiencing it with Fedora 18 Beta (RC1) or later, please re-open the bug.


Note You need to log in before you can comment on or make changes to this bug.