delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/20/10:08:27

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Mon, 20 Oct 2003 10:08:06 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Grossniklaus Bruno <grossnik DOT mailinglists AT bluewin DOT ch>
cc: cygwin AT cygwin DOT com
Subject: Re: ProFTPD 1.2.9rc2: "missing /var/log/wtmp"
In-Reply-To: <3F710B1D00098A62@mssbzhh-int.msg.bluewin.ch>
Message-ID: <Pine.GSO.4.56.0310201005440.15002@slinky.cs.nyu.edu>
References: <3F710B1D00098A62 AT mssbzhh-int DOT msg DOT bluewin DOT ch>
Importance: Normal
MIME-Version: 1.0

On Mon, 20 Oct 2003, Grossniklaus Bruno wrote:

> Hello Jason
>
> >    $ ls -l /var/log/wtmp
> >    -rw-rw-rw-    1 jt       Domain U   132748 Oct 15 17:27 /var/log/wtmp
>
> And how/when did you get this dir?
> I removed the the hole cygwin installation, installed the basic distro and
> finally installed a few packages (like proftpd)
>
> Now I have:
> $ ls -l /var/log/
> insgesamt 258
> -rwxrwxrwx+   1 admin-se Users       16077 20. Oct 15:44 setup.log
> -rwxrwxrwx+   1 admin-se Users      247243 20. Oct 15:44 setup.log.full
>
> There is no /var/log/wtmp
>
> Do we have to create /var/log/wtmp manually?
>
> Best Regards
> Bruno
>
>
> My installed packages are:
>
> Cygwin Package Information
> Package              Version            Status
> [snip]
> cygutils             1.2.1-2            OK
> [snip]

Bruno,

/var/log/wtmp should be created by the cygutils package postinstall
script:

$ pwd
/etc/postinstall
$ grep wtmp *
cygutils.sh.done:if [ ! -f /var/log/wtmp ] ; then \
cygutils.sh.done:  touch /var/log/wtmp ;
$

FWIW, I agree that if proftpd requires /var/log/wtmp, its postinstall
script should attempt to create it (if it's not there).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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