Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
samba and /var/lock
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Rion
Guru
Guru


Joined: 12 Oct 2006
Posts: 376
Location: Ekaterinburg, Russia

PostPosted: Tue Jan 09, 2018 4:36 am    Post subject: samba and /var/lock Reply with quote

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?
_________________
~amd64
rion-overlay
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4974
Location: Dark side of the mood

PostPosted: Thu Jan 11, 2018 11:29 am    Post subject: Reply with quote

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
View user's profile Send private message
Rion
Guru
Guru


Joined: 12 Oct 2006
Posts: 376
Location: Ekaterinburg, Russia

PostPosted: Fri Jan 12, 2018 4:00 am    Post subject: Reply with quote

yeah. my case.
I just fixed it manually.
thanks
_________________
~amd64
rion-overlay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum