summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-02-29iscsi: Make job object for Login()/Logout() reference the iSCSITarget objectwip/iscsiDavid Zeuthen1-4/+12
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-02-29Add UpdateConfiguration() method to the org.fd.UDisks2.iSCSITarget interfaceDavid Zeuthen3-10/+168
This is needed in order to configure the connection to the target. Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-02-28iscsi: retrieve configuration for each connection (=node) and export itDavid Zeuthen2-18/+286
This may contain passwords so export only the filtered data and make available a D-Bus method to get the unfiltered data after authentication. Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-02-28Add iSCSI bits backDavid Zeuthen10-2/+1887
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-02-24Force MediaRemovable to TRUE for e.g. SD cards using the mmc layerDavid Zeuthen1-33/+39
Otherwise udisks_client_get_drive_info() will return drive-removable-media-flash-sd for /dev/mmcblk0p1 instead of media-flash-sd and we want the latter. Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-02-24Run gtkdoc-rebase to fix up links for GLib typesDavid Zeuthen1-0/+1
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-02-24Add a section about /org/freedesktop/UDisks2/jobs/* objectsDavid Zeuthen1-0/+12
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-02-24Add a section about /org/freedesktop/UDisks2/drives/* objectsDavid Zeuthen1-0/+25
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-02-24Reword the section about block device objects a little bitDavid Zeuthen1-5/+10
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-02-23Add a section about /org/freedesktop/UDisks2/block_devices/* objectsDavid Zeuthen1-0/+27
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-02-23Don't include sys/acl.h - it's not neededDavid Zeuthen1-1/+0
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-02-23Post-release version bump to 1.93.0David Zeuthen1-1/+1
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-02-23Update NEWS for release1.92.0David Zeuthen1-0/+28
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-02-22Move to /usr-only setup and get rid of hardcoded paths to /lib and sbinDavid Zeuthen6-27/+15
With the whole OS in /usr, tricks like these are no longer needed. Howver, distros with different content in e.g. /sbin and /usr/sbin will have to move things like the /usr/sbin/umount.udisks2 binary themselves etc. Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-02-22client: Fix bit shifts of flags on 32 bitColin Walters1-5/+5
Also, the flags should be unsigned, not signed. Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-02-22Use /run/media/$USER for mountingDavid Zeuthen2-25/+61
Also use ACLs on the $USER sub-directory so only $USER (and not any other user) can access the mounted filesystem. Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-02-22Don't free object twice when deleting a loop deviceDavid Zeuthen1-1/+0
Duh! Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-02-22Avoid using $XDG_RUNTIME_DIR/media for nowDavid Zeuthen1-0/+2
Needs a bit more thought on the security side. Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-02-06Post-release version bump to version 1.92.0David Zeuthen1-1/+1
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-02-06Update NEWS for release1.91.0David Zeuthen1-0/+52
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-27Fix a couple of uninitialized warnings and simplify SMART self-test handlingDavid Zeuthen3-27/+20
In particular, this fixes a crash when running a SMART self-test on a drive and then yanking it. Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-27Shut up valgrind complaing about LOOP_GET_STATUS64 ioctlDavid Zeuthen1-0/+1
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-26Use g_dbus_interface_dup_object() and check return valueDavid Zeuthen13-38/+285
This fixes potential (multi-threading related) problems where the GDBusObject is removed just before or in the middle of handling a call. Also bump required GLib version to (unreleased) 2.31.13 since that's the version this API was introduced in. Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-26Do coldplug for block devices twiceDavid Zeuthen1-0/+2
Otherwise we may miss some associations between LUKS devices and other block devices. This bug only became evident once we started sorting block devices before processing them. Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-26Make sure that Drive:SortKey sorts e.g. sdz before sdaaDavid Zeuthen2-4/+79
Also make sure that we e.g. process sdb before sdad to get Drive:SortKey set using sdb rather than sdad. With this change we get the expected output that corresponds to kernel probing order. Which (on good days) may correspond to slot and enclosure order. MODEL REVISION SERIAL DEVICE -------------------------------------------------------------------------- HP LOGICAL VOLUME 3.00 5001438008F61790 sda SEAGATE ST3300657SS 0006 3SJ1S7K600009051M0CE sdad sdb SEAGATE ST3300657SS 0006 3SJ1S4MH00009052RG6Z sdae sdc SEAGATE ST3300657SS 0006 3SJ1RFP900009051HZ5S sdaf sdd SEAGATE ST3300657SS 0006 3SJ1S66L00009052QGZA sdag sde SEAGATE ST3300657SS 0006 3SJ1RPFJ00009052BZ10 sdah sdf SEAGATE ST3300657SS 0006 3SJ1RWZ100009101T12H sdai sdg SEAGATE ST3300657SS 0006 3SJ1S7C500009052RKPP sdaj sdh SEAGATE ST3300657SS 0006 3SJ1S40K00009101T1XU sdak sdi SEAGATE ST3300657SS 0006 3SJ1RJS700009050VYEA sdal sdj SEAGATE ST3300657SS 0006 3SJ1RSJC00009052MWTB sdam sdk SEAGATE ST3300657SS 0006 3SJ1QNMQ00009052NECM sdan sdl SEAGATE ST3300657SS 0006 3SJ1S3NE00009101TB5Y sdao sdm WDC WD1002FAEX-00Y9A0 01.01V10 WD-WCAW30012560 sdn WDC WD1002FAEX-00Y9A0 01.01V10 WD-WCAW30064749 sdo WDC WD1002FAEX-00Y9A0 01.01V10 WD-WCAW30039741 sdp WDC WD1002FAEX-00Y9A0 01.01V10 WD-WCAW30064055 sdq WDC WD1002FAEX-00Y9A0 01.01V10 WD-WCAW30030732 sdr WDC WD1002FAEX-00Y9A0 01.01V10 WD-WCAW30010853 sds WDC WD1002FAEX-00Y9A0 01.01V10 WD-WCAW30024753 sdt WDC WD1002FAEX-00Y9A0 01.01V10 WD-WCAW30065104 sdu WDC WD1002FAEX-00Y9A0 01.01V10 WD-WCAW30031826 sdv WDC WD1002FAEX-00Y9A0 01.01V10 WD-WCAW30025874 sdw WDC WD1002FAEX-00Y9A0 01.01V10 WD-WCAW30063724 sdx WDC WD1002FAEX-00Y9A0 01.01V10 WD-WCAW30064486 sdy WDC WD1002FAEX-00Y9A0 01.01V10 WD-WCAW30032003 sdz WDC WD1002FAEX-00Y9A0 01.01V10 WD-WCAW30021345 sdaa WDC WD1002FAEX-00Y9A0 01.01V10 WD-WCAW30067287 sdab WDC WD1002FAEX-00Y9A0 01.01V10 WD-WCAW30014347 sdac Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-26udisksctl: sort the drives using Drive:SortKey for 'status' verbDavid Zeuthen1-2/+14
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-26udisksctl: nuke PORT column in output of 'status' verbDavid Zeuthen1-6/+5
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-25With /media and /run on tmfs, switch to temporary store for mounted-fsDavid Zeuthen1-5/+5
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-25Prefer mounting in /run/user/$USER/media instead of /mediaDavid Zeuthen8-17/+81
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-25Fix .gir make dependenciesMartin Pitt1-2/+2
Make UDisks-2.0.gir build depend on libudisks2.la. This fixes parallel builds, as well as ensures that the gir/typelibs are updated on any code change that affects the library.
2012-01-24For mount options, switch from comment=udisks to x-udisksDavid Zeuthen3-9/+9
Recent util-linux (2.21+) supports any x-* option. Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-24Fix 'make distcheck'David Zeuthen2-3/+7
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-24Update POTFILES.inDavid Zeuthen1-0/+1
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-24Use gobject-introspection MakefileDavid Zeuthen1-21/+24
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-24Add targets for release managementDavid Zeuthen1-0/+11
Right now it's hard-coded for me but we can change that later if needed etc. Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-23Add Transifex URL to README fileDavid Zeuthen1-0/+9
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-23Add Danish translationDavid Zeuthen2-0/+1192
This is just to check that the translations are actually being used properly. Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-23Move polkit .policy file from policy/ to data/David Zeuthen8-20/+11
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-23Also update the error name in D-Bus docsDavid Zeuthen1-2/+2
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-22Use org.freedesktop.UDisks2.* for errors, not org.freedesktop.UDisks.*David Zeuthen3-32/+33
This will break apps using the D-Bus library but will not break apps using the libudisks2 library. Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-22Fix up doc pageDavid Zeuthen1-14/+3
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-22Remove copyright and license from docs and add link to online docsDavid Zeuthen1-40/+6
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-22Add 2012 to copyright yearsDavid Zeuthen1-0/+1
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-21Rename systemd service to udisks2 and fix a couple of typosDavid Zeuthen4-5/+6
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-21Install a systemd service file if systemd is usedBenedikt Morbach5-8/+37
This makes dbus defer starting udisks to systemd instead of doing it itself and thus puts the daemon under proper systemd supervision. Can be disabled by passing --without-systemdsystemunitdir to configure Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-21Fix use of memset(3)David Zeuthen1-1/+1
Pointed out here https://bugs.freedesktop.org/show_bug.cgi?id=45039 Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-21Ensure PATH is setDavid Zeuthen1-0/+3
Apparently PATH may be empty if activated by recent D-Bus daemons. Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-20Post-release version bump to version 1.91.0David Zeuthen1-1/+1
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-20Update NEWS for release1.90.0David Zeuthen1-4/+7
Signed-off-by: David Zeuthen <davidz@redhat.com>
2012-01-20Fix typos in udisks(8) man page and reword a couple of thingsDavid Zeuthen1-5/+5
Signed-off-by: David Zeuthen <davidz@redhat.com>