Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines
Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines
Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#18153 - [lvm2] File-based locking and dmeventd error in 2.02.60-2
Attached to Project:
Arch Linux
Opened by Michael Trunner (trunneml) - Wednesday, 03 February 2010, 17:47 GMT-4
Last edited by Gerardo Exequiel Pozzi (djgera) - Wednesday, 03 February 2010, 20:04 GMT-4
Opened by Michael Trunner (trunneml) - Wednesday, 03 February 2010, 17:47 GMT-4
Last edited by Gerardo Exequiel Pozzi (djgera) - Wednesday, 03 February 2010, 20:04 GMT-4
|
DetailsDescription:
On start up LVM2 gives the following Error Message. File-based locking initialisation failed. Child exited with code 5 Unable to start dmeventd. System works just normal. Additional info: * lvm2 package version is 2.02.60-2 * root filesystem is on lvm2 too * There is now problem when I downgrade to the old version "lvm2 2.02.53" Steps to reproduce: Just start Arch Linux with installed lvm2 2.02.60-2. |
> Child exited with code 5
> Unable to start dmeventd.
So when I remove all lvm-mirrors form the volume group it works.
It seems to be that this dmeventd is not started.
Where is the startup script?
In version 2.02.53 it was a verbose output to stdout and with "> /dev/null" nobody has seen it.
Now in version 2.02.60 it is an error output to stderr and "> /dev/null" doesn't work now for this message.
Source:
dmeventd.h:#define EXIT_OPEN_PID_FAILURE 5
If you run any lvm-commad after the root-fs is mounted read-write, dmeventd starts as it should.
I've created a patch for rc.sysinit.
As your system works normal, this is not critical, but I guess the dmeventd monitoring is there for a reason, so we should allow it to be started.
Anyway, I don't know what happens when the dmeventd is started later or even never, but in the old version of lvm2 (2.02.53) the dmeventd was deactivated, so it can't be so important for a system.
If we look at the lvm.conf (/etc/lvm/lvm.conf) we can notice that there's a line to where we can save the lock files, it also mentions that the lock files could be saved on the tmp file system.
I don't think for this issue only (dmeventd) we need to mount /var/{lock,run} as a different fs and make it r/w before mounting the whole file system, perhaps the best idea is to change the lockfile of the lvm into the tmpfs.
as this bug report is lvm specific, perhaps putting the lock dir for lvm specific on a tmpfs is the sulution.
they also state that it's okay to put the lock files on a tmpfs and the option is available on the lvm.conf file.
Has there been any progress in the last couple of weeks?