Questions tagged [alpine]

Alpine Linux is a Linux distribution that prides itself on being small, simple, and secure. Alpine Linux is a common choice for running inside Docker containers.

Alpine Linux (https://alpinelinux.org/) is a Linux distribution that prides itself on being small, simple, and secure. Alpine Linux is a common choice for running inside Docker containers.

97 questions
0
votes
0 answers

apk command to find which package installs a program? [Alpine Linux]

I want to install program /usr/bin/time using Alpine Linux package manager apk (time is a program runtime measurement tool). But I don't know which package to install. apk search time reports 147 matches. How do I narrow down apk search to a…
JamesThomasMoon
  • 725
  • 2
  • 5
  • 24
0
votes
1 answer

EBS root volume being mounted on /media/xvda instead of / (Alpine Linux)

I followed these instructions to install Alpine Linux on EC2. Everything went well and I was able to create an AMI from which I can launch new instances. My instance is supposed to act like a NAT Gateway. I, then, enabled net.ipv4.ip_forward and…
0
votes
1 answer

SSH server refuses multiple connections from same client

I have a simple openssh server running in a Alpine Linux 3.15 Docker container, and a client, also running on another Docker container (same version of Alpine of the server) that runs a X server with dwm The client is able to open a graphical…
henriquehbr
  • 113
  • 7
0
votes
1 answer

How to install cgroup tools on Alpine Linux

I need to install the control group tools on Alpine Linux; on some distros there is a cgroup-tools package or equivalent, but not on Alpine Linux. I have looked for the a package containing any cg* file on the contents pane at…
hstr
  • 145
  • 8
0
votes
1 answer

PAM permit works only when dummy suffix is added

I am trying to use PAM to authenticate OpenVPN against 2FA (not important info). Here is my PAM configuration: account required pam_permit.so auth required pam_google_authenticator.so secret=/etc/openvpn/google-authenticator/${USER}…
Mohammed Noureldin
  • 541
  • 1
  • 11
  • 25
0
votes
2 answers

Permissions of /dev/null wrong in KVM guest

My host node is RHEL7 running KVM from the 'updates' repo. On the host node, the permissions for /dev/null are: crw-rw-rw-. 1 root root 1, 3 Dec 18 04:45 /dev/null In an Alpine KVM guest (5.14, but same behavior on other versions), the permissions…
tater
  • 1,445
  • 2
  • 10
  • 12
0
votes
1 answer

PHP5 to PHP7 unexpected increase in memory usage inside container

Last week we updated several wordpress sites which are running Alpine Linux as containers inside a host (Ubuntu 20.04) through LXD. A summary of the update is as follows: Alpine Linux v3.8 -> 3.14 PHP 5.3.6 -> 7.4.24 Wordpress 5.0.3 ->…
lepe
  • 469
  • 2
  • 6
  • 25
0
votes
1 answer

how to allow proxy pass with same location, with multiple context path

server { listen 80; server_name example.com www.example.com; location /consol { if ($request_method !~ ^(GET|POST)$) { return 405 "Not allowed"; } set $consolalb alb.backend; proxy_pass…
deepak
  • 1
0
votes
1 answer

QEMU VM with tap interface sees all packages coming from hypervisor instead of real source IP

I have set up a very simple Hypervisor using Alpine Linux and my VM sees all traffic coming from the IP of the hypervisor. Which also means if fail2ban tries to block attacks, it always blocks the hypervisors IP How can I have the VM see the real IP…
Christian
  • 333
  • 7
  • 18
0
votes
1 answer

RTNETLINK answers: File exists in alpine router

I already know that this ask may already be made here but i couldnt solve this there, idk if i made bad or something, so im asking with my own case, sorry if my english is bad but here it is this is how i have the content of…
Sergio D
  • 35
  • 7
0
votes
1 answer

Server DHCPv6 with Linux Alpine

I want create a server dhcp6 with alpine I'm using Kea-dhcp6. The my file config this is: { # DHCPv6 configuration starts on the next line "Dhcp6": { # First we set up global values "valid-lifetime": 4000, "renew-timer": 1000, …
Seguret
  • 1
  • 2
0
votes
1 answer

Is Alpine Linux a bad choice for a server?

I've been thinking of migrating one of my servers from Ubuntu to Alpine to host my web app. I came to know Alpine because of Docker. Is using Alpine as a server OS safe? Has anyone ever tried this?
theo
  • 3
  • 1
  • 2
0
votes
1 answer

Why does "last" fail on Alpine with "last couldn't open file '/dev/null/wtmp' "?

Why is the last command failing on my fresh install of Alpine 3.12? $ last couldn't open file '/dev/null/wtmp': Not a directory wtmp begins Thu Jan 1 00:00 (on a Linode server if that matters)
Rob Bednark
  • 215
  • 1
  • 2
  • 9
0
votes
1 answer

Alpine setup on virtual machine UEFI does not boot

I am trying to setup Alpine linux on a VM (Proxmox) to replicate the layout of physical hardware (raspberry pi). The real layout is a raspberry pi 3, installed as "data" mode (based on wiki) with : sd card: 2 partitions (/boot, /) usb hard disk : 2…
Dede
  • 101
  • 3
0
votes
2 answers

How to enable DNS over TCP for resolving names on linux

How do I configure linux in general to allow dns over tcp? We discovered today that several different linux servers we use are not able to resolve DNS names with many ip addresses in the response. These response packets would be over 512 bytes, so…
Arthur Ulfeldt
  • 3,249
  • 9
  • 33
  • 40