View previous topic :: View next topic |
Author |
Message |
Rion Guru


Joined: 12 Oct 2006 Posts: 380 Location: Minsk, Belarus
|
Posted: Tue Jan 09, 2018 4:36 am Post subject: samba and /var/lock |
|
|
Just noticed next in the installation log of samba
Code: | * Installation of a directory is blocked by a file:
* '/var/lock'
* This file will be renamed to a different name:
* '/var/lock.backup.0000' |
This is a fresh installation of Gentoo. And in the latest stage3 /var/lock is a symlink to /run/lock while /run/lock does not exist at all.
So after installation of samba /var/lock is not a symlink anymore but a real directory.
Is it at a kind of bug? _________________ rion-overlay |
|
Back to top |
|
 |
VinzC Watchman


Joined: 17 Apr 2004 Posts: 5093 Location: Dark side of the mood
|
Posted: Thu Jan 11, 2018 11:29 am Post subject: |
|
|
This error happens essentially when installing in a chroot, which has incomplete mounts, such as /run — I've just been hit as well. This error doesn't occur if you install samba on a running [Gentoo] system. So one obvious workaround is to Code: | mount -t tmpfs none /mnt/gentoo/run && mkdir /mnt/gentoo/run/lock | before chrooting. _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
 |
Rion Guru


Joined: 12 Oct 2006 Posts: 380 Location: Minsk, Belarus
|
Posted: Fri Jan 12, 2018 4:00 am Post subject: |
|
|
yeah. my case.
I just fixed it manually.
thanks _________________ rion-overlay |
|
Back to top |
|
 |
|