Re: [ANNOUNCEMENT] cygwin 3.3.3-1 [with DEPRECATION NOTES]

2022-01-31 Thread Corinna Vinschen
On Jan 28 11:41, Andrey Repin wrote:
> Greetings, Corinna Vinschen!
> 
> > Hi Andrey,
> 
> > On Jan 26 19:34, Andrey Repin wrote:
> >> Greetings, Corinna Vinschen via Cygwin-announce!
> >> [...]
> >> $ /usr/bin/d2u ./Localization.lua
> >> dos2unix: Failed to change the permissions of temporary output file 
> >> ./d2utmpEBELkH: Permission denied
> >> dos2unix: problems converting file ./Localization.lua
> 
> > I could easily reproduce your problem, which I introduced myself into
> > Cygwin 3.3.2.  At the time I was wrestling with a new Samba version and
> > thought I have seen a problem with permissions.  However, I don't know
> > how to reproduce the problem because it just doesn't show up anymore.
> 
> I could arrange a debug session, if you need.

As I wrote, I could reproduce your problem easily.  What I can't
reproduce is the original problem I thought I have seen back when I
pushed the patch breaking your scenario.

> > So I just reverted the patch.  It worked this way for years.
> 
> > I also created new developer snapshots for testing.  I guess it's
> > about time for a 3.3.4 release...
> 
> Simple retry completed without an error on the snapshot Cygwin DLL.

Thanks for testing,
Corinna

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


Re: [ANNOUNCEMENT] cygwin 3.3.3-1 [with DEPRECATION NOTES]

2022-01-28 Thread Andrey Repin
Greetings, Corinna Vinschen!

> Hi Andrey,

> On Jan 26 19:34, Andrey Repin wrote:
>> Greetings, Corinna Vinschen via Cygwin-announce!
>> 
>> > The following packages have been uploaded to the Cygwin distribution:
>> 
>> > * cygwin-3.3.3-1
>> > * cygwin-devel-3.3.3-1
>> > * cygwin-doc-3.3.3-1
>> 
>> It seems there's some network shares problem going on with 3.3
>> 
>> I've got a problem with recent Cygwin and some old scripts of mine.
>> Particularly, the script at one point trying to normalize EOL's in a file so
>> that following operations run smooth.
>> 
>> But the step fails with message about permission changes.
>> The problem is,
>> 1. the file is located on a network share and
>> 2. it is a noacl share.
>> 
>> The scripts were running fine several months ago and nothing has сhanged on
>> host and remore except Cygwin itself.
>> 
>> $ ls -ld . ./Localization.lua
>> drwxr-xr-x 1 anrdaemon None 0 Jan  2 12:07 .
>> -rw-r--r-- 1 anrdaemon None 32212 Jan  1 14:32 ./Localization.lua
>> 
>> $ /usr/bin/d2u ./Localization.lua
>> dos2unix: Failed to change the permissions of temporary output file 
>> ./d2utmpEBELkH: Permission denied
>> dos2unix: problems converting file ./Localization.lua

> I could easily reproduce your problem, which I introduced myself into
> Cygwin 3.3.2.  At the time I was wrestling with a new Samba version and
> thought I have seen a problem with permissions.  However, I don't know
> how to reproduce the problem because it just doesn't show up anymore.

I could arrange a debug session, if you need.

> So I just reverted the patch.  It worked this way for years.

> I also created new developer snapshots for testing.  I guess it's
> about time for a 3.3.4 release...

Simple retry completed without an error on the snapshot Cygwin DLL.


-- 
With best regards,
Andrey Repin
Friday, January 28, 2022 11:40:01

Sorry for my terrible english...

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


Re: [ANNOUNCEMENT] cygwin 3.3.3-1 [with DEPRECATION NOTES]

2022-01-27 Thread Corinna Vinschen
Hi Andrey,

On Jan 26 19:34, Andrey Repin wrote:
> Greetings, Corinna Vinschen via Cygwin-announce!
> 
> > The following packages have been uploaded to the Cygwin distribution:
> 
> > * cygwin-3.3.3-1
> > * cygwin-devel-3.3.3-1
> > * cygwin-doc-3.3.3-1
> 
> It seems there's some network shares problem going on with 3.3
> 
> I've got a problem with recent Cygwin and some old scripts of mine.
> Particularly, the script at one point trying to normalize EOL's in a file so
> that following operations run smooth.
> 
> But the step fails with message about permission changes.
> The problem is,
> 1. the file is located on a network share and
> 2. it is a noacl share.
> 
> The scripts were running fine several months ago and nothing has сhanged on
> host and remore except Cygwin itself.
> 
> $ ls -ld . ./Localization.lua
> drwxr-xr-x 1 anrdaemon None 0 Jan  2 12:07 .
> -rw-r--r-- 1 anrdaemon None 32212 Jan  1 14:32 ./Localization.lua
> 
> $ /usr/bin/d2u ./Localization.lua
> dos2unix: Failed to change the permissions of temporary output file 
> ./d2utmpEBELkH: Permission denied
> dos2unix: problems converting file ./Localization.lua

I could easily reproduce your problem, which I introduced myself into
Cygwin 3.3.2.  At the time I was wrestling with a new Samba version and
thought I have seen a problem with permissions.  However, I don't know
how to reproduce the problem because it just doesn't show up anymore.
So I just reverted the patch.  It worked this way for years.

I also created new developer snapshots for testing.  I guess it's
about time for a 3.3.4 release...


Thanks,
Corinna

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


Re: [ANNOUNCEMENT] cygwin 3.3.3-1 [with DEPRECATION NOTES]

2022-01-26 Thread Andrey Repin
Greetings, Andrey Repin!

> Greetings, Corinna Vinschen via Cygwin-announce!

