archinstall icon indicating copy to clipboard operation
archinstall copied to clipboard

archinstall tries installing on import.

Open git-girl opened this issue 4 months ago • 5 comments

Which ISO version are you using?

(git latest but also 2.8.6-1 but since longer afaik)

The installation log

this is not about that.

describe the problem

Description of the issue

importing archinstall

git clone https://github.com/archlinux/archinstall.git
cd archinstall
python
import archinstall

archinstall will try to do an installation. =>

/dev/mapper/control: open failed: Permission denied
Failure to communicate with kernel device-mapper driver.
Incompatible libdevmapper 1.02.201 (2024-10-02) and kernel driver (unknown version).
Not enough permission to place log file at /var/log/archinstall/install.log, creating it in /tmp/archinstall/install.log instead
Archinstall requires root privileges to run. See --help for more.

(also just on archinstall --version)

Imo this is especially annoying, bc there is tooling such as pydoc that when just searching with -k will evaluate everything on the system. So when i go to look at docs archinstall tries to do an archinstall. If I were a bit more stupid then i already am and maybe run pydoc -k something as euid 0 then i do archinstall? (it just crashes ftr)

git-girl avatar Oct 12 '24 22:10 git-girl