[Pkg-utopia-maintainers] Bug#923960: udisks2 frantic security (ata-smart-update, suspend when inactive)
siyia
eutychios23 at gmail.com
Thu Mar 7 16:44:41 GMT 2019
Package: udisks2
Version: 2.8.1-4
Severity: normal
Tags: patch
Dear Maintainer,
Hello, when psensors requests the lib-ata-smart-update action to update for
sudo users, it brings the user a password prompt,same happens for suspend when
inactive.I expected no password prompt for sudo users concerning the above
actions.
To remedy the situation i created 2 .pkla files in
/etc/polkit-1/localauthority/10-vendor.d/ :
[New sudo Permissions for udisks2]
Identity=unix-group:sudo
Action=org.freedesktop.login1.suspend
ResultAny=yes
ResultInactive=yes
ResultActive=yes
[New sudo Permissions for udisks2]
Identity=unix-group:sudo
Action=org.freedesktop.udisks2.ata-smart-update
ResultAny=yes
ResultInactive=yes
ResultActive=yes
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages udisks2 depends on:
ii dbus 1.12.12-1
ii libacl1 2.2.52-5
ii libatasmart4 0.19-5
ii libblockdev-fs2 2.20-6
ii libblockdev-loop2 2.20-6
ii libblockdev-part2 2.20-6
ii libblockdev-swap2 2.20-6
ii libblockdev-utils2 2.20-6
ii libblockdev2 2.20-6
ii libc6 2.28-7
ii libglib2.0-0 2.58.3-1
ii libgudev-1.0-0 232-2
ii libmount1 2.33.1-0.1
ii libpam-systemd 241-1
ii libpolkit-agent-1-0 0.105-25
ii libpolkit-gobject-1-0 0.105-25
ii libsystemd0 241-1
ii libudisks2-0 2.8.1-4
ii parted 3.2-24
ii udev 241-1
Versions of packages udisks2 recommends:
ii dosfstools 4.1-2
ii e2fsprogs 1.44.5-1
ii eject 2.1.5+deb1+cvs20081104-13.2
ii exfat-utils 1.3.0-1
ii libblockdev-crypto2 2.20-6
ii ntfs-3g 1:2017.3.23AR.3-2
ii policykit-1 0.105-25
Versions of packages udisks2 suggests:
ii btrfs-progs 4.20.1-2
pn f2fs-tools <none>
pn libblockdev-mdraid2 <none>
pn mdadm <none>
pn nilfs-tools <none>
pn reiserfsprogs <none>
pn udftools <none>
pn udisks2-bcache <none>
pn udisks2-btrfs <none>
pn udisks2-lvm2 <none>
pn udisks2-vdo <none>
pn udisks2-zram <none>
pn xfsprogs <none>
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list