>> The following packages have been uploaded to the Cygwin distribution:

>> * cygwin-3.3.3-1
>> * cygwin-devel-3.3.3-1
>> * cygwin-doc-3.3.3-1

> It seems there's some network shares problem going on with 3.3

> I've got a problem with recent Cygwin and some old scripts of mine.
> Particularly, the script at one point trying to normalize EOL's in a file so
> that following operations run smooth.

> But the step fails with message about permission changes.
> The problem is,
> 1. the file is located on a network share and
> 2. it is a noacl share.

> The scripts were running fine several months ago and nothing has сhanged on
> host and remote except Cygwin itself.

> $ ls -ld . ./Localization.lua
> drwxr-xr-x 1 anrdaemon None 0 Jan  2 12:07 .
> -rw-r--r-- 1 anrdaemon None 32212 Jan  1 14:32 ./Localization.lua

> $ /usr/bin/d2u ./Localization.lua
> dos2unix: Failed to change the permissions of temporary output file 
> ./d2utmpEBELkH: Permission denied
> dos2unix: problems converting file ./Localization.lua

> $ getfacl . ./Localization.lua
> getfacl: .: Not supported

> getfacl: ./Localization.lua: Not supported

> $ icacls Localization.lua
> Localization.lua No mapping between account names and security IDs was done. 
> (I)(F)
>  No mapping between account names and security IDs was done. 
> (I)(RX)
>  All:(I)(RX)

> Successfully processed 1 files; Failed processing 0 files

> Saved SID's are domain ones

> Localization.lua
> D:(A;ID;FA;;;S-1-5-21-2269650170-3990761244-2407083512-1105)
> (A;ID;0x1200a9;;;S-1-5-21-2269650170-3990761244-2407083512-513)
> (A;ID;0x1200a9;;;WD)

> Where S-1-5-21-2269650170-3990761244-2407083512-1105 is mine.

> # file: Localization.lua
> # owner: anrdaemon
> # group: domain\040users
> user::rwx
> user:anrdaemon:rwx
> group::r-x
> group:domain\040users:r-x
> mask::rwx
> other::r-x

> Client PC is not part of the domain, but user name and password do match.
> Again, rolling back to 3.2 restores the operation.

I've found a working domain client VM, and the issue remains even in domain
environment. Which is surprising, to say the least. And this is no antivirus
issue, as there's no any AV installed on the client VM.

> Cygwin Package Information
> Package  VersionStatus
> cygwin   3.3.3-1OK
> dos2unix 7.4.2-1OK

> cygcheck output attached.
> Strace output attached as well, but it's rather short.

> Downgrading to Cygwin 3.2.0 resolved the problem.

> Anything else I can do to provide more information?


-- 
With best regards,
Andrey Repin
Wednesday, January 26, 2022 21:47:56

Sorry for my terrible english...

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


[ANNOUNCEMENT] cygwin 3.3.3-1 [with DEPRECATION NOTES]

2021-12-03 Thread Corinna Vinschen via Cygwin-announce
The following packages have been uploaded to the Cygwin distribution:

* cygwin-3.3.3-1
* cygwin-devel-3.3.3-1
* cygwin-doc-3.3.3-1

==
   IMPORTANT DEPRECATION NOTES
==

- Cygwin 3.3 is the LAST major version supporting

  - Windows Vista
  - Windows Server 2008

- Cygwin 3.3 is the LAST major version supporting 32 bit installations.

  If you're using 32 bit Cygwin in WOW64 on 64 bit machines, consider
  to move to a real 64 bit Cygwin installation in the next couple of
  months.

  If you're using 32 bit Cygwin on real 32 bit hardware or on WOW64 on
  ARM64, don't be alarmed.  The current installations including all
  Cygwin 3.3.x versions will continue to run on your system.  You just
  wont get any more updates starting with Cygwin 3.4.0.

- Cygwin 3.4, which will probably be release at some point in 2022,
  will be the LAST version supporting

  - Windows 7
  - Windows Server 2008 R2
  - Windows 8
  - Windows Server 2012

There are no plans to deprecate support for 64 bit systems starting with
Windows 8.1 / Windows Server 2012 R2 any time soon.

==

Bug Fixes
-

- Fix issue that new pipe code doesn't handle size zero pipe which
  may be created by non-cygwin apps.
  Addresses: https://cygwin.com/pipermail/cygwin/2021-November/249844.html

- Make sure that "X:" paths are not handled as absolute DOS paths in
  fstatat and other ...at calls.  "X:/" still is handled as absolute
  path.
  Addresses: https://cygwin.com/pipermail/cygwin/2021-November/249837.html

- Fix showing DLL version info from native Windows tools.
  Addresses: https://cygwin.com/pipermail/cygwin/2021-November/249867.html

- Handle Unicode surrogate pairs in console. Cygwin console does not
  handle surrogate pairs correctly at the moment.  Fix issue that
  running bash in Windows Terminal and inserting an emoji does not
  work as expected.
  Addresses: https://github.com/git-for-windows/git/issues/3281

- Fix long-standing problem that fchmod or facl on newly created files
  screw up the DOS file attributes.
  Addresses: https://cygwin.com/pipermail/cygwin/2021-November/249909.html

- Fix issue that pipe read()/write() occasionally returns a garbage
  length when NtReadFile/NtWriteFile returns STATUS_PENDING in non-
  blocking mode.
  Addresses: https://cygwin.com/pipermail/cygwin/2021-November/249910.html

- Fix two bugs in raise(2).
  Addresses: https://cygwin.com/pipermail/cygwin/2021-November/249973.html

- Fix regression in printf introduced with Cygwin 3.3.2.
  Addresses: https://cygwin.com/pipermail/cygwin/2021-November/249930.html

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