Age | Commit message (Collapse) | Author | Files | Lines |
|
When calling udisks_object_manager_client_new_for_bus_sync() in initable_init()
fails, the _finalize() was previously trying to call
g_signal_handlers_disconnect_by_func() and g_object_unref() on NULL objects.
Check this explicitly.
https://bugs.freedesktop.org/show_bug.cgi?id=77134
|
|
Some kernels or file systems (with --enable-fhs-media) don't support ACLs.
If setting ACL fails, fall back to chowning the directory to the target user.
https://bugs.freedesktop.org/show_bug.cgi?id=61162
|
|
Apparently some languages transliterate storage units, so make them
translatable.
https://bugs.freedesktop.org/show_bug.cgi?id=86057
|
|
Add --enable-fhs-media configure option to mount in /media instead of
/run/media, for FHS compliance and backwards compatibility.
Usually /media is not a tmpfs, so make the "mounted-fs" state file persistant
in this case.
https://bugs.freedesktop.org/show_bug.cgi?id=51709
http://bugs.debian.org/680403
https://launchpad.net/bugs/1020759
|
|
Avoid a large number of warnings by including the generated annotation
glossary.
https://bugs.freedesktop.org/show_bug.cgi?id=87878
|
|
gtkdoc-mktmpl has been deprecated for years. As the tmpl files are not used in
this library to document the api, stop using them.
https://bugs.freedesktop.org/show_bug.cgi?id=87877
|
|
This does not work under cgmanager and is too hackish.
This reverts commit 1ddc25d4c980b6bf03013149808dc453c6b59552.
|
|
Running umount of ntfs-3g mounts in a different cpu controller cgroup than udev
causes uninterruptible lockups: https://launchpad.net/bugs/1398859
Avoid those by ensuring that we run in the root cgroup.
|
|
ntfs-3g does not support multiple mounts.
|
|
|
|
|
|
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=64750
|
|
See http://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs
https://bugs.freedesktop.org/show_bug.cgi?id=64750
|
|
This is used by Intel Rapid Start Technology, which is exposed with
3.11 kernels. Under MBR, 0x84 hibernation partition is (re-)used for
the same purpose.
https://bugs.freedesktop.org/show_bug.cgi?id=68909
|
|
Add missing word "required". Update po files accordingly.
https://bugs.freedesktop.org/show_bug.cgi?id=86276
|
|
If we have an available medium but it is not removable, apply the fallback
media icons as well.
This also fixes a clang error as we were testing media_removable twice.
https://bugs.freedesktop.org/show_bug.cgi?id=73930
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=73930
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=73930
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=73930
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=73930
|
|
Invoking "udisksctl complete <line> <number>" with a number larger than the
length of the line to be completed results in a buffer overflow inside
pick_word_at().
https://bugs.freedesktop.org/show_bug.cgi?id=74089
|
|
Fix udisks_mount_compare() to compare mounts in the expected and documented
ascending order.
Adjust FS integration test cases to mount a device on two mountpoints, to
reproduce this bug.
https://bugs.freedesktop.org/show_bug.cgi?id=78649
|
|
If two volumes are mounted at approximately the same time, one of the
mount operations can fail with an error something like:
Error creating directory /run/media: File exists
because of the window between the check of the existence and the creation
of the directory. To fix this, drop the g_file_test() check and instead
ignore EEXIST errors when making these directories.
https://bugs.freedesktop.org/show_bug.cgi?id=83374
|
|
Some customers get upset if there are commands in /bin or /sbin
without a manual page. Since the umount interface expects its
plugins to be in /sbin, add a pro forma man page for umount.udisks2.
https://bugs.freedesktop.org/show_bug.cgi?id=66188
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=82958
|
|
If the drive was set to standby after >= 10 minutes of inactivity,
it would never standby because udisks would check every 10 minutes
to see if it was already in standby, and if not, update the SMART
stats, which would reset the standby timer. This is especially
problematic since many drives enforce a 10 minute minimum standby
timer even if a lower value is specified.
This patch checks the kernel IO stats to see if any other IO has
been done on the drive since the last check, and if not, behaves
as if the drive is already sleeping.
https://bugs.freedesktop.org/show_bug.cgi?id=80170
https://launchpad.net/bugs/1281588
|
|
udiskslinuxfilesystem.c:1294:11: error: implicit declaration of function 'WIFEXITED' [-Werror=implicit-function-declaration]
udiskslinuxfilesystem.c:1294:11: error: implicit declaration of function 'WEXITSTATUS' [-Werror=implicit-function-declaration]
https://bugs.freedesktop.org/show_bug.cgi?id=63777
http://bugs.gentoo.org/462784
|
|
http://en.wikipedia.org/wiki/Microsoft_Reserved_Partition
https://bugs.freedesktop.org/show_bug.cgi?id=56629
|
|
This meant to say that removing the option will *not* be considered an ABI
break.
https://bugs.freedesktop.org/show_bug.cgi?id=67214
|
|
Use polkit_unix_process_new_for_owner() instead. Bump polkit dependency
to >= 102.
|
|
|
|
Bump glib dependency to >= 2.36.
|
|
|
|
|
|
Put the config.{guess,sub}, compile, and similar autotools helper into
build-aux/ for a slightly cleaner build tree.
|
|
- Drop obsolete GNOME_COMMON_INIT, we already set ACLOCAL_AMFLAGS.
- Drop GNOME_MAINTAINER_MODE_DEFINES, we already configure maintainer mode.
- Replace obsolete GNOME_DEBUG_CHECK with AX_CHECK_ENABLE_DEBUG.
- Replace obsolete INCLUDES with AM_CPPFLAGS.
Bump automake dependency to 1.11.
https://bugs.freedesktop.org/show_bug.cgi?id=73321
|
|
cryptsetup enables them by default, but it's certainly not a nice thing to do
in a library or a service. gnome-disk-utility already implements its strength
checks with a much friendlier UX.
https://bugs.freedesktop.org/show_bug.cgi?id=84839
|
|
Thanks to Pali Rohár for pointing out!
|
|
Intel SW RAID is no longer named "Intel Matrix RAID"
and its should be changed to:
"Intel Rapid Storage Technology enterprise" for long version
and
"Intel RSTe" for short version.
https://bugs.freedesktop.org/show_bug.cgi?id=84589
|
|
Recent mkfs.btrfs now requires -f to overwrite an existing file system.
|
|
Use assertIn() instead of assertTrue(... in ...) to get the actual value on
failure.
|
|
In systemd v209, the various libraries were merged into a single
libsystemd library [1].
Add support for building against this new library and fall back to the
old library names if not found.
[1] http://lists.freedesktop.org/archives/systemd-devel/2014-February/017146.html
|
|
Object property updates are inherently asynchronous. Add new assertEventually()
and assertProperty() helpers which retry a few times and sync the client
between iterations. Drop the now unnecessary --no-workarounds option and
sync_workaround(), and various manual settle() calls.
Note that we still keep some direct get_property() comparisons in places where
we don't expect any latency.
|
|
In sync(), also sync the file systems. This mitigates a race condition with
changing labels, which particularly surfaces with the NTFS tests.
|
|
Fix all pyflakes and PEP-8 errors.
|
|
David Zeuthen says:
> 1. Checking if a disk is asleep does not wake up the disk (unless its
> firmware is broken).
> 2. It's not atypical to have disks without any IO for _days_. We still
> want to check SMART status for disks in this case.
This reverts commit 65c901f1ebbb1286c7f533abbd8716b5c7d7294e.
|
|
If the drive was set to standby after >= 10 minutes of inactivity,
it would never standby because udisks would check every 10 minutes
to see if it was already in standby, and if not, update the SMART
stats, which would reset the standby timer. This is especially
problematic since many drives enforce a 10 minute minimum standby
timer even if a lower value is specified.
This patch checks the kernel IO stats to see if any other IO has
been done on the drive since the last check, and if not, behaves
as if the drive is already sleeping.
Co-Authored-By: Martin Pitt <martin.pitt@ubuntu.com>
|
|
libatasmart apparently has a bug where it will wake up a disk from
sleep just trying to open it, so use our own code to check the pm
state to avoid this.
|
|
When logind seat tracking is enabled, the test bed may not have a currently
active seat. Thus allow the filesystem-mount-other-seat action in the
Polkit.test_removable_fs() test as well.
|