-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Labels
enhancementNew feature or requestNew feature or request
Description
现在运行在 starryos arm64 上运行 nginx 存在如下问题
- 安装 nginx 缺少 /run/nginx 目录,推测是运行时自动创建目录报错
- 手动使用
mdkir -p /run/nginx创建目录失败,只能先切换到 /run 目录下才能创建 - 创建目录后运行 nginx 报错 fs ioctl 缺失 21586
- 可能还有其他报错
附安装运行命令
starry:~# apk add nginx
starry:~# mkdir -p /run/nginx
mkdir: can't create directory '/': Invalid argument
starry:~# cd /run/
starry:/run# ls
lock
starry:/run# mkdir nginx
starry:/run#
starry:/run# ls
lock nginx
starry:/run# cd nginx/
starry:/run/nginx# nginx
[ 87.320157 0:21 starry_api::syscall::fs::ctl:48] Unsupported ioctl command: 21586 for fd: 3
starry:/run/nginx# ps aux
PID USER TIME COMMAND
8 root 0:00 {busybox} /bin/sh -c #!/bin/sh export HOME=/root echo -e "Welcome to \e[96m\e[1mStarry
10 root 0:00 {busybox} sh --login
21 root 0:00 nginx
22 root 0:00 {busybox} ps auxMetadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request