Commit 8d75bb39 authored by jan.koester's avatar jan.koester
Browse files

rootfs: group wheel (gid 10, root) for su; nas-itx: ksmbd/knfsd built in

fresh's su only lets members of wheel switch users, and no rootfs had the
group. ksmbd and knfsd were modules nothing loads at boot, so webctl's
SMB/NFS services failed with 'this kernel has no ksmbd/knfsd'.

Co-Authored-By: default avatarClaude Opus 5.5 <noreply@anthropic.com>
parent d05a92c9
Loading
Loading
Loading
Loading
+4 −3
Changes for boards/nas-itx/kernel.config: 4 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -117,10 +117,11 @@ CONFIG_INET=y
CONFIG_IPV6=y
CONFIG_PACKET=y

# --- NAS services (as on x86_64: modules) ---
# --- NAS services: built in -- as modules nothing loaded them at boot
# (storaged/sharedd found no ksmbd/knfsd)
CONFIG_NETWORK_FILESYSTEMS=y
CONFIG_SMB_SERVER=m
CONFIG_NFSD=m
CONFIG_SMB_SERVER=y
CONFIG_NFSD=y
CONFIG_NFSD_V4=y
# software RAID built in (a NAS): the md core has no device alias, so as a
# module nothing loaded it at boot -- no /proc/mdstat, no /dev/md*
+4 −0
Changes for build-chroot.sh: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -820,6 +820,10 @@ EOF
  passwd: x
  gid: 0
  members: []
- name: wheel
  passwd: x
  gid: 10
  members: [root]
- name: sshd
  passwd: x
  gid: 74
+4 −0
Changes for build-cross.sh: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -422,6 +422,10 @@ EOF
  passwd: x
  gid: 0
  members: []
- name: wheel
  passwd: x
  gid: 10
  members: [root]
- name: sshd
  passwd: x
  gid: 74