Skip to content

[feature request] 支持运行 nginx #100

@PaiGack

Description

@PaiGack

现在运行在 starryos arm64 上运行 nginx 存在如下问题

  1. 安装 nginx 缺少 /run/nginx 目录,推测是运行时自动创建目录报错
  2. 手动使用 mdkir -p /run/nginx 创建目录失败,只能先切换到 /run 目录下才能创建
  3. 创建目录后运行 nginx 报错 fs ioctl 缺失 21586
  4. 可能还有其他报错

附安装运行命令

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 aux

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions