The officially official Devuan Forum!

You are not logged in.

#1 2019-05-22 18:51:43

inukaze
Member
Registered: 2018-01-28
Posts: 84  

How i can fix ?

Hi there. after the cups-daemon make a file occupying all available disk space. with an unique message :

basically :

W [Day/Month/Year:Hour:Minute:Second -0400] Notifier for subscription 275 (dbus://) went away, retrying!
E [Day/Month/Year:Hour:Minute:Second -0400] File \"/usr/lib/cups/notifier/dbus\" has insecure permissions (0100777/uid=0/gid=0).
D [Day/Month/Year:Hour:Minute:Second -0400] Notifier dbus started - PID = 0

This issue not have any control, if you had 1 TB available, this just let you in 0 Bytes of available space. the important thing is in GNU/Linux distros (In All) if you left without available spaces, a tons of errors and issues can derivate of that.

Actually i had the follow issues :
1 - Lxdm can't start automatically. i must login in a tty and use "sudo service lxdm start"

2 - After i login via lxdm. pulseaudio don't work fine i must use

killall -9 pulseaudio ; start-pulseaudio-x11 ; sleep 2 ; pulseaudio --kill ; jack_control start ; jack_control exit ; pulseaudio --start

for make work again.

3 - When i try to start synaptic, nothing happend, never ask me for the password i must use ALT+F2 and ran the command

gksu synaptic

4 - i can't mount usb flashdrive being user. when i try i just recibe the message

Not authorized to perform operation.

i must open a terminal and use the follow commands for example :

su
mkdir -p /media/usb
mount /dev/sdh1 /media/usb
chmod 777 -R /media/usb
exit

To access to files on the pendrive

5 - A strange thing is the follow if i ran the "groups" command (i try yesterday trying to fix, the usb montable by user)
groups

inukaze disk uucp dialout cdrom floppy sudo audio dip video  netdev sambashare vboxusers vboxsf ftp ubridge 

i notice my user is not anymore on

plugdev storage

the most strange is the "storage" group don't exist

i try to make the follow file
/etc/polkit-1/localauthority/50-local.d/55-storage.pkla

content :

[Storage Permissions]
Identity=unix-group:plugdev
Action=org.freedesktop.udisks.filesystem-mount;org.freedesktop.udisks.drive-eject;org.freedesktop.udisks.drive-detach;org.freedesktop.udisks.luks-unlock;org.freedesktop.udisks.inhibit-polling;org.freedesktop.udisks.drive-set-spindown
ResultAny=yes
ResultActive=yes
ResultInactive=no

and well don't work.

6 - VirtualBox : Right now when i try to run any virtualmachine i see the follow messages

Failed to open a session for the virtual machine Linux.
The virtual machine 'Linux' has terminated unexpectedly during startup with exit code 1 (0x1).

Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
MachineWrap
Interface:
IMachine {5047460a-265d-4538-b23e-ddba5fb84976}

7 - Files change permissons when i restart the machine for example
/var/log/cups/error_log, change to chmod 777, after i set manually

su -c "chmod 000755 -R /usr/lib/cups/notifier" root

/usr/lib/dbus-1.0/dbus-daemon-launch-helper, change to another permissions i must set after login

su -c "chmod u+s /usr/lib/dbus-1.0/dbus-daemon-launch-helper" root

Well that is the problems i notice after the error file let my system in 0 Bytes of available space.

Offline

#2 2019-05-22 21:43:40

Dutch_Master
Member
Registered: 2018-05-31
Posts: 105  

Re: How i can fix ?

I'd suggest to re-install Devuan with separate partitions for /etc, /var, /usr and /home. Preferably, put /home on a separate disk if you can. This prevents issues like you described where one (rogue) process fills the entire disk and your system is unworkable.

Furthermore, I'd suggest to use the task-mate-desktop (or if you must, use task-lxdm-desktop) as a package after installing a basic system. This task will take care of all requirements to get to a working Mate (or LXDE) desktop.

Finally, I'd suggest to obtain a bootable copy of the SysrescueCD, which enables you to repair Linux systems that have been broken by user-(in)action.

Offline

#3 2019-05-22 22:14:22

inukaze
Member
Registered: 2018-01-28
Posts: 84  

Re: How i can fix ?

I don't have space to re-partitioning again, because that can damage my anothers distros like : Slackware64 14.2, Slackware 14.2, GoboLinux, ArtixLinux, VoidLinux, Gentoo, etc . . .

the package is "task-lxde-desktop" and not thanks becuase i don't use that desktop environtment, i am user of Xfce, the unique thing i use of lxde, is LXDM, because some years ago, the package "MDM" (Fork of GDM2) is not supported anymore, and that are my favorite Display Manager.

I had use SysrescueCD & RescaTux, but not work at all, i had the problems still.

The another thing, one of the best thing of GNU/Linux system, you can repair, if you know what need to do. and not apply the favorite method of windows users, of format and/or reinstall entire operating system. because don't try to understand the problem, and find the way to solve manually.

Offline

#4 2019-05-22 23:30:19

fsmithred
Administrator
Registered: 2016-11-25
Posts: 1,289  

Re: How i can fix ?

I have xfce working with lxdm in refracta9. You're probably missing some polkit package(s). Run the following command and compare the output. (Note that there are duplicates in the list.)

user@refracta:~$ dpkg -l | egrep "consolekit|elogind|policykit|polkit|libpam"
ii  elogind                              234.4-2                            amd64        user, seat and session management daemon
ii  libelogind0:amd64                    234.4-2                            amd64        user, seat and session management library
ii  libpam-elogind:amd64                 234.4-2                            amd64        elogind PAM module
ii  libpam-modules:amd64                 1.1.8-3.6                          amd64        Pluggable Authentication Modules for PAM
ii  libpam-modules-bin                   1.1.8-3.6                          amd64        Pluggable Authentication Modules for PAM - helper binaries
ii  libpam-runtime                       1.1.8-3.6                          all          Runtime support for the PAM library
ii  libpam0g:amd64                       1.1.8-3.6                          amd64        Pluggable Authentication Modules library
ii  libpolkit-agent-1-0:amd64            0.105-25+devuan0~bpo2+1            amd64        PolicyKit Authentication Agent API
ii  libpolkit-backend-1-0                0.105-25+devuan0~bpo2+1            all          PolicyKit Authorization API
ii  libpolkit-backend-elogind-1-0:amd64  0.105-25+devuan0~bpo2+1            amd64        PolicyKit backend API
ii  libpolkit-gobject-1-0                0.105-25+devuan0~bpo2+1            all          PolicyKit Authorization API
ii  libpolkit-gobject-elogind-1-0:amd64  0.105-25+devuan0~bpo2+1            amd64        PolicyKit Authorization API
ii  policykit-1                          0.105-25+devuan0~bpo2+1            amd64        framework for managing administrative policies and privileges
ii  policykit-1-gnome                    0.105-6                            amd64        authentication agent for PolicyKit
user@refracta:~$ 

Offline

#5 2019-05-23 00:11:24

inukaze
Member
Registered: 2018-01-28
Posts: 84  

Re: How i can fix ?

Hi there again

1 - Lxdm can't start automatically. i must login in a tty and use "sudo service lxdm start"
2 - After i login via lxdm. pulseaudio don't work fine i must use
3 - When i try to start synaptic, nothing happend, never ask me for the password i must use ALT+F2 and ran the command


I fix the lxdm autostart with the follow commands like root :

 apt-get install --reinstall lxpolkit policykit-1 libpolkit-qt-1-1 gir1.2-polkit-1.0 libpolkit-qt5-1-1 policykit-1-gnome libpolkit-qt-1-dev libpolkit-qt5-1-dev libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0 libpolkit-gobject-1-dev libpolkit-backend-1-0-consolekit libpolkit-gobject-1-0-consolekit libpolkit-gobject-consolekit-1-0 libpolkit-backend-consolekit-1-0 libpolkit-backend-consolekit-1-dev libpolkit-gobject-consolekit-1-dev
 
update-rc.d -f lxdm remove
update-rc.d lxdm defaults
reboot # Wait the restart

update-rc.d -f lxdm remove
rc-update add lxdm

and now lxdm works i need, and that solve pulseaudio too big_smile

Points : 1,2,3 SOLVED

Last edited by inukaze (2019-05-23 03:47:04)

Offline

#6 2019-05-23 00:12:59

inukaze
Member
Registered: 2018-01-28
Posts: 84  

Re: How i can fix ?

fsmithred wrote:

I have xfce working with lxdm in refracta9. You're probably missing some polkit package(s). Run the following command and compare the output. (Note that there are duplicates in the list.)

user@refracta:~$ dpkg -l | egrep "consolekit|elogind|policykit|polkit|libpam"
ii  elogind                              234.4-2                            amd64        user, seat and session management daemon
ii  libelogind0:amd64                    234.4-2                            amd64        user, seat and session management library
ii  libpam-elogind:amd64                 234.4-2                            amd64        elogind PAM module
ii  libpam-modules:amd64                 1.1.8-3.6                          amd64        Pluggable Authentication Modules for PAM
ii  libpam-modules-bin                   1.1.8-3.6                          amd64        Pluggable Authentication Modules for PAM - helper binaries
ii  libpam-runtime                       1.1.8-3.6                          all          Runtime support for the PAM library
ii  libpam0g:amd64                       1.1.8-3.6                          amd64        Pluggable Authentication Modules library
ii  libpolkit-agent-1-0:amd64            0.105-25+devuan0~bpo2+1            amd64        PolicyKit Authentication Agent API
ii  libpolkit-backend-1-0                0.105-25+devuan0~bpo2+1            all          PolicyKit Authorization API
ii  libpolkit-backend-elogind-1-0:amd64  0.105-25+devuan0~bpo2+1            amd64        PolicyKit backend API
ii  libpolkit-gobject-1-0                0.105-25+devuan0~bpo2+1            all          PolicyKit Authorization API
ii  libpolkit-gobject-elogind-1-0:amd64  0.105-25+devuan0~bpo2+1            amd64        PolicyKit Authorization API
ii  policykit-1                          0.105-25+devuan0~bpo2+1            amd64        framework for managing administrative policies and privileges
ii  policykit-1-gnome                    0.105-6                            amd64        authentication agent for PolicyKit
user@refracta:~$ 
dpkg -l | egrep "consolekit|elogind|policykit|polkit|libpam"
ii  consolekit                                                       0.4.6-6                                      amd64        framework for defining and tracking users, sessions and seats
ii  elogind                                                          234.4-2                                      amd64        user, seat and session management daemon
ii  gir1.2-polkit-1.0                                                0.105-25+devuan0~bpo2+1                      amd64        GObject introspection data for PolicyKit
ii  libelogind0:amd64                                                234.4-2                                      amd64        user, seat and session management library
ii  libpam-cap:amd64                                                 1:2.25-1                                     amd64        POSIX 1003.1e capabilities (PAM module)
ri  libpam-cgfs                                                      2.0.7-1+deb9u1                               amd64        PAM module for managing cgroups for LXC
ii  libpam-elogind:amd64                                             234.4-2                                      amd64        elogind PAM module
ii  libpam-gnome-keyring:amd64                                       3.20.0-3                                     amd64        PAM module to unlock the GNOME keyring upon login
ii  libpam-modules:amd64                                             1.1.8-3.6                                    amd64        Pluggable Authentication Modules for PAM
ii  libpam-modules-bin                                               1.1.8-3.6                                    amd64        Pluggable Authentication Modules for PAM - helper binaries
ii  libpam-mount                                                     2.16-2                                       amd64        PAM module that can mount volumes for a user session
ii  libpam-runtime                                                   1.1.8-3.6                                    all          Runtime support for the PAM library
rc  libpam-smbpass:amd64                                             2:4.2.14+dfsg-0+deb8u11                      amd64        pluggable authentication module for Samba
ii  libpam0g:amd64                                                   1.1.8-3.6                                    amd64        Pluggable Authentication Modules library
ii  libpam0g:i386                                                    1.1.8-3.6                                    i386         Pluggable Authentication Modules library
ii  libpam0g-dev:amd64                                               1.1.8-3.6                                    amd64        Development files for PAM
ii  libpolkit-agent-1-0:amd64                                        0.105-25+devuan0~bpo2+1                      amd64        PolicyKit Authentication Agent API
ii  libpolkit-backend-1-0                                            0.105-25+devuan0~bpo2+1                      all          PolicyKit Authorization API
ii  libpolkit-backend-1-0-consolekit                                 0.105-25+devuan0~bpo2+1                      all          PolicyKit Authorization API
ii  libpolkit-backend-consolekit-1-0:amd64                           0.105-25+devuan0~bpo2+1                      amd64        PolicyKit backend API
ii  libpolkit-backend-consolekit-1-dev                               0.105-25+devuan0~bpo2+1                      amd64        PolicyKit backend API - development files
ii  libpolkit-gobject-1-0                                            0.105-25+devuan0~bpo2+1                      all          PolicyKit Authorization API
ii  libpolkit-gobject-1-0-consolekit                                 0.105-25+devuan0~bpo2+1                      all          PolicyKit Authorization API
ii  libpolkit-gobject-1-dev                                          0.105-25+devuan0~bpo2+1                      all          PolicyKit Authorization API
ii  libpolkit-gobject-consolekit-1-0:amd64                           0.105-25+devuan0~bpo2+1                      amd64        PolicyKit Authorization API
ii  libpolkit-gobject-consolekit-1-dev                               0.105-25+devuan0~bpo2+1                      amd64        PolicyKit Authorization API - development files
ii  libpolkit-qt-1-1:amd64                                           0.112.0-5                                    amd64        PolicyKit-qt-1 library
ii  libpolkit-qt-1-dev:amd64                                         0.112.0-5                                    amd64        PolicyKit-qt-1 development files
ii  libpolkit-qt5-1-1:amd64                                          0.112.0-5                                    amd64        PolicyKit-qt5-1 library
ii  libpolkit-qt5-1-dev:amd64                                        0.112.0-5                                    amd64        PolicyKit-qt5-1 development files
ii  lxpolkit                                                         0.5.3-2                                      amd64        LXDE PolicyKit authentication agent
ii  policykit-1                                                      0.105-25+devuan0~bpo2+1                      amd64        framework for managing administrative policies and privileges
ii  policykit-1-gnome                                                0.105-6                                      amd64        authentication agent for PolicyKit

Offline

#7 2019-05-23 03:59:29

yeti
Member
Registered: 2017-02-23
Posts: 156  

Re: How i can fix ?

Dutch_Master wrote:

I'd suggest to re-install Devuan with separate partitions for /etc, /var, /usr and /home.

/etc?


"I toggle, therefor I am." — Clock Bit.
"There is no PLANET-B!" — ???
"Vrijdag voor VT100!" — Yeti.
"Stop slavery! Free all mitochondria!" — Yeti.

Offline

#8 2019-05-23 04:16:18

golinux
Administrator
Registered: 2016-11-25
Posts: 1,768  

Re: How i can fix ?

yeti wrote:
Dutch_Master wrote:

I'd suggest to re-install Devuan with separate partitions for /etc, /var, /usr and /home.

/etc?

Maybe that would work on his Funtoo . . .  wink

Offline

#9 2019-05-23 04:21:45

yeti
Member
Registered: 2017-02-23
Posts: 156  

Re: How i can fix ?

golinux wrote:
yeti wrote:
Dutch_Master wrote:

I'd suggest to re-install Devuan with separate partitions for /etc, /var, /usr and /home.

/etc?

Maybe that would work on his Funtoo . . .  wink

Fun for the whole family!
\o/


"I toggle, therefor I am." — Clock Bit.
"There is no PLANET-B!" — ???
"Vrijdag voor VT100!" — Yeti.
"Stop slavery! Free all mitochondria!" — Yeti.

Offline

#10 2019-05-23 04:22:58

Dutch_Master
Member
Registered: 2018-05-31
Posts: 105  

Re: How i can fix ?

Yes: /etc may be used for storing system and/or config files, but there's nothing preventing a rogue process to fill it with output, unless you have implemented some very strict SELinux policy rules.

Offline

#11 2019-05-23 04:48:07

golinux
Administrator
Registered: 2016-11-25
Posts: 1,768  

Re: How i can fix ?

Getting OT but can't remember ever seeing much of a discussion in this camp about SELinux.

Offline

#12 2019-05-23 09:52:11

fsmithred
Administrator
Registered: 2016-11-25
Posts: 1,289  

Re: How i can fix ?

I think you can remove consolekit and lxpolkit and install libpolkit-backend-elogind-1-0 and libpolkit-gobject-elogind-1-0 (to replace the consolekit versions of the same libraries.)

Offline

#13 2019-05-24 02:10:11

inukaze
Member
Registered: 2018-01-28
Posts: 84  

Re: How i can fix ?

4 - i can't mount usb flashdrive being user. when i try i just recibe the message

The right way to fix it is with this commands :

mkdir -p "/etc/polkit-1/localauthority/50-local.d/"
echo '[Allow normal users to access removable media]
Identity=unix-group:plugdev
Action=org.freedesktop.udisks2.filesystem-mount;org.freedesktop.udisks2.power-off-drive;org.freedesktop.udisks2.encrypted-unlock
ResultAny=yes
ResultActive=yes
ResultInactive=yes' | sudo tee /etc/polkit-1/localauthority/50-local.d/udisks.pkla

Thanks Hakweye / Cho Ronin / clint.barton


Forgot this workaround, because can mount usb, but can't expulse it :

Not authorized to perform operation.

Points 4 & 5 Solution :

gksu medit /usr/share/polkit-1/actions/org.freedesktop.udisks2.policy & 2>/dev/null
  <action id="org.freedesktop.udisks2.filesystem-mount">
    <description>Mount a filesystem</description>
    <description xml:lang="ca">Munta un sistema de fitxers</description>
    <description xml:lang="cs">Připojit souborový systém</description>
    <description xml:lang="da">Monter et filsystem</description>
    <description xml:lang="de">Ein Dateisystem einhängen</description>
    <description xml:lang="el">Προσάρτηση συστήματος αρχείων</description>
    <description xml:lang="en_GB">Mount a filesystem</description>
    <description xml:lang="es">Montar un sistema de archivos</description>
    <description xml:lang="eu">Muntatu fitxategi-sistema bat</description>
    <description xml:lang="fi">Liitä tiedostojärjestelmä</description>
    <description xml:lang="gl">Modificar un sistema de ficheiros</description>
    <description xml:lang="hr">Montiraj datotečni sustav</description>
    <description xml:lang="hu">Fájlrendszer csatolása</description>
    <description xml:lang="ia">Montar un systema de files</description>
    <description xml:lang="id">Kaitkan suatu sistem berkas</description>
    <description xml:lang="it">Monta un file system</description>
    <description xml:lang="ja">ファイルシステムをマウントします。</description>
    <description xml:lang="kk">Файлдық жүйені тіркеу</description>
    <description xml:lang="ko">파일 시스템 마운트</description>
    <description xml:lang="lt">Prijungti failų sistemą</description>
    <description xml:lang="lv">Montēt datņu sistēmu</description>
    <description xml:lang="nl">Koppel een bestandssysteem aan</description>
    <description xml:lang="oc">Montar un sistèma de fichièrs</description>
    <description xml:lang="pa">ਫਾਇਲ ਸਿਸਟਮ ਮਾਊਂਟ ਕਰੋ</description>
    <description xml:lang="pl">Zamontowanie systemu plików</description>
    <description xml:lang="pt_BR">Montar um sistema de arquivos</description>
    <description xml:lang="ru">Монтировать файловую систему</description>
    <description xml:lang="sk">Pripojiť súborový systém</description>
    <description xml:lang="sl">Priklopi datotečni sistem</description>
    <description xml:lang="sr">Прикачите систем датотека</description>
    <description xml:lang="sv">Montera ett filsystem</description>
    <description xml:lang="tr">Bir dosya sistemi bağla</description>
    <description xml:lang="uk">Змонтувати файлову систему</description>
    <description xml:lang="zh_CN">挂载文件系统</description>
    <description xml:lang="zh_TW">掛載檔案系統</description>
    <message>Authentication is required to mount the filesystem</message>
    <message xml:lang="ca">Es requereix autenticació per muntar un sistema de fitxers</message>
    <message xml:lang="cs">Pro připojení souborového systému je vyžadována autentizace</message>
    <message xml:lang="da">Godkendelse er krævet for at montere filsystemet</message>
    <message xml:lang="de">Legitimation ist zum Einhängen eines Dateisystems erforderlich</message>
    <message xml:lang="el">Απαιτείται πιστοποίηση για προσάρτηση συστήματος αρχείων</message>
    <message xml:lang="en_GB">Authentication is required to mount the filesystem</message>
    <message xml:lang="es">Se requiere autenticación para montar el sistema de archivos</message>
    <message xml:lang="fi">Tunnistautuminen vaaditaan tiedostojärjestelmän liittämistä varten</message>
    <message xml:lang="gl">Debe autenticarse para montar o sistema de ficheiros</message>
    <message xml:lang="hr">Potrebna je provjera za montiranje datotečnog sustava</message>
    <message xml:lang="hu">Hitelesítés szükséges a fájlrendszer csatolásához</message>
    <message xml:lang="ia">Authentication es necessari pro montar le systema de files</message>
    <message xml:lang="id">Otentikasi diperlukan untuk mengait sistem berkas</message>
    <message xml:lang="it">È richiesto autenticarsi per montare il file system</message>
    <message xml:lang="ja">ファイルシステムをマウントするには、認証が必要です。</message>
    <message xml:lang="kk">Файлдық жүйені тіркеу үшін аутентификация керек</message>
    <message xml:lang="ko">파일 시스템을 마운트하려면 인증이 필요합니다</message>
    <message xml:lang="lt">Failų sistemai prijungti reikia patvirtinti tapatybę</message>
    <message xml:lang="lv">Vajag autentificēties, lai montētu datņu sistēmas</message>
    <message xml:lang="nl">Authenticatie is vereist om het bestandssysteem aan te koppelen</message>
    <message xml:lang="oc">L'autentificacion es requesida per montar lo sistèma de fichièrs</message>
    <message xml:lang="pa">ਫਾਇਲ ਸਿਸਟਮ ਮਾਊਂਟ ਕਰਨ ਲਈ ਪਰਮਾਣਕਿਤਾ ਦੀ ਲੋੜ ਹੈ</message>
    <message xml:lang="pl">Wymagane jest uwierzytelnienie, aby zamontować system plików</message>
    <message xml:lang="pt_BR">Autenticação é necessária para montar um sistema de arquivos</message>
    <message xml:lang="ru">Для монтирования файловой системы требуется подтверждение подлинности пользователя</message>
    <message xml:lang="sk">Pripojenie súborového systému vyžaduje overenie totožnosti</message>
    <message xml:lang="sl">Za priklop datotečnega sistema je zahtevana overitev.</message>
    <message xml:lang="sr">Потребно је потврђивање идентитета за прикачињање система датотека</message>
    <message xml:lang="sv">Autentisering krävs för att montera filsystemet</message>
    <message xml:lang="tr">Dosya sistemini bağlamak için kimlik doğrulaması gerekli</message>
    <message xml:lang="uk">Щоб змонтувати файлову систему, слід пройти розпізнавання</message>
    <message xml:lang="zh_CN">挂载文件系统需要身份验证</message>
    <message xml:lang="zh_TW">要掛載檔案系統需要先核對身分</message>
    <defaults>
      <allow_any>yes</allow_any>
      <allow_inactive>yes</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

before of this edition :

    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>

Last edited by inukaze (2019-06-04 05:25:05)

Offline

#14 2019-05-27 03:58:35

clint.barton
Member
From: /home
Registered: 2017-10-05
Posts: 8  

Re: How i can fix ?

inukaze wrote:

4 - i can't mount usb flashdrive being user. when i try i just recibe the message...

I had the same problem with usb devices. Thunar showed me the same message, I solved it by creating the file udisks.pkla within the /etc/polkit-1/localauthority/50-local.d/ directory.

-----------------------------------------------------------------------------------------------------------------------------------
/etc/polkit-1/localauthority/50-local.d/udisks.pkla
-----------------------------------------------------------------------------------------------------------------------------------
[Allow normal users to access removable media]
Identity=unix-group:plugdev
Action=org.freedesktop.udisks2.filesystem-mount;org.freedesktop.udisks2.power-off-drive;org.freedesktop.udisks2.encrypted-unlock
ResultAny=yes
ResultActive=yes
ResultInactive=yes
-----------------------------------------------------------------------------------------------------------------------------------

org.freedesktop.udisks2.encrypted-unlock is only necessary for encrypted devices. As you can see, you should use udisks2, not udisks

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Sources:

1. Allowing normal user to mount and eject devices
2. Thunar is unable to mount/unmount partitions correctly

Last edited by clint.barton (2019-05-27 04:03:08)


JABBER/XMPP: clint@suchat.org / clint.barton@suchat.org  Diaspora*: barton@pod.orkz.net

Offline

#15 2019-06-04 05:20:03

inukaze
Member
Registered: 2018-01-28
Posts: 84  

Re: How i can fix ?

Thanks the :

mkdir -p "/etc/polkit-1/localauthority/50-local.d/"
echo '[Allow normal users to access removable media]
Identity=unix-group:plugdev
Action=org.freedesktop.udisks2.filesystem-mount;org.freedesktop.udisks2.power-off-drive;org.freedesktop.udisks2.encrypted-unlock
ResultAny=yes
ResultActive=yes
ResultInactive=yes' | sudo tee /etc/polkit-1/localauthority/50-local.d/udisks.pkla

Yes you are are right, works better my before workaround, my before work around can mount pendrives, but can't expulse it.

Offline

#16 2019-06-21 01:00:37

inukaze
Member
Registered: 2018-01-28
Posts: 84  

Re: How i can fix ?

clint.barton wrote:

I had the same problem with usb devices. Thunar showed me the same message, I solved it by creating the file udisks.pkla within the /etc/polkit-1/localauthority/50-local.d/ directory.

-----------------------------------------------------------------------------------------------------------------------------------
/etc/polkit-1/localauthority/50-local.d/udisks.pkla
-----------------------------------------------------------------------------------------------------------------------------------
[Allow normal users to access removable media]
Identity=unix-group:plugdev
Action=org.freedesktop.udisks2.filesystem-mount;org.freedesktop.udisks2.power-off-drive;org.freedesktop.udisks2.encrypted-unlock
ResultAny=yes
ResultActive=yes
ResultInactive=yes
-----------------------------------------------------------------------------------------------------------------------------------

Hi there again @clint.barton i need to know if you had more configurations for polkit, because right now, devuan don't let me change the network configuration

nmappletnopolkit.png

This is very senseless, ¿Why the distro don't had any bakup of the permissions structure for fix problems like this?. should be better for fix the default permissions on the base of distro. and any program the user install.

The error message says something "no polkit authorization for perform this action"

Last edited by inukaze (2019-06-21 01:01:29)

Offline

Board footer