forked from storaged-project/udisks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NEWS
2936 lines (2456 loc) · 112 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
---------------------------
udisks 2.10.0 (unreleased)
---------------------------
The udisks project provides a daemon, tools and libraries to access
and manipulate disks, storage devices and technologies.
Changes since 2.9.2:
(TODO: make shortlog)
Thanks to all our contributors.
Tomas Bzatek
(TODO: date --rfc-3339='date')
---------------------------
udisks 2.9.2
---------------------------
The udisks project provides a daemon, tools and libraries to access
and manipulate disks, storage devices and technologies.
Changes since 2.9.1:
Marius Vollmer (1):
udiskslinuxblock: Survive a missing /etc/crypttab
Tomas Bzatek (20):
lvm2: Fix leaking BDLVMVDOPooldata
tests: Test modules that are actually enabled during build
build: Exclude VDO module from distcheck build
udisksfstabentry: Add udisks_fstab_entry_has_opt()
udiskslinuxblock: Reflect fstab "noauto" mount option in HintAuto
udiskslinuxblock: Update hints after fstab change
tests: Add tests for Block hints
udiskslinuxfilesystemhelpers: Make TakeOwnership() race free
tests: Extend filesystem test_take_ownership tests with symlinks
mount options: Allow 'nosymfollow' mount option for unprivileged mounts
udisksstate: Silence the block device busy messages on cleanup lock
udev: Distinguish mmcblk-class device types
udev: Propagate mmcblk disk attributes to mmcblk_boot devices
udiskslinuxdrive: Tweak the 'removable'/'ejectable' hints for mmcblk-class devices
udiskslinuxblock: Tweak the hints for mmcblk-class devices
udisksdaemonutil: Refactor udisks_daemon_util_trigger_uevent() out of UDisksLinuxBlockObject
udiskslinuxmanager: Trigger uevent after loop device setup
tests: Remove scsi_debug serial number checks
tests: Skip zram tests if zram module is already loaded
Torstein Husebø (1):
treewide: Fix typos
Vojtech Trefny (3):
AUTHORS: Add tbzatek as the maintainer
tests: Do not use nilfs2 as an example of non-resizable FS
Memory leak fixes
zhmars (1):
doc: Update config file path
Thanks to all our contributors.
Tomas Bzatek
2021-02-04
---------------------------
udisks 2.9.1
---------------------------
The udisks project provides a daemon, tools and libraries to access
and manipulate disks, storage devices and technologies.
Changes since 2.9.0:
Sebastien Bacher (1):
integration-test: fix the exfat tests with the new util-linux
Tomas Bzatek (35):
udiskslinuxpartition: Fix Coverity warning
udiskslinuxmountoptions: Prevent a memory leak
tests: Add integration-test --system switch
daemon: Always flush interface property changes
lvm2: Always flush interface property changes
bcache: Always flush interface property changes
btrfs: Always flush interface property changes
iscsi: Always flush interface property changes
lsm: Always flush interface property changes
zram: Always flush interface property changes
vdo: Always flush interface property changes
udiskscrypttabmonitor: Add locking around crypttab_entries
udiskscrypttabmonitor: Control cache validity by contents checksum
tests: Remove sleep after modifying crypttab
udiskslinuxblock: Use udisks_linux_block_matches_id() for block device identification
udiskslinuxblock: Fix fstab records matching by needle
tests: Add basic stacked LVM + LUKS teardown tests
mount options: Add allowed mount options for XFS
mount options: Add allowed mount options for reiserfs
mount options: Add some more common allowed options
udisksdaemon: Fix UDisksModuleManager finalization
modules: Crash recovery on startup via a state file
zram: Fix zram.conf.d prefix
build: Use systemd pkg-config variable for modloaddir
zram: Require systemd
zram: Rename service to [email protected]
zram: Minor codestyle fixes
zram: Annotate created config files with UDisks2 header
zram: Separate relevant udev rules
zram: Fix the systemd service return code when swap is not requested
zram: Fix the systemd service type
tests: Install supplemental zram module files
tests: Reset the zram systemd service on startup
zram: Perform changes only when the env file exists for the given zram device
Vojtech Trefny (6):
dbus-tests: Fix UdisksLVMVDOTest.test_resize_physical
dbus-tests: Fix expected MD_DEVICE key in mdadm --detail output
dbus-tests: Fix expected error in UdisksVDOTest.test_grow_physical
dbus-tests: Skip VDO and LVM VDO tests if we can't load the module
dbus-tests: Fix expected error message for failed LUKS resize
dbus_tests: Fix getting list of SATA drives for Drive.ATA test
Thanks to all our contributors.
Tomas Bzatek
2020-08-12
---------------------------
udisks 2.9.0
---------------------------
The udisks project provides a daemon, tools and libraries to access
and manipulate disks, storage devices and technologies.
Changes since 2.8.4:
Dick Marinus (1):
remove dot (.) for easier selecting the mounted folder
Matthew Leeds (1):
udisksclient: Let the caller specify a D-Bus connection
Philip Withnall (1):
udisksspawnedjob: Clear encoding of stdout and stderr channels
Piotr Drąg (1):
Update POTFILES.in
Ting-Wei Lan (8):
build: Do not hardcode the path of bash
udisksclient: Do not depend on __GNUC_PREREQ macro
Allow building without the daemon
build: Do not use sed -i
doc: Fix gtk-doc build when daemon is not built
doc: Fix inconsistent indentation
doc: Fix out-of-source build
udisks: Use 'mv -f' to prevent prompting
Tomas Bzatek (135):
rpm: Don't trigger udev if socket is not accessible
ata: Reorder setting of APM and Standby timer flags
udisksstate: Prevent pointer dereferencing before its check for NULL
integration-test: Add test for mountpoint removal by external force
udisksstate: Remove unused 'attempt_no_cleanup' variable
udisksstate: Ignore state file read errors
udiskslinuxfilesystem: Fix a typo
udisksstate: Distinguish between persistent and non-persistent mount points
udisksstate: Const-ify the state file names
udisksstate: Prefix some warnings and error messages
Remove the systemd mount cleanup service
tests: Retry rmtree() if target is busy
udisksmountmonitor: Remove caching, always read and parse the data
tests: Handle return codes from `umount` and `wipefs` calls
udiskslinuxblockobject: Expose udisks_linux_block_object_get_device_number()
udiskslinuxblockobject: Add infrastructure for block device locking for cleanup
udisksstate: Skip cleanup if block device is busy
udisksstate: Implement udisks_state_check_block() for single device cleanup
block: Lock the block object for cleanup in d-bus method call handlers
Indentation fixes
Code style cleanup: comments
daemon: Detect linux kernel version on startup
udiskslinuxprovider: Add the "uevent-probed" signal
udisksdaemon: Generate daemon UUID on startup
udiskslinuxblockobject: Implement udisks_linux_block_object_trigger_uevent_sync()
daemon: Add UDISKS_DEFAULT_WAIT_TIMEOUT constant
daemon: Use udisks_linux_block_object_trigger_uevent_sync()
bcache: Use udisks_linux_block_object_trigger_uevent_sync()
lvm2: Unify timeouts using UDISKS_DEFAULT_WAIT_TIMEOUT
iscsi: Unify timeouts using UDISKS_DEFAULT_WAIT_TIMEOUT
zram: Unify timeouts using UDISKS_DEFAULT_WAIT_TIMEOUT
vdo: Unify timeouts using UDISKS_DEFAULT_WAIT_TIMEOUT
tests: Use `modprobe` to detect module availability
Minor docs fixes
udiskslinuxblock: Reread partition table after mkfs.udf
tests: Add --failfast test runner argument
tests: Run UDF filesystem tests over a partitioned device
tests: Test filesystem creation twice without wiping
udiskslinuxfilesystem: Trigger uevent after Unmount()
udiskslinuxblock: Remove unused udisks_linux_get_parent_for_tracking()
udiskslinuxblock: Add udisks_linux_block_matches_id()
udiskslinuxfilesystem: Use libmount for fstab enumeration
udiskslinuxblock: Use libmount for fstab enumeration
udiskslinuxprovider: Use GUnixMountMonitor for fstab monitoring
lvm2: Use GUnixMountMonitor for fstab monitoring
daemon: Ditch UDisksFstabMonitor completely
tests: Unmount parent block device upon cleanup for UDF
tests: Avoid using IDs in fstab records for partitioned block devices
udisksconfigmanager: Add udisks_config_manager_get_config_dir()
udisksconfigmanager: Make sure the global config dir exists
udiskslinuxdrive: Use the new udisks_config_manager_get_config_dir()
udiskslinuxprovider: Use the new udisks_config_manager_get_config_dir()
lsm: Use the new udisks_config_manager_get_config_dir()
udiskslinuxfilesystem: Refactor mount options computation out
udiskslinuxfilesystem: Use udisks_daemon_util_get_user_info()
udiskslinuxmountoptions: Use udisks_daemon_util_get_user_info()
tests: Make UdisksTestCase.set_udev_property() handle multiple properties
tests: Sleep for a while after installing custom udev rules
udisksdaemon: Minor docs and code style fixes
daemon: Separate the libmount checks for utab functionality
daemon: Require libmount >= 2.18 unconditionally
udiskslinuxblock: Update the Block.Configuration property after making changes
udiskslinuxblockobject: Acquire an exclusive BSD lock to prevent udev probes for BLKRRPART
daemon: Do not use STORAGED_* udev properties
udiskslinuxfilesystem: Fix unitialized variable
udiskslinuxmdraidobject: Fix harmless clang warning
btrfs: Use udisks_linux_block_object_trigger_uevent_sync()
udiskslinuxblock: Update the Configuration property after Format()
udiskslinuxblock: Move setting partition type before triggering uevent
udiskslinuxfilesystem: Use udisks_linux_block_object_trigger_uevent_sync()
daemon: Use udisks_linux_block_object_trigger_uevent_sync()
udiskslinuxpartitiontable: Wipe the newly created partition before waiting for new object
modules: Generate unified GDBus code for the core and all modules
doc: Move generated D-Bus API doc files in doc/xml/
doc: Fix module symbols
doc: Add missing symbols
modules: Add pkg-config files
lsm: Fix Makefile.am
Translation updates
udiskslinuxmountoptions: Implement config file parser
udiskslinuxmountoptions: Provide built-in set of mount options
udiskslinuxmountoptions: Port mount options computation to the new structures
udiskslinuxmountoptions: Exclude allow_{u,g}id_self[] options from _allow[]
udiskslinuxmountoptions: Add support for matching options by block device path
udiskslinuxmountoptions: Add support for config file overrides
udiskslinuxmountoptions: Allow missing [defaults] section
udiskslinuxmountoptions: Implement overrides from udev rules
udiskslinuxmountoptions: Print new mount options if overriden
udiskslinuxmountoptions: Cache the builtin mount options within UDisksDaemon
udiskslinuxmountoptions: Port final mount options computation away from GHashTable
udiskslinuxmountoptions: Allow explicit option=value mount options
udiskslinuxmountoptions: Respect all _allow_uid_self/_allow_gid_self options
udiskslinuxmountoptions: Handle stray comma in mount option value
udiskslinuxmountoptions: Use symbolic $UID and $GID placeholders for ID checks
Add sample mount_options.conf
doc: Document the configurable mount options
tests: Add tests for configurable mount options
udiskslinuxmountoptions: Add few more allowed options for UDF
udiskslinuxmountoptions: Make exfat options compatible with the native kernel driver
udisksstate: Fix a memleak
udiskslinuxblock: Fix leaking GError
daemon: Port away from G_TYPE_INSTANCE_GET_PRIVATE()
udisksdaemon: Fix a small doc issue
modules: Move UDisksModuleObject to the daemon
modules: Introduce UDisksModule
lvm2: Port to UDisksModule
iscsi: Port to UDisksModule
btrfs: Port to UDisksModule
zram: Port to UDisksModule
bcache: Port to UDisksModule
vdo: Port to UDisksModule
lsm: Port to UDisksModule
lsm: Fix UDisksLinuxDriveLSM polling and object ownership
lsm: Propagate errors from lsm calls
lsm: Remove duplicate udisks2_lsm.conf
doc: Fix LSM module docs
modules: Process org.freedesktop.UDisks2.Manager.EnableModules() in main thread
udiskslinuxprovider: Export manager interfaces for new modules
udisksmodulemanager: Emit `modules-activated` signal after new modules have been loaded
udisksmodulemanager: Remove udisks_module_manager_get_modules_available()
udisksmodulemanager: Scan for new modules on subsequent EnableModule() call
udisksmodulemanager: Implement org.freedesktop.UDisks2.Manager.EnableModule()
udisksmodulemanager: Docs fixes
tests: Use the new EnableModule() method call
modules: Fix build with daemon disabled
udiskslinuxprovider: Perform coldplug on 'modules-activated' signal unconditionally
lsm: Add tests based on libstoragemgmt 'sim' plugin
udisksconfigmanager: Always read the config file on getting list of modules
tests: Load only selected modules, avoid lsm
vdo: Fix potential NULL dereference
iscsi: Fix leaking UDisksLinuxISCSISession
vdo: Deprecate the standalone VDO module
udiskslinuxprovider: Add TODO about not sending a 'remove' uevent to block objects
Vojtech Trefny (33):
dbus-tests: Try to read distro version from LSB
Fix converting dbus.UInt values to string with Python 3.8
dbus-tests: Fix decoding journal messages with non-unicode data
Add test for unlocking LUKS2 devices with integrity
Do not try to build VDO module on RHEL 7 on non-x86_64 arches
tests: Skip resize tests for formats without function to get size
Fix spelling of UDisks in README
(Un)mount devices with the user(s) option in fstab as the user
Add support for creating and managing LVM VDO volumes
Add tests for the LVM VDO features
Do not set the ThinPool property for non-thin volumes
Add ResizeLogical and ResizePhysical methods for VDOVolume.
Always run 'tearDownClass' for tests skipped in 'setUpClass'
Remove some obsoleted "skips" from DBus tests
Add support for (un)locking BitLocker devices
Do not try to get metadata size for non-LUKS encrypted devices
Add a function to get statistics for LVM VDO volumes
Use relative logical partition start in partitioning tests
Allow unlocking encrypted devices as read only
udisksctl: Use GDateTime instead of deprecated GTimeVal
udisksthreadjob: Remove deprecated g_thread_supported call
Fallback to safe udev values where possible for non UTF-8 strings
Add support for tagging tests and using tags for running tests
Add ability to read tests to skip from a config file
Add option to automatically run pdb for failed DBus tests
dbus-tests: Add a special tag to run all tests
man: Fix documentation link for libudev
Add a test for the no-discard option for Format
dbus-tests: Add test for the configuration option "track-parents"
Fix "options" option name for crypptab configuration item
Add allowed mount options for btrfs and f2fs
test_btrfs: Add a simple test for mounting btrfs subvolumes
Skip BITLK tests on systems with util-linux older than 2.33
Will Thompson (1):
udisksctl: pretty-print 'ao' properties
Thanks to all our contributors.
Tomas Bzatek
2020-05-26
---------------------------
udisks 2.8.4
---------------------------
The udisks project provides a daemon, tools and libraries to access
and manipulate disks, storage devices and technologies.
Changes since 2.8.3:
Malte Kraus (1):
Use g_shell_quote for inputs to g_shell_parse_argv
Matthew Leeds (1):
udisksclient: Add missing transfer annotations
Tomas Bzatek (19):
udiskslinuxdriveata: Make get_pm_state() public
udiskslinuxfilesystem: Prevent drive waking up on FS size update
udisksmountmonitor: Add locking around the mounts list
Post-release version bump to 2.8.4
tests: Reflect new location of D-Bus service files
integration-test: Do not copy config files when testing system instance
udiskslinuxpartition: Fix potential NULL dereference
Error message prefix tweaks
lvm2: Error message prefix tweaks
bcache: Error message prefix tweaks
zram: Error message prefix tweaks
vdo: Error message prefix tweaks
udisksmountmonitor: Add locking around udisks_mount_monitor_get_mount_for_path()
integration-test: Force re-read partition table on a sr0 scsi_debug device
udisksspawnedjob: Initialize I/O counters to zero
btrfs: Handle NULL filesystem interface
udisksctl: Ignore coverity TAINTED_SCALAR (CWE-20) errors
mdraid: Document the Delete() method
integration-test: Remove attached pktcdvd device
Vojtech Trefny (5):
Fix reading iSCSI initiator name from file in tests with Python 2
spec: Do not hardcode sysconfdir to /etc (#1729430)
Fix cryptsetup calls locking
integration-test: Skip read only mounting test for exFAT
integration_test: Skip multiple mountpoints test with exFAT
Vratislav Podzimek (1):
Leave 8 MiB for cache metadata in the LVM test
Will Thompson (2):
Filesystem.Unmount: don't leak mount_point
Filesystem: ignore fstab entry if another device is mounted there
Thanks to all our contributors.
Tomas Bzatek
2019-07-22
---------------------------
udisks 2.8.3
---------------------------
The udisks project provides a daemon, tools and libraries to access
and manipulate disks, storage devices and technologies.
Changes since 2.8.2:
Debarshi Ray (1):
Install a tmpfiles.d snippet to create /run/media on boot with systemd
Kai Lüke (3):
Filesystem.Unmount waits for mount-points to be updated
Create get_filesystem_size helper function
Filesystem.Resize sets size property
Marius Vollmer (3):
mdraid: Fix order of device names in "add disk" error message
dbus-tests: Survive with more than 10 dm-* devices
manager: Expose supported encryption types and their default
Tomas Bzatek (53):
packaging: Remove obsolete Group tag
udisks_state: Implement synchronous variant of udisks_state_check()
udiskslinuxfilesystem: Explicitly remove the mountpoint after unmount
iscsi: Use proper parser to get and set initiator name
dbus-tests: Do not look for udisks daemon binary if system instance is requested
lvm: Fix leaking error
lvm: Properly free also unused PVs from the list
udisksfstabmonitor: Properly cancel the monitor
udiskslinuxpartitiontable: Fix small memleak
lvm: Add empty GObject constructors and destructors
bcache: Fix possible NULL bcache_object unref
udisksdaemon: Fix leaking object references from the wait func waiting for object disappearance
udiskslinuxblock: Fix leaked object references returned from udisks_daemon_wait_for_object_sync()
iscsi: Fix leaked object references returned from udisks_daemon_wait_for_object_sync()
zram: Adapt to recent udisks_daemon_wait_for_object_to_disappear_sync() reference counting changes
bcache: Adapt to recent udisks_daemon_wait_for_object_to_disappear_sync() reference counting changes
lvm2: Fix object reference leaks related to udisks_daemon_* calls
udiskslinuxmanager: Fix small leaks related to UDisksDaemon calls
udiskslinuxmanager: Fix wrong indentation
udiskslinuxmanagerbtrfs: Use GPtrArray for dynamic lists
bcache: Minor data type fixes
btrfs: Minor data type and GError fixes
udisksclient: Fix a memory leak
Fix a couple of memory leaks
lvm: Fix missing object interface reference
lvm: Fix leaking UDisksLinuxLogicalVolumeObject
udiskslinuxdrive: Fix leaking GKeyFile
udiskslinuxblock: Fix leaking LUKS UUID
udisksdaemonutil: Fix leaking variant
udiskslinuxencrypted: Fix leaking error
udiskslinuxfilesystem: Fix leaking errors
udiskslinuxmdraid: Fix leaking GPtrArray
udiskslinuxpartitiontable: Properly free BDPartSpec structures
udiskslinuxmanager: Get string constants instead of allocated values
udiskslinuxpartitiontable: Get string constants instead of allocated values
udiskslinuxswapspace: Fix leaking errors
udisksdaemon: Fix leaking commandline format strings
udiskslinuxmanager: Fix leaking array shell
udiskslinuxblock: Fix leaking string
udiskslinuxencrypted: Fix some memory leaks
udiskslinuxencrypted: Minor indentation fixes
udiskslinuxencrypted: Fix uninitialized variable
udiskslinuxmdraid: Fix leaking object
udiskslinuxswapspace: Rework how references are held
udiskslinuxblock: Fix leaking stdout and stderr from spawned jobs
zram: Fail if creation of supplemental scripts fail
zram: Fix array handling
udiskslinuxfilesystem: Fix a g_strsplit() leak
zram: Fix one more tiny leak
iscsi: Fix small memory leak
udiskslinuxprovider: Fix thread double free
iscsi: Initialize stack-allocated structs
Vojtech Trefny (11):
tests: Do not rely on default LUKS version being luks1
Add function to get iSCSI initiator name as a byte array
tests: Check that we use default LUKS version from config
Install udisks2.conf config file when running tests from source
tests: Simplify code for copying config files for tests
tests: Delete config files we created for tests
tests: Install UDisks config files for integration tests too
tests: Remove force cleaning using Blivet
tests: Create udisks2 conf directory if it doesn't exist
Fix parsing crypttab with multiple spaces
Skip tests that modify crypttab and fstab in non-testing environments
Thanks to all our contributors.
Tomas Bzatek
2019-06-13
---------------------------
udisks 2.8.2
---------------------------
The udisks project provides a daemon, tools and libraries to access
and manipulate disks, storage devices and technologies.
The 2.8.2 release brings mostly bugfixes without any changes to the public API.
Notable changes include:
* migration from intltool to gettext, udisks no longer depends on gnome-common
* added 'windows_names' as a default mount option for ntfs-3g
* fixed an issue potentially leading to open filedescriptors exhaustion
Changes since 2.8.1:
A-Shahbazi (1):
Add 'windows_names' as a default mount option for ntfs-3g
Iain Lane (1):
integration-test: Sync after creating our fake devices
Malte (1):
Split out get_user_info from get_caller_uid_sync.
Marius Vollmer (2):
lvm2: Always initialize data.new_lv_size in CreateSnapshot
udiskslinuxfilesystem: Trigger uevent after resize
Martin Blanchard (1):
build: Migrate from intltool to gettext
Michael Biebl (1):
Move D-Bus policy file to /usr/share/dbus-1/system.d/
Raine Makelainen (1):
Cleanup some indentation errors from src/Makefile.am
StefanBruens (1):
Accept 2nd partition as IsoHybrid data partition, 1st one may be EFI
Tomas Bzatek (36):
udiskslogging: Fix THREAD_ID field logging
udisksconfigmanager: Use #define for constants
udisksconfigmanager: Make use of g_strstrip()
udisksconfigmanager: Get rid of set-but-unused variables
udisksconfigmanager: Prevent potential memory leak
udisksconfigmanager: Use g_ascii_strcasecmp() for case-insensitive string comparison
udisksconfigmanager: Refactor properties defaults
dbus-tests: Include stdout/stderr in exception message during VDO cleanup
dbus-tests: Process cleanup before tearing down VDO backing device
dbus-tests: @unstable-fail: Print out the exception message
udiskslinuxblockobject: Make filesystem_check() public
udiskslinuxblock: Wait for .Filesystem d-bus interface after Format()
mdraid: Update links to kernel docs
mdraid: Finish pending sync job on finalize()
mdraid: Handle NULL sync_action value
mdraid: Properly finish the RequestSyncAction() job
UDisksThreadedJob: Fix GTask completed handler
udiskslinuxprovider: Properly ref objects the tasks are running on
lsm: Don't unref published interface
lsm: Prevent overwriting already set error
lsm: Properly complete incoming method calls
vdo: Properly finish the job when bd_vdo_start() fails
udiskslinuxswapspace: Run the jobs synchronously
test: Reuse mainloop from _g_assert_signal_received()
udisksthreadedjob: Use GTask constructions to propagate result and error
udisksspawnedjob: Fix a memory leak
udisksthreadedjob: Don't return early on cancellation request
tests: Add warning about using stack variables
udisksthreadedjob: Provide _sync method to run the job
tests: Add tests for udisks_threaded_job_run_sync()
Enhance 'Error opening %s' messages
udiskslinuxblockobject: Add guards around nested UDisksLinuxDevice
Fix leaking UDisksLinuxDevice
udisksctl: Explicitly close stdout once dump command finishes
tests: Sleep for a while after ISO9660 image creation and udev settle
doc: Fix typo in the 'disks_filesystem_complete_resize' symbol
Vojtech Trefny (11):
Post-release version bump to 2.8.2
Mark VDO grow physical test case as unstable
man: Describe command options in the udisksctl man page
test_mdraid: Adjust to new mdadm --detail output
test_zram: Fix how we check zram stats from sysfs
Use G_ADD_PRIVATE instead of deprecated g_type_class_add_private
Fix reading passphrase from key file specified in crypttab
Add test for opening encrypted devices with key files in crypttab
Fix LUKS2 resize password test
tests: Fix typo in LUKS tests
tests: Fix incorrect passphrase error message check
Will Thompson (5):
udisksdaemonutil: fix 'inhbit' typo
udisksobjectinfo: fix "device device" typo in docs
Add g_autoptr() for Client, PartitionTypeInfo, ObjectInfo
Add UDISKS_TYPE_PARTITION_TYPE_INFO macro
block: remove extra whitespace in OpenDevice error message
Thanks to all our contributors.
Tomas Bzatek
2019-03-04
---------------------------
udisks 2.8.1
---------------------------
The udisks project provides a daemon, tools and libraries to access
and manipulate disks, storage devices and technologies.
Changes since 2.8.0:
Adam Williamson (1):
Fix DM_MULTIPATH_DEVICE_PATH in udev rules
John Keeping (1):
configure: remove redundant xsltproc check
Kai Lüke (1):
Fix string format vulnerability
Tomas Bzatek (2):
Post-release version bump to 2.8.1
vdo: Fix expected test error on grow_physical
Vojtech Trefny (4):
Skip VDO tests if vdo tool or kvdo kernel module isn't available
Revert (or remove) changes in the vdo config after tests
Fix expected error message when starting inactive VDO volume
Update the Partitions property on partition "add" event
segfault (1):
Fix backing device not set when unlocking multiple encrypted volume
Thanks to all our contributors.
Vojtech Trefny
2018-09-26
---------------------------
udisks 2.8.0
---------------------------
The udisks project provides a daemon, tools and libraries to access
and manipulate disks, storage devices and technologies.
Changes since 2.7.7:
Harry Mallon (1):
Add Apple APFS fstype
Jan Pokorny (1):
New property for LUKS metadata size (fixed)
Marius Vollmer (1):
core: Add Encrypted.Resize method
Tomas Bzatek (21):
vdo: Introduce the VDO plugin
vdo: Implement the org.freedesktop.UDisks2.Block.VDO.GrowPhysical() method
vdo: Documentation fixes
vdo: Move the Activate() method to the Manager object
vdo: Drop redundant @since annotations from the docs
vdo: Expose job objects for long running operations
vdo: Clarify limitations and API design decisions
vdo: Documentation indentation fixes
dbus-tests: Set proper path to in-tree udisks tools
vdo: Add tests
vdo: Docs annotation fixes
vdo: Implement org.freedesktop.UDisks2.Block.VDO.GetStatistics()
vdo: Fix unchecked struct free
vdo: Clarify sizes applicable to the grow methods
vdo: Rename {Start,Activate}Volume -> {Start,Activate}VolumeByName
vdo: Skip tests when the vdo command is not available
vdo: Properly prefix errors returned by libblockdev calls
vdo: Add tests for org.freedesktop.UDisks2.Block.VDO.GetStatistics()
lsm: Relicense to GPLv2+
vdo: Fix POTFILES
Require libblockdev >= 2.19 for the VDO support
Vojtech Trefny (17):
Wait for LV object to disappear after Deactivate and Delete
Check more properties in LVM tests
Post-release version bump to 2.7.8
udiskstestcase.py: Use 'monotic' from 'time' on python >= 3.3
Prevent running multiple cryptsetup calls on one device
Allow changing label on udf filesystems
Test ZRAM stats based on kernel version, not distribution
Skip drive tests only on CentOS/RHEL 7
Add a helper functions to get distro name and version in tests
Do not check if btrfs module was loaded on newer CentOS/RHEL
Add default encryption "technology" to udisks2.conf
Fix configuration directory when running from source
Add support for creating LUKS 2 encrypted devices
Allow resizing LUKS 2 devices
Add a property with the cleartext device path for unlocked LUKS
integration-test: Wait for the 'mdraid-member' property update
integration-test: Skip MDRAID tests on s390
segfault (1):
Increase timeout for waiting for cleartext object after unlocking
Thanks to all our contributors.
Tomas Bzatek
2018-08-13
---------------------------
udisks 2.7.7
---------------------------
The udisks project provides a daemon, tools and libraries to access
and manipulate disks, storage devices and technologies.
Changes since 2.7.6:
Andrea Azzarone (1):
main.c: Properly remove sigint source
Andreas Müller (1):
data: fix out of tree build
Harry Mallon (1):
Add Apple APFS gpt partition type
Iain Lane (1):
tests: Pass absolute path to targetcli_config.json
Jan Pokorny (1):
New property for LUKS metadata size
Jindřich Makovička (1):
Ignore Nokia 7 Plus virtual CD
Kai Lüke (2):
Register system inhibitor for all jobs
Set Job Progress property for FS check, repair, resize
Piotr Drąg (1):
Update LINGUAS
Vojtech Trefny (25):
integration-test: Wait longer after the scsi debug CD format
Post-release version bump to 2.7.7
Sync the spec file with downstream
Fix creating GVariant byte array in integration tests
Fix directory we use for temporary mounts
Fix how we check return value for call_sync in safe_dbus
lvm2/jobhelpers.c: Fix potential memory leak
udiskslinuxmanager.c: Fix potential memory leak
udiskslinuxpartitiontable.c: Fix uninitialized value
Use g_list_free_full when freeing lists instead of g_list_foreach
udiskslinuxdriveata.c: Fix potential forward NULL
Ignore cast warning for "g_source_set_callback" functions
Add a custom "g_object_ref" that takes two parameters
udiskslinuxblock.c: Fix incompatible pointer type
udiskslinuxdriveobject.c: Fix incompatible pointer type
udiskslinuxdriveata.c: Fix potential forward NULL
udisksctl.c: Fix resource leak
lsm_data.c: Use custom free functions for g_ptr_array_new_full
Check return value when reading sysfs files in get_sysfs_attr
udiskszramutil.c: Check return code of mkstemp
udiskszramutil.c: Use constant for buffer length in set_conf_property
Always fail when libblockdev-part is not available.
Bump required version of libblockdev to 2.18
Return from 'vg_task_func' if 'bd_lvm_vgs' failed
Clear errors from LVM tasks
Vratislav Podzimek (2):
Fix _udisks_state_has_loop_list_visitor()
Revert "New property for LUKS metadata size"
seb128 (1):
integration-test: don't error out on an unknown distro
segfault (1):
Support TCRYPT devices
Thanks to all our contributors.
Vojtech Trefny
2018-07-02
---------------------------
udisks 2.7.6
---------------------------
The udisks project provides a daemon, tools and libraries to access
and manipulate disks, storage devices and technologies.
Changes since 2.7.5:
Andrea Azzarone (8):
Build with libmount >= 2.30
Add UdisksUtabEntry
First implementation of udisksutabmonitor
Export utab entries
Add read-write lock
update documentation
Add tests.
Invoke job_complete in the proper context in order to avoid deadlocks
Marius Vollmer (2):
lvm2: Don't match prefixes in cmp_int_lv_name
core: Add o.fd.U.Filesystem.Size property
Vojtech Trefny (6):
Post-release version bump to 2.7.6
Check for all LUKS devices when looking for CryptoBackingDevice
Run encrypted tests with LUKS2 format too.
Check size of created thinpool in tests
Fix escaping mountpoint for the cleanup service
Ignore errors when saving journal output in tests
Vratislav Podzimek (2):
Only check mount point prefix in the iso9660 tests
Skip PolicyKit integration tests on Fedora 26
Will Thompson (1):
Generate autocleanup functions for interfaces
Thanks to all our contributors.
Vojtech Trefny
2018-02-08
---------------------------
udisks 2.7.5
---------------------------
The udisks project provides a daemon, tools and libraries to access
and manipulate disks, storage devices and technologies.
Changes since 2.7.4:
Marius Vollmer (1):
Add 'no-discard' option to formatting methods
Ondrej Holy (1):
UDisksObjectInfo: Fix size_str memory leaks
Sjoerd Simons (1):
Resolve mountpoint to the real path
Vojtech Trefny (23):
Post-release version bump to 2.7.5
Return error when calling 'volume_group_create' without devices
udiskszramutil.c: Check return value of chmod
tests/helper.c: Ignore NULL pointer dereference
udiskslinuxdrive.c: Use 'g_variant_type_equal' to compare variants
udiskslinuxdrive.c: Fix possible NULL pointer dereference
udiskslinuxdrive.c: Fix resource leak
udiskslinuxdriveata.c: Chec return value of fscanf
udiskslinuxdriveata.c: Fix copy-paste error in apply_configuration_thread_func
udiskslinuxencrypted.c: Fix uninitialized variable
udiskslinuxmdraidobject.c: Fix potential NULL pointer dereference
udisksctl.c: Fix uninitialized variables
Fix checking for distribution and version in integration tests
udisksctl.c: Fix "deadcode" warning
udisksctl.c: Ignore "check return" warning
Add dbus tests into the source archive
Actually check if we created primary partitions in tests
Include exFAT as a possible partition type for ID 0x07
Fix potentian NULL pointer dereference in udisksclient.c
Always try to read configuration from crypttab in handle_unlock
Add test for opening luks device with crypttab entry
integration-test: Do not wait forever in polkit tests
integration-test: Fix checking for mountpoints after removing luks
Vratislav Podzimek (15):
Do not clean all .service files
Make sure the table_type is consistent in handle_create_partition
Display the CI status on the main GH page
Try to wait a bit longer before retrying to remove a partition
Use the same trick when removing partition in both TestCases
Try harder when removing format as cleanup in tests
Do not skip integration tests on CentOS/RHEL
Wait for device to become initialized before probing it
Get rid of an unnecessary 'goto' in find_mount_options_for_fs()
Make sure the same mount option is not specified multiple times
Use different mode/dmode for shared file systems
Add a method for setting udev property for a device in tests
Add an assertion method for checking a objects interfaces
Add tests for mounting iso9660 with its specialties
Do 'udevadm settle' after every test
intrigeri (1):
Add test to check GUID/type after GPT partition flags change.
Thanks to all our contributors.
Vojtech Trefny
2017-12-04
---------------------------
udisks 2.7.4
---------------------------
The udisks project provides a daemon, tools and libraries to access
and manipulate disks, storage devices and technologies.
Changes since 2.7.3:
Iago López Galeiras (1):
Fix grammar
Marius Vollmer (1):
Run cryptsetup before returning from non-blocking Format
Vojtech Trefny (19):
Post-release version bump to 2.7.4
Handle iscsi session invocations in threads
Make iSCSI Session logout wait for DBus objects update
Move label option lookup at the start of handle_format
Fix uninitalized value in "udisks_linux_loop_update"
Add new function to set label on swap devices
Do not check if libblockdev has been build with bcache support
Use new libblockdev functionality to disable checks during init
Bump required version of libblockdev
Ignore timeout in job tests
Fix loop device automounting in GNOME
Fix SetFlags call in partitioning test
Skip btrfs subvolume tests with btrfs-progs 4.13.2
Move some useful mdraid functions to a helper file
Remove leading/trailing white space in 'read_sysfs_attr'
Do not try to create file watchers for RAIDs without redundancy
Wait for size property change in mdraid dbus tests
Try to use libblockdev to get RAID array size
Bump required version of libblockdev
Vratislav Podzimek (7):
Add and use a service for cleaning up mount point directories
Fix how we check the exit status of 'smartctl' in tests
Add a decorator for unstable tests
Mark tests that are known to fail randomly as unstable
Use 'wipefs' for format/FS cleanup in tests
Create a FS on partition before checking its flags with blkid
First verify mount system info before DBus objects' properties
intrigeri (4):
Re-add support the legacy BIOS bootable GPT flag
Fix typos in D-Bus integration tests
Rename test_flags D-Bus integration test to test_dos_flags
Add a test_gpt_flags D-Bus integration test
Thanks to all our contributors.
Vojtech Trefny
2017-11-01
---------------------------
udisks 2.7.3
---------------------------
The udisks project provides a daemon, tools and libraries to access
and manipulate disks, storage devices and technologies.
Changes since 2.7.2:
Kai Lüke (1):
Process partition resize update before return
Ville Skyttä (1):
Own the %{_libexecdir}/udisks2 dir
Vojtech Trefny (21):
Post-release version bump to 2.7.3
Wait for cleartext device object to disappear on Lock()
FS tests: Split label test into two
udisksclient.c: Fix a typo
Add version info to docstrings of the partition Resize function
Add new ResolveDevice function
Fix wrong GSList pointer declaration in "handle_get_block_devices"
Bcache tests: Cleanup when BcacheCreate() fails
Allow using "noload" mount option
Ignore Asus Zendisk virtual CDROM
Ignore ZFS member partitions
Set corrent part type/id and GUID for UDF formatted partitions
Fix "supports_owners" flag for UDF
Use LUKS specific partition ID and GUID
Fix exFAT partition type
Fix bash completion for udisksctl
Add some missing functions to doc/udisks2-sections.txt.in.in
Fix force unmounting
Fix building documentation with new gtk-doc
Add a new OpenDevice function
Make iSCSI Login and Logout wait for DBus objects update
Vratislav Podzimek (4):
Skip bcache tests everywhere
Disable cleaning using blivet for now
Gather records of udev and udisksctl monitors for tests
Start even if a libblockdev plugin fails to load
Thanks to all our contributors.
Vojtech Trefny
2017-08-31
---------------------------
udisks 2.7.2
---------------------------
The udisks project provides a daemon, tools and libraries to access
and manipulate disks, storage devices and technologies.
Changes since 2.7.1:
Jan Pokorny (1):
Added journal dumping into dbus tests
Kai Lüke (4):
Resize method for Partition interface
Add Filesystem Resize, Check and Repair
Query methods for available utility binaries
Include Job Descriptions for FS Check/Repair
Tony Asleson (2):
block & filesystem: Remove duplicate code