You are not logged in.
Pages: 1
I was installing arch freshly with the help of wiki-arch installation guide.
Everything was fine in installation but when I give the command to install lightdm or lxdm below error occurred :-
#pacman -S lxdm
Running in chroot, ignoring command 'daemon-reload'
(3/5) Creating temporary files...
Detected unsafe path transition / - /etc during canonicalization of /etc
Which is followed by same message with var also instead of etc
Kindly advised.
Offline
I suppose you were using archiso install. When that error occurred, you were still inside that arch-chroot environment? Systemd services can't start/reload inside a chroot environment. If you are finished with bootloader, go ahead restart and boot into your new Arch
system and continue from there instead.
Offline
Please post the output of the following in code tags:
stat / /etcOffline
I suppose you were using archiso install. When that error occurred, you were still inside that arch-chroot environment? Systemd services can't start/reload inside a chroot environment. If you are finished with bootloader, go ahead restart and boot into your new Arch
system and continue from there instead.
I have already tried that also but the same issue is repeating, earlier I had install the arch from same iso and same method. I also check the owner of these directory which is root.
Offline
Please post the output requested not a description of it.
Edit:
Also the output of
# SYSTEMD_LOG_LEVEL=7 systemd-tmpfiles --createLast edited by loqs (2020-09-22 18:01:20)
Offline
Please post the output of the following in code tags:
stat / /etc
https://i.imgur.com/4uhN4Qs.jpg
moderator edit -- replaced oversized image with link.
Pasting pictures and code
Last edited by 2ManyDogs (2020-09-23 19:09:26)
Offline
Please post the output requested not a description of it.
Edit:
Also the output of# SYSTEMD_LOG_LEVEL=7 systemd-tmpfiles --create
https://i.imgur.com/1SxrIWb.jpg
moderator edit -- replaced oversized image with link.
Pasting pictures and code
Last edited by 2ManyDogs (2020-09-23 19:09:44)
Offline
Read https://wiki.archlinux.org/index.php/Co … s_and_code
Immediately
Offline
stat / /etc
File: /
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 80ah/2058d Inode: 2 Links: 17
Access: (0755/drwxr-xr-x) Uid: ( 1000/ unknown) Gid: ( 1000/ unknown)
.../ Is not owned by root:root. If you change its ownership to root:root does that fix the issue?
Offline
vikasdobhal, as Scimmia says, please read the Code of Conduct and stop posting images of text; post the actual text, and use code tags.
Offline
vikasdobhal, as Scimmia says, please read the Code of Conduct and stop posting images of text; post the actual text, and use code tags.
Sorry, I'll take care that in future.
Offline
stat / /etc File: / Size: 4096 Blocks: 8 IO Block: 4096 directory Device: 80ah/2058d Inode: 2 Links: 17 Access: (0755/drwxr-xr-x) Uid: ( 1000/ unknown) Gid: ( 1000/ unknown) .../ Is not owned by root:root. If you change its ownership to root:root does that fix the issue?
Ownership change to root but no luck.
Offline
What is the updated output of
stat / /etc
# SYSTEMD_LOG_LEVEL=7 systemd-tmpfiles --createOffline
What is the updated output of
stat / /etc # SYSTEMD_LOG_LEVEL=7 systemd-tmpfiles --create
It's very long output so already posted through link earlier.
Offline
See the tip box from pastebin to post output directly to a pastebin.
You changed the ownership of / but the stat output is the same?
Offline
Pages: 1