delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/08/01:48:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 8 Oct 2004 15:47:53 +1000 (EST)
From: luke DOT kendall AT cisra DOT canon DOT com DOT au
Subject: Re: Spurious "You have multiple copies of cygwin1.dll on your syste m."
To: cygwin AT cygwin DOT com
In-Reply-To: <20041008035949.B73D785136@pessard.research.canon.com.au>
MIME-Version: 1.0
Message-Id: <20041008054754.36E3585136@pessard.research.canon.com.au>

On  8 Oct, luke DOT kendall AT cisra DOT canon DOT com DOT au wrote:
>  Now to see if I can find where /etc/profile went, and if no joy, try 
>  again with the modified scripts and new knowledge... 

No joy.  /etc/profile, passwd, and group were simply missing.

Even doing a grep for /etc/profile in setup.log and .full showed no
errors or warnings that mentioned /etc/profile.  (In fact, a grep -i
for warning or error only showed installation of files with that as part
of their name - i.e. it seemed like a clean install).

It seems possible to me that it's something I've done wrong.  I'll
scrub Cygwin again from the test machine and try again with my
improved scripts.

The reason I suspect me, is that /etc/passwd didn't exist, even after
running the script that runs the mkpasswd and mgroup commands to fully
populate both.

There is a /etc/defaults/etc/profile, it just doesn't seem to have
been installed.  Maybe a side-effect of doing a mount of "/" in the previous
test attempt before this last one.

Anyway, I'll try again now.

BTW, since Dave Korn replied to this:

> > I freely confess I'm doing something unusual.  Maybe I'm the first
> > person on the planet to attempt to automate Cygwin installation via a
> > shell script from an already existing and stable copy of Cygwin
> > installed elsewhere on the network?

Dave:

> It's possible.  Is there a reason you aren't using setup.exe?  It's
> automatable and easily customisable and it has the benefit in this situation
> of being a plain non-cygwin win32 exe.

I should clarify that I *am* using Cygwin's setup.exe - the scripts just
do all the other automation around that:

    Advise installer of local URLs for local stable/latest cygwin mirrors.
    Report on completeness/incompleteness of local mirror, with
    warning if incomplete.
    Start appropriate setup.exe for them (stable/latest), with extra arguments.
    Fix problem in WindowMaker by modifying "exitscript".
    Provide simple, reliable, flexible X startup script.
    Detect home mount point for local conventions.
    Setup home directory upon 1st login.
    Configure sshd.
    Check ownership of and fix /etc/ssh* and /var/empty.
    Fix enscript.cfg to use A4 for paper size.
    Configure ssmtp for local settings.
    Install extra local utility files.
    Test for updated local utility files and auto-install any.
    Setup links to various local network utilities.
    Add .sh script under /etc/profile.d for extra local login stuff.
    Create some extra desktop shortcuts and Start Menu Cygwin menu items.
    Setup default .xinitrc and .profile.
    Provide auto-remapping of shared drives when laptops are off network.
    Install CygwinPromptHere.
    Fix X font problem on stable Cygwin snapshot; fix man JNROFF stuff on
    latest Cygwin snapshot.

And possibly other things I've forgotten.

luke



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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