Re: [gentoo-dev] [PATCH] acct-user.eclass: ignore missing directory in preinst

2019-08-16 Thread Jaco Kroon
Hi, On 2019/08/15 16:47, Mike Gilbert wrote: > On Thu, Aug 15, 2019 at 8:33 AM Michael Orlitzky wrote: >> On 8/15/19 3:19 AM, Ulrich Mueller wrote: >>> I don't think that's a sane situation, so maybe the eclass should just >>> die here? (Basically, there are two possibilities: Either, things wil

Re: [gentoo-dev] [PATCH] acct-user.eclass: ignore missing directory in preinst

2019-08-15 Thread Mike Gilbert
On Thu, Aug 15, 2019 at 8:33 AM Michael Orlitzky wrote: > > On 8/15/19 3:19 AM, Ulrich Mueller wrote: > > > > I don't think that's a sane situation, so maybe the eclass should just > > die here? (Basically, there are two possibilities: Either, things will > > break if the dir is missing, then dyin

Re: [gentoo-dev] [PATCH] acct-user.eclass: ignore missing directory in preinst

2019-08-15 Thread Michael Orlitzky
On 8/15/19 3:19 AM, Ulrich Mueller wrote: > > I don't think that's a sane situation, so maybe the eclass should just > die here? (Basically, there are two possibilities: Either, things will > break if the dir is missing, then dying might be the best option. > Or, everything works without the dir,

Re: [gentoo-dev] [PATCH] acct-user.eclass: ignore missing directory in preinst

2019-08-15 Thread Ulrich Mueller
> On Thu, 15 Aug 2019, Mike Gilbert wrote: > + # Path might be missing due to INSTALL_MASK, etc. > + # https://bugs.gentoo.org/691478 > + if [[ -e "${ED}/${ACCT_USER_HOME#/}" ]]; then > + fowners "${ACCT_USER_HOME_OWNER}" "${ACCT_USER_HOM

Re: [gentoo-dev] [PATCH] acct-user.eclass: ignore missing directory in preinst

2019-08-14 Thread Michał Górny
On Wed, 2019-08-14 at 19:54 -0400, Mike Gilbert wrote: > Closes: https://bugs.gentoo.org/691478 > --- > eclass/acct-user.eclass | 8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --git a/eclass/acct-user.eclass b/eclass/acct-user.eclass > index 60009643c144..077f85417ce8 100

[gentoo-dev] [PATCH] acct-user.eclass: ignore missing directory in preinst

2019-08-14 Thread Mike Gilbert
Closes: https://bugs.gentoo.org/691478 --- eclass/acct-user.eclass | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/eclass/acct-user.eclass b/eclass/acct-user.eclass index 60009643c144..077f85417ce8 100644 --- a/eclass/acct-user.eclass +++ b/eclass/acct-user.eclass @@ -3