First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 156009
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Genkernel Maintainers <genkernel@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Petteri Räty <betelgeuse@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 156009 depends on: Show dependency tree
Show dependency graph
Bug 156009 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-11-23 02:10 0000
I recently stumbled onto a problem where I had typoed my lvm.conf in the
chroot. When booting the machine I found out that genkernel happily used my
typoed lvm.conf in the initrd. You can use lvm dumpconfig to detect if lvm.conf
is valid.

rj ~ # lvm dumpconfig
  Parse error at line 79: expected a value
  Failed to load config file /etc/lvm/lvm.conf
rj ~ # echo $?
255
rj ~ # lvm dumpconfig
devices {
        dir="/dev"
        scan="/dev"
        filter="r|/dev/cdrom|"
        cache="/etc/lvm/.cache"
        write_cache_state=1
        sysfs_scan=1
        md_component_detection=1
}
activation {
        missing_stripe_filler="/dev/ioerror"
        reserved_stack=256
        reserved_memory=8192
        process_priority=-18
        mirror_region_size=512
        mirror_log_fault_policy="allocate"
        mirror_device_fault_policy="remove"
}
global {
        umask=63
        test=0
        activation=1
        proc="/proc"
        locking_type=1
        locking_dir="/var/lock/lvm"
}
shell {
        history_size=100
}
backup {
        backup=1
        backup_dir="/etc/lvm/backup"
        archive=1
        archive_dir="/etc/lvm/archive"
        retain_min=10
        retain_days=30
}
log {
        verbose=0
        syslog=1
        overwrite=0
        level=0
        indent=1
        command_names=0
        prefix="  "
}
rj ~ # echo $?
0

------- Comment #1 From Chris Gianelloni (RETIRED) 2006-12-13 09:23:51 0000 -------
Ehh... ok... got a patch?

------- Comment #2 From Chris Gianelloni (RETIRED) 2007-03-14 01:30:04 0000 -------
OK, I think I've fixed this in subversion/3.4.7_pre5

------- Comment #3 From Chris Gianelloni (RETIRED) 2007-04-05 15:00:59 0000 -------
This is fixed in genkernel 3.4.7 which is now in the tree.

First Last Prev Next    No search results available      Search page      Enter new bug