LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-19-2020, 02:12 PM   #1
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Starting my PC: When Plasma is up I am to enter root password for mounting a partition


This is on openSUSE tumbleweed but with about 6 other distros all over the machine. The actually runnung tumbleweed is on /dev/sdc2 and /home on /dev/sdc6. A popup pops up and says that the partition to be mounted is /dev/sdb8 which is a recently created logical partition for testing GhostBSD (which didn't work due to its installer). /dev/sdb8 has absolutely no relevance here. When I break off mounting /dev/sdb8 nothing happens or is broken.

How can I find out what is causing this? It says on the popup "polkit.subject-pid: 2366" and polkit.caller-pid: 1983". "px ax" yields
Code:
1983 ?        Ssl    0:01 /usr/lib/udisks2/udisksd
2366 ?        Sl     0:01 kded5
How can I get rid of this?
 
Old 05-19-2020, 02:29 PM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Perhaps, run journalctl and search for polkit?
 
Old 05-20-2020, 08:34 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Ah, you were right. I will post an excerpt below:

Code:
Mai 20 15:27:16 PC polkit-kde-authentication-agent-1[2325]: New PolkitAgentListener  0x557e61571200
Mai 20 15:27:16 PC polkit-kde-authentication-agent-1[2325]: Adding new listener  PolkitQt1::Agent::Listener(0x557e61584bc0) for  0x557e61571200
Mai 20 15:27:16 PC polkit-kde-authentication-agent-1[2325]: Listener online
Mai 20 15:27:16 PC polkit-kde-authentication-agent-1[2325]: Authentication agent result: true
Mai 20 15:27:18 PC polkit-kde-authentication-agent-1[2325]: Listener adapter polkit_qt_listener_initiate_authentication
Mai 20 15:27:18 PC polkit-kde-authentication-agent-1[2325]: GSimpleAsyncResult: 0x557e6159c9e0
Mai 20 15:27:18 PC polkit-kde-authentication-agent-1[2325]: polkit_qt_listener_initiate_authentication callback for  0x557e61571200
Mai 20 15:27:18 PC polkit-kde-authentication-agent-1[2325]: Initiating authentication
Mai 20 15:27:18 PC polkit-kde-authentication-agent-1[2325]: Message of action:  "Legitimierung ist zum Einhängen von SanDisk SDSSDH3500G (/dev/sdb8) notwendig"
Mai 20 15:27:18 PC polkit-kde-authentication-agent-1[2325]: Action description has been found
Mai 20 15:27:18 PC polkit-kde-authentication-agent-1[2325]: WinId of the dialog is  35651590 35651590
Mai 20 15:27:18 PC polkit-kde-authentication-agent-1[2325]: WinId of the shown dialog is  35651590 35651590
Mai 20 15:27:18 PC polkit-kde-authentication-agent-1[2325]: Trying again
Mai 20 15:27:18 PC polkit-kde-authentication-agent-1[2325]: Listener adapter polkit_qt_listener_initiate_authentication
Mai 20 15:27:18 PC polkit-kde-authentication-agent-1[2325]: GSimpleAsyncResult: 0x557e618e5650
Mai 20 15:27:18 PC polkit-kde-authentication-agent-1[2325]: polkit_qt_listener_initiate_authentication callback for  0x557e61571200
Mai 20 15:27:18 PC polkit-kde-authentication-agent-1[2325]: Initiating authentication
...

Mai 20 15:27:18 PC polkit-kde-authentication-agent-1[2325]: polkit_qt_listener_initiate_authentication_finish callback for  0x557e61571200
Mai 20 15:27:18 PC polkit-kde-authentication-agent-1[2325]: Another client is already authenticating, please try again later.
Mai 20 15:27:18 PC polkit-agent-helper-1[2658]: pam_kwallet5(polkit-1:auth): (null): pam_sm_authenticate
Mai 20 15:27:18 PC polkit-agent-helper-1[2658]: pam_kwallet5(polkit-1:auth): pam_kwallet5: Couldn't get password (it is empty)
Mai 20 15:27:18 PC polkit-kde-authentication-agent-1[2325]: REQUEST
Mai 20 15:27:18 PC polkit-kde-authentication-agent-1[2325]: Request:  "Password: "
Mai 20 15:27:18 PC polkit-kde-authentication-agent-1[2325]: "Password: "
Mai 20 15:27:18 PC polkit-kde-authentication-agent-1[2325]: Listener adapter polkit_qt_listener_initiate_authentication
Mai 20 15:27:18 PC polkit-kde-authentication-agent-1[2325]: GSimpleAsyncResult: 0x7fc248009d60
Mai 20 15:27:18 PC polkit-kde-authentication-agent-1[2325]: polkit_qt_listener_initiate_authentication callback for  0x557e61571200
Mai 20 15:27:18 PC polkit-kde-authentication-agent-1[2325]: Initiating authentication
...
I don't understand what is happening. Can you make something of that? What should I do to stop that?

Last edited by JZL240I-U; 05-20-2020 at 11:12 AM.
 
Old 05-20-2020, 09:06 AM   #4
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Hmm, perhaps it thinks of /dev/sdb8 as a removable device and tries to auto-mount it?
 
Old 05-20-2020, 11:16 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Hmm, and why not sdb1-sdb7 nor sdb9-sdb15? Not to mention the rest of the partitions on the four other disks... No, really, how to switch that off?
 
Old 06-13-2020, 07:22 AM   #6
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
I found a workaround but no solution. I right-clicked on removable media(?, that symbol with which on can eject and mount external devices / device monitoring, sorry I have to translate that from German). Got two lines:

First one like "attend to portable media" or so. In the popup I checked and /dev/sda8 was not activated. So I unchecked "Automatically mount all removable media at login". That leaves "Automatically mount all removable media when attached" active.

Second line like "manage device monitoring program" I activated "all devices"; "Show popup when new device is attache" stayed active.

Well, now the stupid popup doesn't show anymore. But it seems that the system rates /dev/sda8 as removable device: where the {censored} is the information stored that makes it think that? Any config - rc - whatever-file known which might be the culprit?

Last edited by JZL240I-U; 06-13-2020 at 07:27 AM.
 
Old 06-14-2020, 07:22 AM   #7
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Well, at least, judging from the udisks(8) manpage, there's a way to override udisks' notion of automountable devices by setting the UDISKS_AUTO property in udev.
 
Old 06-15-2020, 04:16 AM   #8
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Arrrgh, I hate that. From the man page you suggested:

Quote:
DRIVE CONFIGURATION
At start-up and when a drive is connected, udisksd(8) will apply configuration stored in the file /etc/udisks2/IDENTIFIER.conf ...
...only that there is no IDENTIFIER.conf in my system. SUSE seems to do it somehow differently. I really hate these things. But thanks anyhow for your help.

But:

Code:
me@PC:~> udisksctl info -b /dev/sdb8
/org/freedesktop/UDisks2/block_devices/sdb8:
  org.freedesktop.UDisks2.Block:
    Configuration:              []
    CryptoBackingDevice:        '/'
    Device:                     /dev/sdb8
    DeviceNumber:               2072
    Drive:                      '/org/freedesktop/UDisks2/drives/SanDisk_SDSSDH3500G_180293805989'
    HintAuto:                   false
...
So the reason for this behavior must lie elsewhere.

*sigh*

Last edited by JZL240I-U; 06-15-2020 at 04:17 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] "Give root password for maintenance or press CTRL+D to continue" problem enter root password ag33k Slackware - ARM 9 01-12-2017 04:23 PM
Focus by default on password box in plasma-nm's "enter PPTP password" dialog window tomac.pl Slackware 3 03-05-2016 03:52 PM
[SOLVED] Starting File System .. Starting File System .. Starting File System .. Starting File rmknox Linux - Newbie 3 08-15-2010 11:30 PM
Unable to enter password in terminal to enter as root.. ANISHKUMAR.R Linux - Newbie 5 08-07-2010 07:46 AM
"Disk boot failure. Enter system disk and press enter" Fear58 Linux - Hardware 3 06-25-2004 05:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration