This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: man.conf missing after cygwin upgrade


> Please make sure your mailer respects the Reply-To: header -- 
> I set it for
> a reason.  There's no need to Cc: me on the messages, as I 
> read the list.

Thank you for pointing this out! It's done correct now.

> On Tue, 5 Jul 2005, FischRon.external wrote:
> > I found that all in a while, a file created under cygwin ends up
> > with permission 000...
> 
> This usually indicates wrong directory permissions on higher-level
> directories.  Could you please post the output of "getfacl 
> /usr /usr/share
> /usr/share/misc" (seeing as you've already posted the output 
> of "getfacl
> /").

~ $ getfacl /usr /usr/share /usr/share/misc
# file: /usr
# owner: Administrators
# group: mkpasswd
user::rwx
group::---
group:SYSTEM:rwx
mask:rwx
other:---
default:user:Administrators:rwx
default:group:SYSTEM:rwx
default:mask:rwx

# file: /usr/share
# owner: Administrators
# group: mkpasswd
user::rwx
group::---
group:SYSTEM:rwx
mask:rwx
other:---
default:user:Administrators:rwx
default:group:SYSTEM:rwx
default:mask:rwx

# file: /usr/share/misc
# owner: fischron
# group: Users
user::rwx
group::rwx
group:SYSTEM:rwx
group:Administrators:rwx
mask:rwx
other:rwx
default:group:SYSTEM:rwx
default:group:Administrators:rwx
default:mask:rwx

Looks correct, doesn't it?

> > > If you haven't run setup since upgrading man, see if
> > > /var/log/setup.log.full has any messages from 
> /etc/postinstall/man.sh.
> >
> > Nothing useful. man.sh is mentioned only once:
> >
> >     Installing file cygfile:///etc/postinstall/man.sh
> 
> Very weird.  So the postinstall script didn't run?

The log file has a lot of lines saying "Installing file .....
postinstall ....",
but at the end, when it comes to actually running the postinstall files,
I
see in the log only the following:

2005/07/04 12:33:17 running: C:\cygwin\bin\sh.exe -c
/etc/postinstall/cron.sh
2005/07/04 12:33:19 running: C:\cygwin\bin\sh.exe -c
/etc/postinstall/cygwin-doc.sh
2005/07/04 12:33:19 running: C:\cygwin\bin\sh.exe -c
/etc/postinstall/d.sh
2005/07/04 12:33:20 running: C:\cygwin\bin\sh.exe -c
/etc/postinstall/emacs.sh
2005/07/04 12:33:25 mbox note: Installation Complete
2005/07/04 12:33:28 Ending cygwin install

Just to mention a few, the following postinstall files were *not* run
according
to the log file:

cygfile:///etc/postinstall/base-files-mketc.sh
cygfile:///etc/postinstall/man.sh
cygfile:///etc/postinstall/pdksh.sh
cygfile:///etc/postinstall/wget.sh
cygfile:///etc/postinstall/update-info-dir.sh

and many, many more.

Do you recommend that I run all the other postinstall scripts manually,
like
I did with man.sh?

> > The only thing which might look like an error message does not seem
> > related to the man problem:
> >
> >    2005/07/04 12:27:54 zsh
> >    2005/07/04 12:27:54 running: C:\cygwin\bin\sh.exe -c 
> /etc/postinstall/base-files-mketc.sh
> >    Unknown system type ; exiting
> 
> That's even weirder.  What does "uname -a" show?  You should 
> not get that
> message on Win2k Pro (as your previously attached cygcheck output
> indicates).

CYGWIN_NT-5.0 mucw0291 1.5.18(0.132/4/2) 2005-07-02 20:30 i686 unknown
unknown Cygwin


> 
> > > You should re-run /etc/postinstall/man.sh.done
> >
> > I guess you mean: /etc/postinstall/man.sh  - there is no file
> > /etc/postinstall/man.sh.done
> 
> No, I meant /etc/postinstall/man.sh.done, since I didn't 
> realize that the
> postinstall script didn't run.  

But there is no file of this name!

~ $ ls /etc/postinstall
XFree86-fenc.sh.done                 lynx.sh
XFree86-fnts.sh.done                 man.sh
XFree86-lib.sh.done                  passwd-grp.sh
XFree86-xserv.sh.done                passwd-grp.sh.done
base-files-mketc.sh.done             pdksh.sh
base-files-profile.sh.done           pinfo.sh
bzip2.sh.done                        pinfo.sh.done
cron.sh.done                         post-texmf.sh
cygwin-doc-postinstall.sh.done       readline.sh.done
cygwin-doc.sh.done                   terminfo.sh
d.sh.done                            terminfo.sh.done
emacs.sh                             tidy.sh
enscript.sh                          tidy.sh.done
enscript.sh.done                     update-info-dir.sh
fontconfig.sh                        update-info-dir.sh.done
freetype2.sh                         wget.sh
gcc-mingw-core-3.4.4-20050522-1.tgz  xorg-x11-fenc.sh
gcc-mingw-core.sh                    xorg-x11-fnts.sh
gcc-mingw-java-3.4.4-20050522-1.tgz  xorg-x11-libs-data.sh
gcc-mingw-java.sh                    xorg-x11-xwin.sh
libgdbm-devel.sh.done                zsh-profile.sh

> If you still haven't run 
> setup since that
> fateful man installation 

no, I didn't

> (or if you kept a separate copy of 
> it), please
> post /var/log/setup.log.full to the list -- something weird happened
> during your install, and, hopefully, the log will show it.

I've attached it gzipped.

> Hmm, hopefully the Cygwin security experts will chime in 
> here.  All I can
> tell is the fact that the directory is owned by a group, and 
> that you have
> default permissions, looks suspicious.  Does your /etc/passwd 
> contain the
> Administrators user?

Yes, it does:

~ $ fgrep Administrators /etc/passwd
Administrators:*:544:544:,S-1-5-32-544::

Regards,

Ronald

Attachment: setup.log.full.gz
Description: setup.log.full.gz

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]