On Tue, 21 Oct 2003, Grossniklaus Bruno wrote:
> Hello Igor
>
> >if [ ! -d /var/log ] ; then \
> > mkdir -p /var/log ;
> >fi
> >if [ ! -f /var/log/wtmp ] ; then \
> > touch /var/log/wtmp ;
> >fi
> >
> >FWIW, it'd be safer to also check whether this file is a symlink (i.e.,
> >add "-a ! -l /var/l
Hello Igor
>if [ ! -d /var/log ] ; then \
> mkdir -p /var/log ;
>fi
>if [ ! -f /var/log/wtmp ] ; then \
> touch /var/log/wtmp ;
>fi
>
>FWIW, it'd be safer to also check whether this file is a symlink (i.e.,
>add "-a ! -l /var/log/wtmp" to the test), but this should do for now.
What about a chmo
On Mon, 20 Oct 2003, Jason Tishler wrote:
> Bruno,
>
> On Mon, Oct 20, 2003 at 03:58:28PM +0200, Grossniklaus Bruno wrote:
> > >$ 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?
>
> Sorry I don't reca
On Mon, Oct 20, 2003 at 11:33:33AM -0400, Jason Tishler wrote:
> I'm not sure what package should be responsible for creating
> /var/log/wtmp.
Probably the base-files package should do it.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer
Bruno,
On Mon, Oct 20, 2003 at 03:58:28PM +0200, Grossniklaus Bruno wrote:
> >$ 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?
Sorry I don't recall, but I think I created it myself.
> Now I have:
> $ ls
On Mon, 20 Oct 2003, Grossniklaus Bruno wrote:
> Hello Igor
>
> >/var/log/wtmp should be created by the cygutils package postinstall
>
> cygutils does not have a postinstall script (?)
Oops, you're right. It used to, though, back in 2002, and that's what I
found on my system... Apparently, noth
Hello Igor
>/var/log/wtmp should be created by the cygutils package postinstall
cygutils does not have a postinstall script (?)
$ cygcheck.exe -c | grep cygu
cygutils 1.2.1-2OK
$ cygcheck -l cygutils
/usr/bin/ascii.exe
/usr/bin/banner.exe
/usr/bin/cal.exe
/usr/bin/col.ex
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 ins
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
Bruno,
On Mon, Oct 20, 2003 at 01:18:15PM +0200, Grossniklaus Bruno wrote:
> I think /etc/postinstall/proftpd.sh has to create /var/log/wtmp (?) if
> it does not yet exist.
AFAICT, no:
$ ls -l /var/log/wtmp
-rw-rw-rw-1 jt Domain U 132748 Oct 15 17:27 /var/log/wtmp
Jason
--
Problems
- wtmp /var/log/wtmp: No such file or directory
Versions
* ProFTPD 1.2.9rc2 (devel)
(built Sun Oct 5 14:06:16 EDT 2003) standalone mode
* 949k 2003/09/20 c:\apps\cygwin\bin\cygwin1.dll
Cygwin DLL version info:
DLL version: 1.5.5
DLL epoch: 19
DL
11 matches
Mail list logo