Open aconte31 opened 2 years ago
Hello,
It is not really an issue directly linked to the plugin but i need help
I can't edit the file /etc/netbox/config/configuration.py. Because the file system is in RO mode.
bash-5.1# cat /proc/mounts overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay2/l/2SGW7SRNNQ55GZAJXMJIYFCWEZ:/var/lib/docker/overlay2/l/E4TCRUCEJPEXFWRQUE2WGPPJ5M:/var/lib/docker/overlay2/l/STASXONPBF3XGPHKAXZ2KDIPVI:/var/lib/docker/overlay2/l/S5QYAMWSASJEDQTOZ53YCMZYSV:/var/lib/docker/overlay2/l/TUD3B4YD4ZT4CWEEC3Y4UO4R7C:/var/lib/docker/overlay2/l/XU5OAOHP3QHYSH2YBSHDTTYRGQ:/var/lib/docker/overlay2/l/EN77NSLI272YW5QHECYFQCJ73Q:/var/lib/docker/overlay2/l/JQELIKUU5SPSBI67ZFAXQRSLLB:/var/lib/docker/overlay2/l/O566GNBNU5BBGQZRZSK5UJRMAM:/var/lib/docker/overlay2/l/6WHLCCHIETQZ26KU67P4PKBABH:/var/lib/docker/overlay2/l/4E3ERTGF6DUGNHKLNJ2NOX6GCH:/var/lib/docker/overlay2/l/GZ3RXEDEMPCLPMJP4PC7E34B2U:/var/lib/docker/overlay2/l/CJG53PFBXDTZMHTHY2T72LAJ2D:/var/lib/docker/overlay2/l/BYTSU3366XT5ZJR5MO334FM3MI:/var/lib/docker/overlay2/l/D5CLK7GCEWRRMR43JZFUBRTAH7:/var/lib/docker/overlay2/l/U457BGXUK5EYEBKVHHE2PMQ6RC:/var/lib/docker/overlay2/l/CM37OD74WLLIPMHTJDOTNBMLG4:/var/lib/docker/overlay2/l/SERQD2PRB5ROPJ4B3RMVJ3NYRK:/var/lib/docker/overlay2/l/BXRR75SWD4RPYT4526MWJRH2T3,upperdir=/var/lib/docker/overlay2/be77dbde04c5bc51f50225be680effface1fefb416734e425f0fd74ad7e02660/diff,workdir=/var/lib/docker/overlay2/be77dbde04c5bc51f50225be680effface1fefb416734e425f0fd74ad7e02660/work 0 0 proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0 tmpfs /dev tmpfs rw,nosuid,size=65536k,mode=755 0 0 devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=666 0 0 sysfs /sys sysfs ro,nosuid,nodev,noexec,relatime 0 0 cgroup /sys/fs/cgroup cgroup2 ro,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot 0 0 mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0 /dev/sda1 /etc/resolv.conf ext4 rw,relatime,discard,errors=remount-ro 0 0 /dev/sda1 /etc/hostname ext4 rw,relatime,discard,errors=remount-ro 0 0 /dev/sda1 /etc/hosts ext4 rw,relatime,discard,errors=remount-ro 0 0 shm /dev/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=65536k 0 0 /dev/sda1 /etc/netbox/config ext4 ro,relatime,discard,errors=remount-ro 0 0 /dev/sda1 /etc/netbox/scripts ext4 ro,relatime,discard,errors=remount-ro 0 0 /dev/sda1 /opt/netbox/startup_scripts ext4 ro,relatime,discard,errors=remount-ro 0 0 /dev/sda1 /etc/netbox/reports ext4 ro,relatime,discard,errors=remount-ro 0 0 /dev/sda1 /opt/netbox/initializers ext4 ro,relatime,discard,errors=remount-ro 0 0 /dev/sda1 /opt/netbox/netbox/media ext4 rw,relatime,discard,errors=remount-ro 0 0 proc /proc/bus proc ro,relatime 0 0 proc /proc/fs proc ro,relatime 0 0 proc /proc/irq proc ro,relatime 0 0 proc /proc/sys proc ro,relatime 0 0 proc /proc/sysrq-trigger proc ro,relatime 0 0 tmpfs /proc/acpi tmpfs ro,relatime 0 0 tmpfs /proc/kcore tmpfs rw,nosuid,size=65536k,mode=755 0 0 tmpfs /proc/keys tmpfs rw,nosuid,size=65536k,mode=755 0 0 tmpfs /proc/timer_list tmpfs rw,nosuid,size=65536k,mode=755 0 0 tmpfs /proc/sched_debug tmpfs rw,nosuid,size=65536k,mode=755 0 0 tmpfs /sys/firmware tmpfs ro,relatime 0 0
I tried this command:
bash-5.1# mount -o remount,rw '/etc/netbox/config' mount: can't find /etc/netbox/config in /proc/mounts
I am stuck at this point. If anyone has an idea.
Best regards.
Hello,
It is not really an issue directly linked to the plugin but i need help
I can't edit the file /etc/netbox/config/configuration.py. Because the file system is in RO mode.
bash-5.1# cat /proc/mounts overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay2/l/2SGW7SRNNQ55GZAJXMJIYFCWEZ:/var/lib/docker/overlay2/l/E4TCRUCEJPEXFWRQUE2WGPPJ5M:/var/lib/docker/overlay2/l/STASXONPBF3XGPHKAXZ2KDIPVI:/var/lib/docker/overlay2/l/S5QYAMWSASJEDQTOZ53YCMZYSV:/var/lib/docker/overlay2/l/TUD3B4YD4ZT4CWEEC3Y4UO4R7C:/var/lib/docker/overlay2/l/XU5OAOHP3QHYSH2YBSHDTTYRGQ:/var/lib/docker/overlay2/l/EN77NSLI272YW5QHECYFQCJ73Q:/var/lib/docker/overlay2/l/JQELIKUU5SPSBI67ZFAXQRSLLB:/var/lib/docker/overlay2/l/O566GNBNU5BBGQZRZSK5UJRMAM:/var/lib/docker/overlay2/l/6WHLCCHIETQZ26KU67P4PKBABH:/var/lib/docker/overlay2/l/4E3ERTGF6DUGNHKLNJ2NOX6GCH:/var/lib/docker/overlay2/l/GZ3RXEDEMPCLPMJP4PC7E34B2U:/var/lib/docker/overlay2/l/CJG53PFBXDTZMHTHY2T72LAJ2D:/var/lib/docker/overlay2/l/BYTSU3366XT5ZJR5MO334FM3MI:/var/lib/docker/overlay2/l/D5CLK7GCEWRRMR43JZFUBRTAH7:/var/lib/docker/overlay2/l/U457BGXUK5EYEBKVHHE2PMQ6RC:/var/lib/docker/overlay2/l/CM37OD74WLLIPMHTJDOTNBMLG4:/var/lib/docker/overlay2/l/SERQD2PRB5ROPJ4B3RMVJ3NYRK:/var/lib/docker/overlay2/l/BXRR75SWD4RPYT4526MWJRH2T3,upperdir=/var/lib/docker/overlay2/be77dbde04c5bc51f50225be680effface1fefb416734e425f0fd74ad7e02660/diff,workdir=/var/lib/docker/overlay2/be77dbde04c5bc51f50225be680effface1fefb416734e425f0fd74ad7e02660/work 0 0 proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0 tmpfs /dev tmpfs rw,nosuid,size=65536k,mode=755 0 0 devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=666 0 0 sysfs /sys sysfs ro,nosuid,nodev,noexec,relatime 0 0 cgroup /sys/fs/cgroup cgroup2 ro,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot 0 0 mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0 /dev/sda1 /etc/resolv.conf ext4 rw,relatime,discard,errors=remount-ro 0 0 /dev/sda1 /etc/hostname ext4 rw,relatime,discard,errors=remount-ro 0 0 /dev/sda1 /etc/hosts ext4 rw,relatime,discard,errors=remount-ro 0 0 shm /dev/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=65536k 0 0 /dev/sda1 /etc/netbox/config ext4 ro,relatime,discard,errors=remount-ro 0 0 /dev/sda1 /etc/netbox/scripts ext4 ro,relatime,discard,errors=remount-ro 0 0 /dev/sda1 /opt/netbox/startup_scripts ext4 ro,relatime,discard,errors=remount-ro 0 0 /dev/sda1 /etc/netbox/reports ext4 ro,relatime,discard,errors=remount-ro 0 0 /dev/sda1 /opt/netbox/initializers ext4 ro,relatime,discard,errors=remount-ro 0 0 /dev/sda1 /opt/netbox/netbox/media ext4 rw,relatime,discard,errors=remount-ro 0 0 proc /proc/bus proc ro,relatime 0 0 proc /proc/fs proc ro,relatime 0 0 proc /proc/irq proc ro,relatime 0 0 proc /proc/sys proc ro,relatime 0 0 proc /proc/sysrq-trigger proc ro,relatime 0 0 tmpfs /proc/acpi tmpfs ro,relatime 0 0 tmpfs /proc/kcore tmpfs rw,nosuid,size=65536k,mode=755 0 0 tmpfs /proc/keys tmpfs rw,nosuid,size=65536k,mode=755 0 0 tmpfs /proc/timer_list tmpfs rw,nosuid,size=65536k,mode=755 0 0 tmpfs /proc/sched_debug tmpfs rw,nosuid,size=65536k,mode=755 0 0 tmpfs /sys/firmware tmpfs ro,relatime 0 0
I tried this command:
bash-5.1# mount -o remount,rw '/etc/netbox/config' mount: can't find /etc/netbox/config in /proc/mounts
I am stuck at this point. If anyone has an idea.
Best regards.