Questions tagged [alpine-linux]

Alpine Linux is a distribution for small, secure systems, based on busybox and musl

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

BTRFS quota for a user vs. dedup/compression?

I want the user to be able to use 1 GByte on a BTRFS mountpoint. If he has 1 GByte on its ex.: FAT32 FS and copies that 1 GByte to the BTRFS than that counts as 1 GByte. But in the background I have ...
user avatar
0 votes
0 answers
159 views

Alpine: How to forceful remove freetype package from OpenJDK Runtime Environment(Alpine 8.302.08-r2) even if it would break dependencies?

I'm trying to setup a docker config for my java spring applicaiton. So appln is running absolutely fine but We found out that there is a apk package called as freetype which is having critical ...
user avatar
  • 101
0 votes
1 answer
31 views

Alpine Linux: Convert Podman systemd to openrc

I use Alpine Linux and podman command to generate container systemd Command: podman generate systemd -n test -f Output: # container-test # autogenerated by Podman 3.4.7 # Fri Apr 29 02:29:47 CEST ...
user avatar
0 votes
0 answers
14 views

paxtest on Alpine Linux

Last paxtest package was at https://wiki.alpinelinux.org/wiki/1.9.0_package_changes_since_1.8.3. I cannot see paxtest package in Alpine Linux packages. If I download the paxtest tar.gz, it wont ...
user avatar
0 votes
1 answer
28 views

How to downgrade the kernel in Alpine Linux (in Docker)?

I'm looking to test a DirtyPipe PoC and I need a vulnerable kernel version (5.8-5.15) to test on. I'm running an Alpine container in Docker for this purpose however am open to other Linux distros (...
user avatar
  • 273
0 votes
2 answers
29 views

Creating custom Alpine Linux ISO with an answer file built-in

I couldn't find any guide or documentation referring on how to add files to a custom Alpine Linux ISO, the nearest i could find is this page on the Alpine Wiki about creating a custom ISO image with ...
user avatar
0 votes
1 answer
14 views

Can you configure Alpine's apk to be interactive by default?

I find myself preferring the interactive mode that can be accessed by adding the -i flag when running Alpine's apk over the default non-interactive mode. However, it is rather tedious to constantly ...
user avatar
  • 514
0 votes
1 answer
21 views

How to install mongo bi connector in alpine linux?

How to install mongo bi connector in alpine linux? the mongo bi connector is the 'mongosqld',https://www.mongodb.com/docs/bi-connector/current/ there are debian version, windows and macos version but ...
user avatar
  • 99
1 vote
1 answer
22 views

Copy files up 1 or 2 directories and rename them

I'm quite new to Linux, and I'm currently trying to organize files as they are downloaded. Essentially I want to take .srt files from a subdirectory and move and rename them to the main directory ...
user avatar
  • 11
1 vote
0 answers
100 views

Trouble Mounting NFS on Alpine Container (Proxmox)

Trying to mount an NFS share on an Alpine (3.15.3) lxc on Proxmox (7.1-10). Following the Alpine docs for NFS, I have added nfs-utils, and rc-start nfsmount. The entry in fstab is 192.168.11.192:/...
user avatar
  • 111
0 votes
1 answer
214 views

Puppeteer in alpine docker with chromium headless dosent seems to work

I'm trying to use pageres in my bash script for grabbing screenshot in heruko. But running pageres with alpine:latest throws error with puppeteer. at onClose (/usr/local/lib/node_modules/pageres-cli/...
user avatar
  • 11
1 vote
1 answer
72 views

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 another container, also running the same version of Alpine of the SSH server) that runs a X server with dwm I'm ...
user avatar
0 votes
0 answers
62 views

Alpine Linux becomes unreachable after a certain period of inactivity

I have installed Alpine Linux as OS for a mini server. I have correctly configured the server to be reached via ssh (openSSL) and my programs run on docker containers. I use a wired connection. The ...
user avatar
0 votes
0 answers
169 views

How to create a custom Alpine Linux ISO image with custom kernel?

I would like to make a custom Alpine Linux ISO image with a custom kernel based on linux-lts. I know how to make it separately (make kernel with abuild checksum && abuild -rK command; make ISO ...
user avatar
  • 1
0 votes
1 answer
217 views

What is the equivalent packages build-essential and linux-headers-<xxxx> in alpine?

I want to build kernel modules in Alpine, I know how to do it in Ubuntu. In Ubuntu I used to install kernel headers by running: apt install -y build-essential linux-headers-$(uname -r) What is the ...
user avatar
  • 281
2 votes
0 answers
204 views

Automate Alpine Linux installation

I am trying to achieve unattended Alpine Linux installation. I went through the Alpine automatic installation guide but many manual interventions are still needed during the installation! For example ...
user avatar
3 votes
1 answer
120 views

expect freezes after send

I'm trying to automate a Alpine Linux installation using the following script: expect <<- EOF set timeout -1 spawn setup-disk -e -m sys /dev/sda expect { {WARNING: Erase the ...
user avatar
0 votes
1 answer
50 views

How to create mkfs for LFS? [closed]

I am trying to run following command mkfs -v -t ext4 /dev/sda1 to create file system but I got an output /dev/sda1 is apparently in use by the system; will not make a filesystem here!. How can I ...
user avatar
0 votes
1 answer
108 views

how to update repositories in Alpine

I am trying to get the latest version of the "consul" package. the current available and installed package is version 1.10.6 but the latest is 1.11.1 sudo apk list | grep consul consul-...
user avatar
0 votes
1 answer
25 views

Tell whether reboot is required after apk upgrade

How do we know whether we need to reboot after apk upgrade? I know that we probably need to reboot after kernel update, but how about system libraries and Busybox (as init)? For Debian we have several ...
user avatar
  • 1,073
0 votes
0 answers
105 views

fix for drag and drop for open-vm-tools on Alpine Linux?

I get the following error when I try to drag and drop a file in Alpine Linux: Error when getting information for file //tmp/vmwarednd/"random_name"/"file_name" I installed all ...
user avatar
0 votes
1 answer
512 views

In alpine, why won't an upgradable python package upgrade?

In alpine edge, I have the packaged onboard installed, but it is failing to launch. $ onboard Traceback (most recent call last): File "/usr/bin/onboard", line 32, in <module> ...
user avatar
  • 632
1 vote
1 answer
165 views

How to download old package on Alpine Linux

Goal: download (not install) old versions of Alpine packages, ultimately for use in a container. For Debian, there's https://snapshot.debian.org/ I couldn't find anything equivalent for Alpine. Is ...
user avatar
0 votes
2 answers
197 views

How can I get ng e2e to run under Alpine: it currently returns E/launcher - Error: spawn <location> 5 ENOENT

I'm running npx ng e2e from a docker CI environment under GitLab,. When I run it I get totally mundane setup/installation of chrome/webdriver.. [19:57:28] I/file_manager - creating folder /builds/...
user avatar
  • 22.4k
0 votes
1 answer
1k views

chrome: Passthrough is not supported, GL is swiftshader

I'm trying to run headless Chrome in a container using Alpine Linux, I'm getting Passthrough is not supported, GL is swiftshader The commands to get this are pretty simple, podman run -ti alpine:3 /...
user avatar
  • 22.4k
0 votes
1 answer
66 views

pactl package in docker alpine container

I want to pactl in a docker Alpine container. I installed pulseaudio and also tried apk add pactl. How can I install pactl under Docker Alpine container?
user avatar
  • 103
0 votes
1 answer
534 views

can't SSH from docker container to remote server

on my host server I have my user with generated private and public keys. I have copied public key value to my remote server authorized_keys file. I have mapped new docker container instance to use the ...
user avatar
  • 178
5 votes
1 answer
707 views

Why does 'find' command on Alpine seem to require escaping '?' but not on Ubuntu?

Is this related to a bug, etc. or this is how it should be? find ./frontend -mindepth 1 -regex '^./dir1/dir2\(/.*\)?' works on Ubuntu but not Alpine (docker) find ./frontend -mindepth 1 -regex '^./...
user avatar
0 votes
1 answer
315 views

SSH error: Cannot bind any address when using any other user than root in a container with Alpine Linux

I want to be able to start a Docker container as a user other than root and be able to ssh into it. When I start sshd as root I am able to log into it. When I switch it to start the container as ...
user avatar
0 votes
1 answer
281 views

Execute POST request from Alpine container

I want to execute a POST request with custom headers over HTTPS from a pod in our kubernetes cluster, which is running openjdk11-jre with alpine as base image (adoptopenjdk/openjdk11:jre-11.0.11_9-...
user avatar
  • 121
1 vote
1 answer
482 views

How to make dnsmasq work on Alphine(docker)?

On Debian-based Linux, dnsmasq works by replacing the nameservers in /etc/resolv.conf with 127.0.0.1 (referring to "Linux for Wireless Engineers: How to Do DNS Caching with dnsmasq"). But I ...
user avatar
0 votes
0 answers
58 views

EXIT trap is ignored on Ctrl-C when PID == 1

a.sh: trap 'echo cleanup' EXIT sleep 3 To reproduce, press Ctrl-C before the script finishes: $ docker run --rm -itv $PWD:/app -w /app alpine:3.14 sh a.sh ^Ccleanup $ docker run --rm -itv $PWD:/app -...
user avatar
  • 2,893
0 votes
0 answers
229 views

mount command on Alpine Linux doesn't like octal sequence for space in fstab

on alpine Linux, I can't mount automatically a cifs directory which has a space in the name, but manually it may work. With this /etc/fstab snippet it doesn't work: //192.168.245.1/My\040Space ...
user avatar
  • 11
1 vote
1 answer
418 views

how to use rtl8723bs bluetooth in linux 5.10

I have alpine edge (future 3.15) x86 on an HP Stream 7 5709 tablet (tl;dr: Bay Trail, Atom Z3735G), which has an onboard rtl8723bs wifi/bluetooth, which I'm already using for wifi and is working fine. ...
user avatar
  • 632
0 votes
0 answers
60 views

Interrupting rsync crashes a container

Consider the following script (/tmp/a.sh). It prepares an environment to run rsync: #!/bin/sh -eu docker run --rm -it \ -v /:/host \ alpine sh -c ' apk add rsync shadow procps ...
user avatar
  • 2,893
1 vote
0 answers
535 views

Initramfs fails to mount sysroot for LVM volume

I have a Dell 730xd with a PERC card that has two 32gb RAID1 disks exposed. On the first I setup Alpine Linux using standard partitioning(boot, system, swap) with Grub. This works perfectly fine. I ...
user avatar
0 votes
0 answers
111 views

Alpine Linux: NetworkManager does not enroll wwan0 device

I have a small PC with an included GSM-modem which I need to have working with NetworkManager under Alpine Linux v3.14 x86 (so nmcli and mmcli works, both network and modem manager have been installed)...
user avatar
0 votes
0 answers
117 views

Alpine Linux: Disable switching into framebuffer mode at boot?

We are installing a custom version of Alpine Linux on several embedded elderly PC. The monitor is connected using VGA and may not report the supported resolutions correctly, hence the GPU may choose ...
user avatar
1 vote
2 answers
165 views

mke2fs - answer to an "overwrite" question from a script

I use mke2fs utility to create a file system. If file system already exists, I get a confirmation prompt: ~# mkfs.ext4 /dev/xvdf mke2fs 1.46.2 (28-Feb-2021) /dev/xvdf contains a ext4 file system ...
user avatar
  • 113
0 votes
0 answers
49 views

qt5 program with "-platform linuxfb" does not reset framebuffer when crashing

We have a qt5 program running under Alpine Linux v3.14 which uses a fragile legacy library which may cause the entire program to crash. Alpine Linux switches to framebuffer mode during start up. We ...
user avatar
8 votes
1 answer
699 views

Why is Bash not evaluating the executable bit correctly in Alpine 3.14.2?

In a dockerized Alpine 3.14.2 running Bash 5.1.4(1), I encountered a strange behaviour in a Bash script. The essential line is a test for executability of a file, which always fails. This is the if ...
user avatar
  • 151
2 votes
3 answers
466 views

Pattern matching in if block in Alpine's `sh`

How do i replicate the following bash expression: if [[ "$foo" =~ (bar|spam) ]]; then echo "True" fi in Alpine's /bin/sh? Typing it in as-is throws an error: /bin/sh: syntax ...
user avatar
0 votes
0 answers
80 views

When running "lbu commit" for Alpine backup, I cannot grab certain sockets. They are being ignored

I am running into an issue when creating a Alpine overlay for my ISO. I get this error saying the sockets are being ignored when I installed ossec locally on my ISO. When I grab the tar file over to ...
user avatar
  • 101
0 votes
0 answers
60 views

Get the right OPENSSL_ia32cap value for openssl 3.0.0 on old non-Intel/AMD x86 devices?

We are using Alpine Linux x86 for a project where some of the computers the customer needs this to run have old x86 processors. Initial testing with v3.14 showed that we could use Alpine Linux with ...
user avatar
0 votes
0 answers
162 views

Better alternative to alpine rootfs

I am using Alpine linux rootfs for playing with namespaces. But, I am running into a major issue - Bash is no available as part of the minimal root filesystem. "Busybox bash" does not work ...
user avatar
1 vote
1 answer
100 views

Alpine Linux startup script

I have a USB flash drive, which boots Alpine Linux into RAM memory. I wish to run a script directly after startup (login to WIFI, etc.). Is that possible? It is advised to place a startup script in /...
user avatar
  • 113
0 votes
1 answer
183 views

How to SSH on alphine linux with iSH on ipad?

Iam trying out linux on Ipad through the iSH app, however, i cant seem to find my username it always returns 'root' when i do whoami. So now iam confused how I can ssh into another computer or even ...
user avatar
  • 1
2 votes
1 answer
103 views

Optimize adding extra packages to the USB-media for alpine linux offline install?

We would like to make an automated installer for Alpine Linux for running our own application on an embedded x86 pc. Our application setup requires packages not present on the downloadable media and ...
user avatar
0 votes
1 answer
197 views

Alpine Linux - How to prevent .ash_history from being saved?

How can one prevent .ash_history from being saved at all in Alpine Linux?
user avatar
0 votes
0 answers
548 views

Crosscompile go(lang) app with docker for alpine linux (musl) aarch64 with native libs so CGO enabled

Background I'm writing an open-source GTK go app subsonic API client which: targets on first place mobile friendly Linux like postmarketOS (alpine linux), Mobian (debian) in future will be also ...
user avatar
  • 1

1
2 3 4 5 6