Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239417 - sys-fs/device-mapper-1.02.28 version bump
Summary: sys-fs/device-mapper-1.02.28 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-03 11:14 UTC by Tim Harder
Modified: 2009-02-09 01:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
1.02.27-1.02.28_eapi2.diff (1.02.27-1.02.28_eapi2.diff,927 bytes, text/plain)
2008-10-03 11:17 UTC, Tim Harder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Harder gentoo-dev 2008-10-03 11:14:21 UTC
New minor release with changes as seen at ftp://sources.redhat.com/pub/dm/WHATS_NEW.

Works fine by just bumping the previous version, but some minor changes can be
made to take advantage of new EAPI 2 phases as seen in the attached diff.
Comment 1 Tim Harder gentoo-dev 2008-10-03 11:17:08 UTC
Created attachment 167068 [details]
1.02.27-1.02.28_eapi2.diff

Update the ebuild to use new EAPI 2 features
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-10-03 21:14:19 UTC
agk:
1. any warnings against device-mapper-1.02.28?
2. I thought we sent the --export patch upstream once before, but I can't find proof of that. Did we, was it rejected?
http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/device-mapper/files/device-mapper-1.02.27-export-format.diff?rev=1.1&view=markup
Comment 3 Alasdair Kergon 2008-10-03 21:27:11 UTC
No specific problems with 1.02.28, but I'd wait till lvm2 reaches 2.02.41 as the combination of 1.02.28 + 2.02.39 has never been tested and there's one bug outstanding in .40 that might require a change to .28. (If there are problems, they'll show up in commands that manipulate the device tree like lvconvert & mirrors etc.)

--export functionality is now upstream - but it was implemented a different way by extending the reporting options (info -c --rows --unquoted -o... etc.).  (If there turns out to be specific set of required fields then we can add a shortcut for it later, that expands to a specific hard-coded command line.)
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-10-03 22:03:30 UTC
agk: Our udev rules use --export directly.
/etc/udev/rules.d/64-device-mapper.rules:IMPORT{program}="/sbin/dmsetup info --export -j%M -m%m"

Sample output:
# dmsetup info --export -j253 -m5
DM_NAME=vg-home
DM_MAJOR=253
DM_MINOR=5
DM_STATUS=ACTIVE
DM_READ_ONLY=0
DM_EXISTS=1
DM_SUSPENDED=Active
DM_TABLE_LIVE=1
DM_TABLE_INACTIVE=0
DM_OPEN=1
DM_SEGMENTS=1
DM_EVENTS=0
DM_UUID=LVM-hi5INdfGB06QByX6O7aIujXbOkvqGceUiX8RwyVx3T5dp4DvSGGFCVT8qanmfpAZ
DM_TARGET_TYPES=linear
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-11-07 22:05:55 UTC
.28 is now in the tree, but we still use our own --export patch.

agk: Did you see my comments here about the --export stuff output differing?