www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/10/27/07:06:11

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Date: Sat, 27 Oct 2001 13:01:09 +0200
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
X-Mailer: The Bat! (v1.53d)
Reply-To: cyga <cygwin-apps AT cygwin DOT com>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <97601084613.20011027130109@familiehaase.de>
To: cygp <cygwin-patches AT cygwin DOT com>
CC: cyga <cygwin-apps AT cygwin DOT com>
Subject: Re: setup clobbers passwd
In-Reply-To: <047e01c15ece$5dd5c850$0300a8c0@ufo>
References: <047e01c15ece$5dd5c850$0300a8c0 AT ufo>
MIME-Version: 1.0
X-Hops: 1
X-Sender: 320081107336-0001 AT t-dialin DOT net

Hallo Trevor,

Am 2001-10-27 um 12:01 schriebst du:

> The attached simple patch fixes the problem of  passwd being reset everytime
> setup is run.

> "Rename" fails if a file named "*.done" exists therefore you end up with two
> files in the /etc/postinstall named passwd-grp.bat.done and passwd-grp.bat.
> Consequently,  passwd-grp.bat clobbers your passwd every time setup is run.
> So how do you end up in this position ---- delete your passwd and group
> files after you have run setup for the first time.     I suspect this is
> happening to many users .........

O.k., I see the problem, but why is there created a second passwd-grp.bat?
I have one file there: passwd-grp.bat.done, there was never created a second
passwd-grp.bat, so how could this happen?

> The patched setup will fix the problem the first time it is run,
> unfortunately, this first time run will still reset the passwd and group
> files. However, the problem will be fixed thereafter.

We will get a lot of questions at the list, "why was my /etc/passwd
recreated...?" and all the problems reported the last time because of
big domains and so.

Fup2 cygwin-apps

Ciao,

Gerrit P. Haase                            mailto:gp AT familiehaase DOT de
-- 
=^..^=

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019