public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-fs/samba/files: samba-init
       [not found] <20100511115325.092B22C04D@corvid.gentoo.org>
@ 2010-05-20 13:34 ` Peter Volkov
  2010-05-20 13:46   ` Fabian Groffen
  2010-05-20 14:06   ` Patrick Lauer
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Volkov @ 2010-05-20 13:34 UTC (permalink / raw
  To: gentoo-dev, patrick; +Cc: gentoo-commits

В Втр, 11/05/2010 в 11:53 +0000, Patrick Lauer (patrick) пишет:
>  start() {
> +	# we can't assume that /var/run/ is persistent, so create dir if needed
> +	[ ! -e /var/run/samba ] && mkdir /var/run/samba

Why? Is it impossible to create /var/run/samba during src_install?

-- 
Peter.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-fs/samba/files: samba-init
  2010-05-20 13:34 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-fs/samba/files: samba-init Peter Volkov
@ 2010-05-20 13:46   ` Fabian Groffen
  2010-05-20 14:06   ` Patrick Lauer
  1 sibling, 0 replies; 3+ messages in thread
From: Fabian Groffen @ 2010-05-20 13:46 UTC (permalink / raw
  To: gentoo-dev

On 20-05-2010 17:34:04 +0400, Peter Volkov wrote:
> В Втр, 11/05/2010 в 11:53 +0000, Patrick Lauer (patrick) пишет:
> >  start() {
> > +	# we can't assume that /var/run/ is persistent, so create dir if needed
> > +	[ ! -e /var/run/samba ] && mkdir /var/run/samba
> 
> Why? Is it impossible to create /var/run/samba during src_install?

http://www.pathname.com/fhs/2.2/fhs-5.13.html


-- 
Fabian Groffen
Gentoo on a different level



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-fs/samba/files: samba-init
  2010-05-20 13:34 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-fs/samba/files: samba-init Peter Volkov
  2010-05-20 13:46   ` Fabian Groffen
@ 2010-05-20 14:06   ` Patrick Lauer
  1 sibling, 0 replies; 3+ messages in thread
From: Patrick Lauer @ 2010-05-20 14:06 UTC (permalink / raw
  To: Peter Volkov; +Cc: gentoo-dev

On 05/20/10 15:34, Peter Volkov wrote:
> В Втр, 11/05/2010 в 11:53 +0000, Patrick Lauer (patrick) пишет:
>>  start() {
>> +	# we can't assume that /var/run/ is persistent, so create dir if needed
>> +	[ ! -e /var/run/samba ] && mkdir /var/run/samba
> 
> Why? Is it impossible to create /var/run/samba during src_install?
> 

In this case the problem is people having /var/run as tmpfs
Personally I don't get it, but these people don't have persistence
across reboots, so we please them by adding this check.

More info in bug 301263, as the commit msg says.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-05-20  9:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20100511115325.092B22C04D@corvid.gentoo.org>
2010-05-20 13:34 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-fs/samba/files: samba-init Peter Volkov
2010-05-20 13:46   ` Fabian Groffen
2010-05-20 14:06   ` Patrick Lauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox