You are not logged in.

#1 2020-09-22 13:46:03

vikasdobhal
Member
Registered: 2020-06-14
Posts: 12

Error while installing lxdm

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

#2 2020-09-22 14:30:33

solskog
Member
Registered: 2020-09-05
Posts: 462

Re: Error while installing lxdm

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

#3 2020-09-22 14:33:24

loqs
Member
Registered: 2014-03-06
Posts: 19,043

Re: Error while installing lxdm

Please post the output of the following in code tags:

stat / /etc

Offline

#4 2020-09-22 17:54:11

vikasdobhal
Member
Registered: 2020-06-14
Posts: 12

Re: Error while installing lxdm

solskog wrote:

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

#5 2020-09-22 17:56:18

loqs
Member
Registered: 2014-03-06
Posts: 19,043

Re: Error while installing lxdm

Please post the output requested not a description of it.
Edit:
Also the output of

# SYSTEMD_LOG_LEVEL=7 systemd-tmpfiles --create

Last edited by loqs (2020-09-22 18:01:20)

Offline

#6 2020-09-23 18:53:27

vikasdobhal
Member
Registered: 2020-06-14
Posts: 12

Re: Error while installing lxdm

loqs wrote:

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

#7 2020-09-23 18:56:49

vikasdobhal
Member
Registered: 2020-06-14
Posts: 12

Re: Error while installing lxdm

loqs wrote:

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

#8 2020-09-23 19:03:01

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Error while installing lxdm

Offline

#9 2020-09-23 19:04:40

loqs
Member
Registered: 2014-03-06
Posts: 19,043

Re: Error while installing lxdm

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

#10 2020-09-23 19:12:30

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: Error while installing lxdm

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

#11 2020-09-23 19:51:52

vikasdobhal
Member
Registered: 2020-06-14
Posts: 12

Re: Error while installing lxdm

2ManyDogs wrote:

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

#12 2020-09-23 19:52:48

vikasdobhal
Member
Registered: 2020-06-14
Posts: 12

Re: Error while installing lxdm

loqs wrote:
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

#13 2020-09-23 19:57:15

loqs
Member
Registered: 2014-03-06
Posts: 19,043

Re: Error while installing lxdm

What is the updated output of

stat / /etc
# SYSTEMD_LOG_LEVEL=7 systemd-tmpfiles --create

Offline

#14 2020-09-23 20:25:39

vikasdobhal
Member
Registered: 2020-06-14
Posts: 12

Re: Error while installing lxdm

loqs wrote:

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

#15 2020-09-23 20:28:10

loqs
Member
Registered: 2014-03-06
Posts: 19,043

Re: Error while installing lxdm

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

Board footer

Powered by FluxBB