All Questions
Tagged with archlinux or arch-linux
306 questions
0 votes
0 answers
47 views
Pacman upgrade fails with "Failed to start up manager. Freezing execution" [migrated]
I have a VPS running Arch (Kernel 6.17.6-arch1-1). A pacman -Syu upgrade on 2025-11-12 failed with warnings and errors about systemd. In /var/log/pacman.log, I found the error messages: […] [2025-11-...
0 votes
0 answers
15 views
sddm is activating the wrong monitor by default [migrated]
I have Archlinux installed with Hyprland and sddm as the login/greeter. I have 2 monitors connected, and hyprland correctly identifies them and displays content according to their physical locations. ...
0 votes
1 answer
172 views
Docker randomly stops being able to resolve hostnames
I'll be running fairly short builds using native Docker (versus Docker Compose or anything else). After a few days or hours it may suddenly stop resolving hostnames: => CACHED [5/6] RUN python -m ...
0 votes
1 answer
333 views
Poor network performance with NIC virtio on Virt-Manager on Arch guest
My host is EndeavourOS. My guest is CachyOS. When I configure on the Virt-Manager the device model for the NIC to virtio I am getting speed of 1-3 Mbps. My internet is 1Gbps. When I select device ...
0 votes
0 answers
66 views
Cannot boot live USB after changing boot order via UEFI shell
I have an Acer travel mate running Arch Linux via EFISTUB. after last sy update I rebooted and got "No bootable device found" screen. To fix that I prepared a live arch USB and changed boot ...
0 votes
1 answer
38 views
Publish to AUR from non-Arch System
Just migrated from Arch to Fedora. Got some apps I've been publishing to the AUR. Is it possible to update those AUR repos without having Arch, directly from Fedora? Or am I better to setup an Arch-...
1 vote
1 answer
715 views
Trying to resolve errors while configuring NFS Clients (as normal user and root)
When I try to manually mount with this command: mount -t nfs <server-ip>:/srv/nfs4/share1 /mnt/data as non-root user, I am getting the error mount.nfs: failed to apply fstab options When I try ...
0 votes
0 answers
2k views
"Can't read superblock" when trying to boot . Failed to mount /dev/mapper/xxxxxxx on real root
I finished setting up my new Arch system about a month ago. Since I had two nvme drives to use for the system I did some research on how I could use both of them to utilize the full capacity of both ...
0 votes
0 answers
181 views
Postfix not signing mail with OpenDKIM
Postfix is not signing outgoing mail with OpenDKIM despite giving no errors. My main.cf file readme_directory = /usr/share/doc/postfix inet_protocols = ipv4 meta_directory = /etc/postfix ...
0 votes
1 answer
161 views
Access Forbidden 403 no search permission for the directory
I installed the Apache server on Manjaro (no tag for it, Arch is the closest). It works well. I added a virtualhost and tried to set directory permissions with chmod, but no luck. I got 403 error when ...
0 votes
0 answers
2k views
Why do I get ECONNREFUSED|ECONNREFUSED for an openvpn server, after doing easyrsa gen-crl?
My OpenVPN server has been working perfectly fine on an Arch Linux install. I've done regular pacman -Syu updates over the past year, every now and then I've had to run: easyrsa gen-crl When the ...
0 votes
0 answers
358 views
arch linux laptop not recognizing partitions or filesystems on internal windows SDA drive
I bought a laptop with windows 11 and installed arch linux on it. The laptop has 3 internal 500GB SSDs. Two of them are in a RAID configuration to make a single 1TB partition which Windows came ...
0 votes
1 answer
360 views
hardening fail2ban using systemd sandbox
I've been trying to follow the ArchWiki instructions on hardening Fail2Ban: https://wiki.archlinux.org/title/Fail2ban#Service_hardening Specifically I've created a drop-in file as described and ...
0 votes
1 answer
1k views
Server closing connection after ssh login
Working on archlinux, last updated today. Tried to setup a web application on the server. Got error 'core dumped' when tried su, decided to reboot. After reboot the problem started. ssh -vvv output ...
2 votes
1 answer
2k views
/etc/environment.d does not take effect on Archlinux
I believe systemd-environment-d-generator parses conf files under /etc/environment.d/. cat /etc/environment.d/60-foo.conf FOO=xxx But even after reboot, the environment variable 'FOO' does not ...
0 votes
1 answer
2k views
Using Microsoft Teams on Gnome Wayland - Not able to screen share
currently i'm using Manjaro with Gnome and the wayland session manager. 5.15.68-1-lts #1 SMP Thu, 15 Sep 2022 09:53:50 +0000 x86_64 GNU/Linux I've installed the MS Teams Linux app, but I also tried ...
0 votes
2 answers
2k views
access based share enum not working as expected
On a long-term (2years) Arch Linux server, I am running a small samba configuration with several shares. I would like users to only see the shares which they have access to - which is why I am using ...
0 votes
1 answer
2k views
nextcloud rewrites config permissions after reboot
Heyhey! i'm struggling with a permission-problem on my nextcloud instance. My Setup is Manjaro 21.0.7-210614 linux518 Nextcloud 24.0.3-1 Apache 2.4.54-1 php-sqlite 8.1.8-1 php-intl 8.1.8-1 php-...
0 votes
1 answer
105 views
Sed issue!! i tried to trigger this command cat test.txt | gf xss | sed ‘s/=.*/=/’ | sed ‘s/URL: //’ | tee testxss.txt
i tried to trigger this command cat test.txt | gf xss | sed ‘s/=.*/=/’ | sed ‘s/URL: //’ | tee testxss.txt but getting error as sed: -e expression #1, char 1: unknown command: ' sed: -e expression #...
1 vote
0 answers
479 views
sudo hangs after some time
sudo hangs in my Archlinux (running under Hyper-V) after some time (usually a day). Since this hangs my system, I have kept a root window open to do strace whenever this happens. strace sudo ls shows ...
0 votes
1 answer
410 views
Arch Linux, incoming remote connections get dropped
I'm running into an issue on my (up to date) Arch Linux server. I've been able to reproduce it with netcat. If I start listening on my server with: ncat -l -p 2000 -k and then telnet (my local ip) ...
3 votes
1 answer
995 views
LVM - pvmove to a smaller volume
I would like to pvmove a logical volume to a smaller, but faster drive, leaving the excess part on the original drive. Can that be easily accomplished?
1 vote
1 answer
2k views
What could prevent hdd hot-swap in linux ahci?
I'm tearing my hair out over this issue. I wanted to add a hotswap bay to my homeserver to easily add and remove HDD such as to easily rotate off-site backups. The mainboard in question is an Asrock ...
0 votes
1 answer
2k views
EAP-MS-CHAPv2 verification failed Arch Linux (strongswan)
I cannot get Strongswan, networkmanager-strongswan (client) work on your Arch-PC. My vpn-strongswan server (hereinafter deb (server)) has been configured for a long time, any devices (such as android, ...
1 vote
0 answers
3k views
How can I see which commands ansible runs and their output?
I'm new to Ansible, and yes I know this has already been asked many times, but I already tried to apply advice I saw elsewhere. I did export ANSIBLE_STDOUT_CALLBACK=debug and then ansible-playbook -...
0 votes
0 answers
477 views
Some process are in unkillable sleeping state while i/o is low
I am the system administrator of an Arch Linux-based workstation. Our workstation uses Slurm as the load manager and consists of one master machine and 4 other computation nodes. In the past few ...
0 votes
1 answer
757 views
OpenVPN server, executing openvpn with the config as argument produces no output
I have the following OpenVPN server config, which when I try to give as argument produces no output and simply returns. [root ~]# cat /etc/openvpn/server/myvpnserver.conf port 28191 proto tcp dev ...
1 vote
1 answer
6k views
Apache "can't locate API module structure" with php73
newbie here. I was working on installing a LAMP environment on Manjaro for testing, trying to use older versions to match the production environment I have to work with (PHP 7.3, MySQL 5.6; got them ...
0 votes
1 answer
128 views
A simple configuration: LAN + direct connect simultaneously [closed]
This should be an easy configuration, but I'm struggling to Google for it; the vocabulary eludes me. I've got a desktop with onboard gigabit which finds its way to the internet via the router. ...
9 votes
4 answers
9k views
kube-proxy won't start in Minikube because of permission denied issue with /proc/sys/net/netfilter/nf_conntrack_max
After updating Arch Linux (sudo pacman -Syu) and restarting the system, Minikube fails to start because of kube-proxy. The logs show it was trying to modify /proc/sys/net/netfilter/nf_conntrack_max ...
2 votes
1 answer
503 views
SSH tunnel attempt. Unable to establish SSH connection without actual shell. (Arch Linux)
So I'm trying to figure out how to establish a tunnel, but nothing else. I don't want the user to have shell access. I found this ssh tunneling only access Is this information outdated or something? ...
0 votes
0 answers
544 views
"Combine" multiple FTP directories so they appear as one
I own a website that allows users to upload files. I have MY files on there as well, but I don't want to mix their files with mine, just in case somebody puts a bunch of malicious files and need to be ...
0 votes
0 answers
2k views
Can't connect via openvpn and .ovpn file on Manjaro and Ubuntu (but surprisingly it works on Windows)
At my recent job, I need to connect to the corporate VPN so I was sent a .ovpn file. I am not very much experienced with VPNs, but I had a feeling that connecting should be as easy as: sudo pacman -S ...
10 votes
5 answers
8k views
Pacman doesn't work in Docker image
I need to run an Arch Linux container but I can't install anything on it : When I try to run pacman -Syyu --noconfirm error: failed to initialize alpm library (could not find or read directory: /var/...
1 vote
1 answer
4k views
How to properly set specific PHP version used by Apache on Arch?
So it appears that after a recent Arch system upgrade, my NextCloud server no longer works, currently giving me "This version of Nextcloud is not compatible with > PHP 7.4. You are currently ...
0 votes
1 answer
7k views
Arch Linux - QEMU override System Manufacturer on Windows 10
I've fully virtualized a VM with windows 10 on QEMU and had to do host-passthrough in order for it to work. Because there's no way to set SMBIOS to reflect the host, I want to know if there's any way ...
0 votes
1 answer
1k views
WireGuard via systemd-networkd but with /etc/wireguard/wg0.conf
Is there any solution to use /etc/wireguard/wg0.conf for both, wg-quick and systemd-networkd. Following this example I have to duplicate configuration, but I want to store config in one place. How to ...
1 vote
1 answer
855 views
How to make SystemRescueCD (Arch Linux) mount exFAT?
My SystemRescueCD (bootable CD based on Arch Linux distribution) won't mount my exFAT SD card. When I plug in the USB reader, /dev/sdc appears, but it won't even show /dev/sdc1. No way to mount it, ...
1 vote
1 answer
1k views
lxd: dnsmasq not resolving containers ip anymore
I have Lxd installed on an Arch system (from packages, not snapd), yesterday I rebooted the system after an upgrade and the name resolution of the fake domain .lxd stopped working; dns is provided on ...
1 vote
0 answers
44 views
Archlinux SFTP indicated package length
I use Archlinux as a pure server system. The user "http" is authorized for ssh access. In this way I access the /var/www directory for the stored websites. Recently, the login and the folder ...
0 votes
1 answer
843 views
Archlinux nfs is shutting down immediately
I want to setup an NFS server so I setup NFS as in the Archlinux tutorial with two mount points: [jenia@jenia ~]$ sudo exportfs -arv point 1 point 2 point 3 exportfs: /etc/exports [3]: Neither '...
7 votes
2 answers
59k views
open() "/run/nginx.pid" failed (13: Permission denied)
Currently, I've set up a nextcloud server with nginx and I enabled it with sudo systemctl enable nginx.service. When I'm rebooting, than I'm getting an error message which complains about a proxy ...
1 vote
1 answer
7k views
Error: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
I have the very same setup as shown in this thread and I'm having the same exact problem. I've already retraced my steps several times over the installation process of the PHP + Apache + PostgreSQL, ...
0 votes
1 answer
5k views
openvpn startup error: Failed at step CHDIR spawning /usr/bin/openvpn
I'm trying to start an openvpn v2.4.9 server with running systemctl start openvpn-server@server as root on Arch Linux. This results in the following error: The job identifier is 176005 and the job ...
1 vote
1 answer
347 views
Arch Linux - KVM - Sharing SSD and HDD between Arch and it's VMs
I'm relatively new to linux and I'm trying to build an Arch linux that will have a gaming VM. I have 2 disks: a 500GB SSD and a 2TB HDD. I've settled on a LVM with a swapfile and extra space for ...
1 vote
1 answer
4k views
cannot ping specific interface from router: (sendmsg: Operation not permitted)
I have router that I built running Arch Linux and I have a strange problem that might point to a misconfiguration. Here is my setup: LAN interface: intern1 WAN interface: extern1 LAN address: 192.168....
0 votes
1 answer
1k views
fail2ban banning IPs, but iptables is failing to reject them
I'm running Arch with Nginx and fail2ban. I have added this to /etc/fail2ban/filter.d/nginx-dos.conf: # /etc/fail2ban/filter.d/nginx-dos.conf # Fail2Ban configuration file # # Generated on Fri Jun 08 ...
2 votes
1 answer
3k views
What's !* in the password field in /etc/shadow?
Looking into my /etc/shadow file of a fairly new box today (running Arch), I see some passwords as * (disabled) but some others as !*, !! and as !. Presumably that means "disabled", too, but ...
0 votes
1 answer
1k views
Redirection thru redsocks connecting but not responding
Am using redsocks to redirect thru a proxy. The problem is that when i use a tool like wget it appears to be connecting but not resolving. What could be the problem and how could i solve it? Executing ...
0 votes
0 answers
325 views
Forwarding bonded connection to local network through stateful firewall - ArchLinux
I'm using Arch Linux to set up a firewall for a school which will stream each classes' video to students at home, so I need a strong and safe connection, that's why I was thinking about bonding ...