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: TEST RELEASE: Cygwin 1.7.33-0.7


> -----Original Message-----
> From: Pierre A. Humblet 
> Sent: Thursday, November 06, 2014 16:09
> 
> > -----Original Message-----
> > From: Corinna Vinschen
> > Sent: Thursday, November 06, 2014 13:51
> >
> > On Nov  6 13:38, Kelley Cook wrote:
> > > On Thu, Nov 6, 2014 at 10:52 AM, Corinna Vinschen wrote:
> > > > Hi Cygwin friends and users,
> > > >
> > > >
> > > > I just released a 7th TEST version of the next upcoming Cygwin
> > > > release, 1.7.33-0.7.
> > > >
> > >
> > > I discovered that /usr/bin/cron-config which is part of the cron
> > > package will need to be updated as it attempts to parse /etc/group .
> >
> > Right, it should use getent instead.  Pierre?
> 
> Right, and ditto for exim config and postinstall How much time do I have?
> 
> Now cron-config checks if a username appears multiple times in passwd.
> Typically one instance is a domain id and the other one is a local id.
> That causes havoc with cron
> It happens fairly frequently; there was even such a "bug report" recently.
> 
> How does getent handle that case? Is it detectable from a config file?
 
Corinna

I just realized that deleting the /etc/passwd file in existing domain systems may change usernames, which will break cron and other programs that use files named after usernames. Also the (local) privileged username will change.

For now I have made the following changes to cron-config:
  calling getent
  checking if /etc/passwd exists
  dealing with the extended names for privileged users (they may contain a +, don't use EREs)  
Do you intend to keep mkpasswd/mkgroup ?

I still don't have a 64 bit system, but it's coming this year. It will take me some time to prepare a new cron package and get familiar with the new package upload procedure. 
I am attaching a cron-config diff. Feel free to update the 32 and 64 bit cron packages if you want that done quickly.
cronbug does not seem to require any changes.

Pierre

Attachment: cron-config.diff
Description: Binary data

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

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