Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: TheExplorer on 07 April 2023, 15:02:36

Title: Artix XFCE ISO is somehow borked
Post by: TheExplorer on 07 April 2023, 15:02:36
I'm not sure whether it was asked before but yesterday I decided to reinstall the system and couldn't. I figured it all out but here are some proposals. Not sure if the devs listen to me, but anyway:

1) 5xx nvidia shouldn't be on the live media since many of your users may have legacy cards (like me). Hence, not working desktop/inability to install the system. The previous older builds have the same issue.

2) After installation I have a big bunch of lib32 packages. Why? Even without multilib enabled. Well...

3) After installation your polkit rule file 99-artix.rules doesn't work: it doesn't allow the user to mount external drives (the issue that I still can't figure out, probably there's a problem with new versions of polkit-gnome or udisks2). UPDATE: This one got fixed by reinstalling 'polkit' because /etc/polkit-1/rules.d/ directory's permissions were messed up for some reason.
Title: Re: Artix XFCE ISO is somehow borked
Post by: ####### on 07 April 2023, 15:35:09
Kernel drivers contain a list of models they support to prevent the wrong ones being loaded. If your card is incorrectly detected as being a supported model when it isn't, that's probably a bug in that driver, not an Artix one incidentally. Completing the lists often needs user interaction to report back to the driver developers, so they might be the best people to contact if you can determine who they are (unless the problem was something else entirely of course!  :D )
Title: Re: Artix XFCE ISO is somehow borked
Post by: gripped on 07 April 2023, 15:44:37
2) After installation I have a big bunch of lib32 packages. Why? Even without multilib enabled. Well...
Which iso are you using ? That was supposed to be fixed in the latest release ?
Title: Re: Artix XFCE ISO is somehow borked
Post by: TheExplorer on 07 April 2023, 17:47:37
Which iso are you using ? That was supposed to be fixed in the latest release ?

https://download.artixlinux.org/archived-iso/artix-xfce-runit-20230306-x86_64.iso

From the Older ones (I thought there wasn't an issue with nvidia). So, I don't know the situation with the latest ISO, actually.

The list of packages left after installation is here (https://pastebin.com/raw/BapGAiSH).
Title: Re: Artix XFCE ISO is somehow borked
Post by: TheExplorer on 07 April 2023, 17:52:54
Kernel drivers contain a list of models they support to prevent the wrong ones being loaded. If your card is incorrectly detected as being a supported model when it isn't, that's probably a bug in that driver, not an Artix one incidentally. Completing the lists often needs user interaction to report back to the driver developers, so they might be the best people to contact if you can determine who they are (unless the problem was something else entirely of course!  :D )

Okay, I got it. I just offered a sane variant of not including proprietary driver in the live media. It can be easily done with the opensource ones. You never know what all your potential users are using. Well, it worked for me before when I installed Artix (it was like in the end of 2022, iirc).
Title: Re: Artix XFCE ISO is somehow borked
Post by: TheExplorer on 07 April 2023, 19:38:16
Strange, but polkit-gnome or udisks2 haven't upgraded for a long time already. But mounting works on another HDD with Artix on it. Here on my newly installed system - no... lol
Title: Re: Artix XFCE ISO is somehow borked
Post by: Hitman on 07 April 2023, 23:20:46
Try running 'modprobe fuse' in regards to the mounting issue, it seems something changed in udisks/gvfs and doesn't work on some fs's until some tweaking.
Title: Re: Artix XFCE ISO is somehow borked
Post by: TheExplorer on 08 April 2023, 08:06:06
Try running 'modprobe fuse' in regards to the mounting issue, it seems something changed in udisks/gvfs and doesn't work on some fs's until some tweaking.

Yeah, something definitely changed. But modprobing doesn't fix it.
Title: Re: Artix XFCE ISO is somehow borked
Post by: ####### on 08 April 2023, 14:35:56
It looks like the relevant rule in "/etc/polkit-1/rules.d/99-artix.rules"  is this one:
Code: [Select]
polkit.addRule(function(action, subject) {
    if (action.id.indexOf("org.freedesktop.udisks2.") == 0 && subject.isInGroup("storage")) {
        return polkit.Result.YES;
    }
This would suggest your user isn't in the the "storage" group, as described here near the top of the page, so creating the mounting problems:
https://wiki.artixlinux.org/Main/Configuration (https://wiki.artixlinux.org/Main/Configuration)
Title: Re: Artix XFCE ISO is somehow borked
Post by: TheExplorer on 08 April 2023, 16:51:46
This would suggest your user isn't in the the "storage" group, as described here near the top of the page, so creating the mounting problems:
https://wiki.artixlinux.org/Main/Configuration (https://wiki.artixlinux.org/Main/Configuration)

Nope. The user was in this group by default after installation. Tried changing the group as well as adding myself to other ones - doesn't fix it. The strangest part is that my other (older) Artix installation works just fine.
Title: Re: Artix XFCE ISO is somehow borked
Post by: TheExplorer on 08 April 2023, 16:54:43
Or...something is strange indeed with recent ISOs. I just don't know what to say here.
Title: Re: Artix XFCE ISO is somehow borked
Post by: TheExplorer on 10 April 2023, 18:59:49
Or... some package or lib is missing (which I really doubt since polkit and udisks2 are in the system)
Title: Re: Artix XFCE ISO is somehow borked
Post by: nous on 11 April 2023, 15:08:37
Did a quick install of XFCE 20230401 and it works flawlessly, automount and all, without any tweaking whatsoever.
Title: Re: Artix XFCE ISO is somehow borked
Post by: TheExplorer on 12 April 2023, 09:02:23
Did a quick install of XFCE 20230401 and it works flawlessly, automount and all, without any tweaking whatsoever.

Then I guess artix-xfce-runit-20230306-x86_64.iso is really borked. Gotta reinstall then :(

Thank you for your time and efforts.
Title: Re: Artix XFCE ISO is somehow borked
Post by: TheExplorer on 12 April 2023, 11:33:07
Did a quick install of XFCE 20230401 and it works flawlessly, automount and all, without any tweaking whatsoever.

Nope :( Did a fresh install from the latest Artix Xfce Runit ISO and still get this: http://0x0.st/HXkh.png

P.S. My HDD is an external one, connected via SATA. It works in another Artix installation. I just don't know wtf actually happens :)
Title: Re: Artix XFCE ISO is somehow borked
Post by: nous on 12 April 2023, 14:38:34
P.S. My HDD is an external one, connected via SATA.
That's the first thing you should have mentioned. May I guess the filesystem on the disk is ext4 or similar and not exfat or ntfs?
Title: Re: Artix XFCE ISO is somehow borked
Post by: TheExplorer on 14 April 2023, 11:24:58
P.S. My HDD is an external one, connected via SATA.
That's the first thing you should have mentioned. May I guess the filesystem on the disk is ext4 or similar and not exfat or ntfs?

Yes, exactly. With another Artix installation. But it works from that another disk: it mounts the first disk with a newer installation without issues.
Title: Re: Artix XFCE ISO is somehow borked
Post by: nous on 14 April 2023, 15:08:23
Yes, exactly. With another Artix installation. But it works from that another disk: it mounts the first disk with a newer installation without issues.
Then that other Artix installation is somehow configured to automount the first disk. Partitions with "permissioned" filesystems may or may not be mounted automatically, mainly but not exclusively determined by the bus and to a much lesser degree by the filesystem: USB is treated as removable and automounts, SATA as fixed and doesn't, usually. Most distros out there implement udev rules to facilitate mounting, as does Artix. Also, I'm not an expert in these things, so I may be very wrong.

TL;DR: you must compare the configuration files for all involved software (udev, udisks2, ...) and find what differs.
Title: Re: Artix XFCE ISO is somehow borked
Post by: TheExplorer on 14 April 2023, 17:23:05
Then that other Artix installation is somehow configured to automount the first disk.

No. I didn't configure anything at all. Just two default installations: an older and a newer one.

Also, XFCE doesn't automount anything by default, even USB drives. Until I click on them. It either mounts it (USB) or prompts for a password via polkit in case of external drives.

TL;DR: you must compare the configuration files for all involved software (udev, udisks2, ...) and find what differs.

I even don't know where to search for these udev, udisks2 files.
Title: Re: Artix XFCE ISO is somehow borked
Post by: nous on 15 April 2023, 21:28:02
Copy /etc/polkit-1/rules.d/99-artix.rules to /usr/share/polkit-1/rules.d and report back. It's either an upstream polkit bug which ignores rule files in etc/polkit-1/rules.d or I don't know what.