systemd 관련 질문 입니다.
글쓴이: study / 작성시간: 목, 2023/04/27 - 2:33오전
임베디드 보드에 buildroot를 써서 rootfs를 만들었고, 그걸로 부팅을 하는데 root filesystem 이 read only 로 마운트가 되었네요
이유를 찾아보다가, systemd-remount-fs.service가 inactive상태인걸 발견했습니다.
그리고, systemd-remount-fs.service파일을 열어보니까 거기에 local-fs-pre.target이라는게
있다는 걸 알게되었구요
# systemctl status local-fs-pre.target이라고 실행해보니까
이것역시
Active: inactive (dead)
라고 나오네요
이걸다시 systemctl restart local-fs-pre.target 이라고 해보면
Failed to restart local-fs-pre.target이라고 나오구요
# systemctl restart systemd-remount-fs.service라고 하면
Job for systemd-remount-fs.service failed becuase the control process exited with error code
라고 나오네요
일단은 왜 local-fs-pre.target이 inactive (dead)인지 이유를 알아야 다음 문제도 이해가 될 것 같은데
비슷한 경험을 해보신 분이 계시면, 조언 부탁드립니다.
Forums:
댓글 달기