ash never seems to source any startup files
Package Information
- Package name: ash
- Package version: busybox-1.36.1-r15
- Alpine version: 3.19.1
- Alpine architecture: x86_64
Summary
ash never attempts to source /etc/profile + /root/.profile at startup.
Steps to reproduce
Camping on /etc + /root show startup files are never accessed.
I'm running ash using "lxc exec CNAME ash" which starts ash correctly, just no startup files sourced.
inotifywait shows only .ash_history is hit...
net17 # dirwatch net17-template-alpine-319/rootfs/root net17-template-alpine-319/rootfs/etc
inotifywait --timefmt '%Y-%m-%d-%T' -qmr --format '%T %w%f %e' --exclude '.(bak|sw[xp])$' net17-template-alpine-319/rootfs/root net17-template-alpine-319/rootfs/etc
2024-03-28-09:00:17 net17-template-alpine-319/rootfs/root/.ash_history OPEN
2024-03-28-09:00:17 net17-template-alpine-319/rootfs/root/.ash_history ACCESS
2024-03-28-09:00:17 net17-template-alpine-319/rootfs/root/.ash_history CLOSE_NOWRITE,CLOSE
Someone let me know how to fix this.
Thanks!