Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#29636 - [dmraid] fix pathes
Attached to Project:
Arch Linux
Opened by Christian Hesse (eworm) - Friday, 27 April 2012, 06:40 GMT
Last edited by Tom Gundersen (tomegun) - Friday, 04 May 2012, 11:23 GMT
Opened by Christian Hesse (eworm) - Friday, 27 April 2012, 06:40 GMT
Last edited by Tom Gundersen (tomegun) - Friday, 04 May 2012, 11:23 GMT
|
DetailsDescription:
The dmraid mkinitcpio hook adds udev rule files from /lib/ which were moved to /usr/lib/ with the last device-mapper update. This patch fixes it and moves dmraid itself to /usr. Additional info: dmraid 1.0.0.rc16.3-2 |
This task depends upon
Closed by Tom Gundersen (tomegun)
Friday, 04 May 2012, 11:23 GMT
Reason for closing: Fixed
Additional comments about closing: testing
Friday, 04 May 2012, 11:23 GMT
Reason for closing: Fixed
Additional comments about closing: testing
dmraid.patch
mkdir -p "$pkgdir"/var/lock/dmraid
chmod 1777 "$pkgdir"/var/lock/
The folder /var/lock is a symlink to /run/lock and /run/lock is using tmpfs. So anything sent to /var/lock will end up in /run/lock and will not survive a reboot. When I install dmraid and reboot I get this warning messege from pacman -Qk
warning: dmraid: /var/lock/dmraid/ (No such file or directory)
dmraid: 37 total files, 1 missing file
The folder /var/lock/dmraid is lost because it was stored in tmpfs. Even though the folder is lost during a reboot and not recreated during a bootup, dmraid works fine without this folder. Why is it created during a dmraid install? It does not seem to be needed. Should the two PKGBUILD lines be removed?
The folder /var/lock/dmraid is the only warning message I get from pacman -Qk
Thanks for you help.
However I get some errors while my backup script takes read only snapshots:
/usr/sbin/dmeventd: stat failed: No such file or directory
/usr/sbin/dmeventd: stat failed: No such file or directory
cvg-snap--1336116331--home: event registration failed: No such process
cvg/snapshot0: snapshot segment monitoring function failed.
Not sure if dmraid or device-mapper is responsible for that.
So I am fine with dmraid from testing.