public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config
@ 2012-02-08 20:13 Tom Schutter
  2012-02-08 20:30 ` Corinna Vinschen
  0 siblings, 1 reply; 18+ messages in thread
From: Tom Schutter @ 2012-02-08 20:13 UTC (permalink / raw)
  To: cygwin

It appears that the "-v" option to passwd was changed to "-V" in
cygwin-1.7.10.1.  This indirectly breaks the ssh-host-config script.
The actual breakage is in the csih script.

*** Info: User 'cyg_server' has been created with password 'XXXXX'.
*** Info: If you change the password, please remember also to change the
*** Info: password for the installed services which use (or will soon use)
*** Info: the 'cyg_server' account.

*** Info: Also keep in mind that the user 'cyg_server' needs read permissions
*** Info: on all users' relevant files for the services running as
'cyg_server'.
*** Info: In particular, for the sshd server all users' .ssh/authorized_keys
*** Info: files must have appropriate permissions to allow public key
*** Info: authentication. (Re-)running ssh-user-config for each user will set
*** Info: these permissions correctly. [Similar restrictions apply, for
*** Info: instance, for .rhosts files if the rshd server is running, etc].

passwd: unknown option -- v
Try `passwd --help' for more information.
*** Warning: User 'cyg_server' has password expiry set to system default.
*** Warning: Please check that password never expires or set it to your
needs.

*** Info: The sshd service has been installed under the 'cyg_server'
*** Info: account.  To start the service now, call `net start sshd' or
*** Info: `cygrunsrv -S sshd'.  Otherwise, it will start automatically
*** Info: after the next reboot.

$ cygcheck -f /usr/bin/ssh-host-config
openssh-5.9p1-1

$ cygcheck -f /usr/share/csih/cygwin-service-installation-helper.sh
csih-0.9.4-1

$ cygcheck -f /usr/bin/passwd
cygwin-1.7.10-1

$ grep "passwd -v" /usr/share/csih/cygwin-service-installation-helper.sh
        passwd_has_expiry_flags=$(passwd -v | /usr/bin/awk '/^passwd
/{print ( $3 >=
1.5 ) ? "yes" : "no";}')

$ passwd -v
passwd: unknown option -- v
Try `passwd --help' for more information.

$ passwd --help | grep -- -v
  -V, --version            output version information and exit.

But on a machine with cygwin-1.7.9-1,

$ passwd --help | grep -- -v
  -v, --version            output version information and exit.

This would be a proper problem report if I could actually send an email from
my corporate account where I detected the problem.  Sorry.

-- 
Tom Schutter
t.schutter@comcast.net


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config
  2012-02-08 20:13 Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config Tom Schutter
@ 2012-02-08 20:30 ` Corinna Vinschen
  2012-02-09  6:10   ` Charles Wilson
  0 siblings, 1 reply; 18+ messages in thread
From: Corinna Vinschen @ 2012-02-08 20:30 UTC (permalink / raw)
  To: cygwin

On Feb  8 13:12, Tom Schutter wrote:
> It appears that the "-v" option to passwd was changed to "-V" in
> cygwin-1.7.10.1.  This indirectly breaks the ssh-host-config script.
> The actual breakage is in the csih script.
> [...]
> $ grep "passwd -v" /usr/share/csih/cygwin-service-installation-helper.sh
>         passwd_has_expiry_flags=$(passwd -v | /usr/bin/awk '/^passwd
> /{print ( $3 >=
> 1.5 ) ? "yes" : "no";}')

Chuck, can we please remove this test in csih amd release a new version
ASAP?  The expiry stuff is from 2003 so we can safely assume its
existence.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config
  2012-02-08 20:30 ` Corinna Vinschen
@ 2012-02-09  6:10   ` Charles Wilson
  2012-02-09 11:05     ` Corinna Vinschen
  0 siblings, 1 reply; 18+ messages in thread
From: Charles Wilson @ 2012-02-09  6:10 UTC (permalink / raw)
  To: cygwin

On 2/8/2012 3:30 PM, Corinna Vinschen wrote:
> On Feb  8 13:12, Tom Schutter wrote:
>> It appears that the "-v" option to passwd was changed to "-V" in
>> cygwin-1.7.10.1.  This indirectly breaks the ssh-host-config script.
>> The actual breakage is in the csih script.
>> [...]
>> $ grep "passwd -v" /usr/share/csih/cygwin-service-installation-helper.sh
>>          passwd_has_expiry_flags=$(passwd -v | /usr/bin/awk '/^passwd
>> /{print ( $3>=
>> 1.5 ) ? "yes" : "no";}')
>
> Chuck, can we please remove this test in csih amd release a new version
> ASAP?  The expiry stuff is from 2003 so we can safely assume its
> existence.

Especially as csih-0.9.x requires cygwin-1.7.

I've uploaded a csih-0.9.5-1 as a 'test' release.  Changes:

* native/Makefile: Avoid -mno-cygwin and gcc3; use mingw cross compiler.
* native/winProductName.c (GetOSDisplayString): Support
   Windows 8 and Windows Server 8. Improve support for various
   Microsoft OS products.
* New functions csih_is_windows8(), csih_is_exactly_windows8(),
   and csih_is_exactly_windows8server().
* In csih_account_has_necessary_privileges(), no longer attempt to
   validate membership in Administrators group -- the test doesn't
   work properly on domains anyway. Just try to set the necessary
   rights and report error if the operation fails. Reported by
   Corinna Vinschen.
* In csih_create_privileged_user(), don't attempt to check whether
   /usr/bin/passwd has the -e option; all versions of passwd shipped
   with cygwin-1.7.x support it. Reported by Tom Schutter.
* Fixed bug related to the various existing csih_is_exactly_*
   functions.




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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config
  2012-02-09  6:10   ` Charles Wilson
@ 2012-02-09 11:05     ` Corinna Vinschen
  2012-02-22 17:48       ` Andrew DeFaria
  0 siblings, 1 reply; 18+ messages in thread
From: Corinna Vinschen @ 2012-02-09 11:05 UTC (permalink / raw)
  To: cygwin

On Feb  9 01:09, Charles Wilson wrote:
> On 2/8/2012 3:30 PM, Corinna Vinschen wrote:
> >On Feb  8 13:12, Tom Schutter wrote:
> >>It appears that the "-v" option to passwd was changed to "-V" in
> >>cygwin-1.7.10.1.  This indirectly breaks the ssh-host-config script.
> >>The actual breakage is in the csih script.
> >>[...]
> >>$ grep "passwd -v" /usr/share/csih/cygwin-service-installation-helper.sh
> >>         passwd_has_expiry_flags=$(passwd -v | /usr/bin/awk '/^passwd
> >>/{print ( $3>=
> >>1.5 ) ? "yes" : "no";}')
> >
> >Chuck, can we please remove this test in csih amd release a new version
> >ASAP?  The expiry stuff is from 2003 so we can safely assume its
> >existence.
> 
> Especially as csih-0.9.x requires cygwin-1.7.
> 
> I've uploaded a csih-0.9.5-1 as a 'test' release.  Changes:
> 
> * native/Makefile: Avoid -mno-cygwin and gcc3; use mingw cross compiler.
> * native/winProductName.c (GetOSDisplayString): Support
>   Windows 8 and Windows Server 8. Improve support for various
>   Microsoft OS products.
> * New functions csih_is_windows8(), csih_is_exactly_windows8(),
>   and csih_is_exactly_windows8server().
> * In csih_account_has_necessary_privileges(), no longer attempt to
>   validate membership in Administrators group -- the test doesn't
>   work properly on domains anyway. Just try to set the necessary
>   rights and report error if the operation fails. Reported by
>   Corinna Vinschen.
> * In csih_create_privileged_user(), don't attempt to check whether
>   /usr/bin/passwd has the -e option; all versions of passwd shipped
>   with cygwin-1.7.x support it. Reported by Tom Schutter.
> * Fixed bug related to the various existing csih_is_exactly_*
>   functions.

Cool, thanks.  Additionally I added the -v option back to passwd so
that older csih scripts don't fail either for that reason.  It's
not visible in the usage but passwd diligently prints the version
information.  I've just generated a snapshot which contains this
change.  See the latest snapshot from http://cygwin.com/snapshots/


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config
  2012-02-09 11:05     ` Corinna Vinschen
@ 2012-02-22 17:48       ` Andrew DeFaria
  2012-02-22 20:56         ` Corinna Vinschen
  2012-02-22 21:35         ` Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config Charles Wilson
  0 siblings, 2 replies; 18+ messages in thread
From: Andrew DeFaria @ 2012-02-22 17:48 UTC (permalink / raw)
  To: cygwin

On 2/9/2012 3:04 AM, Corinna Vinschen wrote:
> On Feb  9 01:09, Charles Wilson wrote:
>> On 2/8/2012 3:30 PM, Corinna Vinschen wrote:
>>> On Feb  8 13:12, Tom Schutter wrote:
>>>> It appears that the "-v" option to passwd was changed to "-V" in
>>>> cygwin-1.7.10.1.  This indirectly breaks the ssh-host-config script.
>>>> The actual breakage is in the csih script.
>>>> [...]
>>>> $ grep "passwd -v" /usr/share/csih/cygwin-service-installation-helper.sh
>>>>          passwd_has_expiry_flags=$(passwd -v | /usr/bin/awk '/^passwd
>>>> /{print ( $3>=
>>>> 1.5 ) ? "yes" : "no";}')
>>> Chuck, can we please remove this test in csih amd release a new version
>>> ASAP?  The expiry stuff is from 2003 so we can safely assume its
>>> existence.
>> Especially as csih-0.9.x requires cygwin-1.7.
>>
>> I've uploaded a csih-0.9.5-1 as a 'test' release.  Changes:
>>
>> * native/Makefile: Avoid -mno-cygwin and gcc3; use mingw cross compiler.
>> * native/winProductName.c (GetOSDisplayString): Support
>>    Windows 8 and Windows Server 8. Improve support for various
>>    Microsoft OS products.
>> * New functions csih_is_windows8(), csih_is_exactly_windows8(),
>>    and csih_is_exactly_windows8server().
>> * In csih_account_has_necessary_privileges(), no longer attempt to
>>    validate membership in Administrators group -- the test doesn't
>>    work properly on domains anyway. Just try to set the necessary
>>    rights and report error if the operation fails. Reported by
>>    Corinna Vinschen.
>> * In csih_create_privileged_user(), don't attempt to check whether
>>    /usr/bin/passwd has the -e option; all versions of passwd shipped
>>    with cygwin-1.7.x support it. Reported by Tom Schutter.
>> * Fixed bug related to the various existing csih_is_exactly_*
>>    functions.
> Cool, thanks.  Additionally I added the -v option back to passwd so
> that older csih scripts don't fail either for that reason.  It's
> not visible in the usage but passwd diligently prints the version
> information.  I've just generated a snapshot which contains this
> change.  See the latest snapshot from http://cygwin.com/snapshots/
What's the status of this? I saw this error too but I assumed it was 
because the machine I was on had two different versions of Cygwin. 
Checking my personal machine, on which I only have one version of Cygwin 
- 1.7.10, I have the call to passwd -v in 
/usr/share/csih/cygwin-service-installation-helper.sh. Also:

$ cygcheck -c csih
Cygwin Package Information
Package              Version        Status
csih                 0.9.4-1        OK
-- 
Andrew DeFaria <http://defaria.com>
Deja Fu: The feeling that you've screwed this up before.


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config
  2012-02-22 17:48       ` Andrew DeFaria
@ 2012-02-22 20:56         ` Corinna Vinschen
  2012-02-22 21:35           ` Andrew DeFaria
  2012-02-22 21:35         ` Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config Charles Wilson
  1 sibling, 1 reply; 18+ messages in thread
From: Corinna Vinschen @ 2012-02-22 20:56 UTC (permalink / raw)
  To: cygwin

On Feb 22 09:48, Andrew DeFaria wrote:
> On 2/9/2012 3:04 AM, Corinna Vinschen wrote:
> >On Feb  9 01:09, Charles Wilson wrote:
> >>I've uploaded a csih-0.9.5-1 as a 'test' release.  Changes:
> >>[...]
> >Cool, thanks.  Additionally I added the -v option back to passwd so
> >that older csih scripts don't fail either for that reason.  It's
> >not visible in the usage but passwd diligently prints the version
> >information.  I've just generated a snapshot which contains this
> >change.  See the latest snapshot from http://cygwin.com/snapshots/
> What's the status of this? I saw this error too but I assumed it was
> because the machine I was on had two different versions of Cygwin.
> Checking my personal machine, on which I only have one version of
> Cygwin - 1.7.10, I have the call to passwd -v in
> /usr/share/csih/cygwin-service-installation-helper.sh. Also:
> 
> $ cygcheck -c csih
> Cygwin Package Information
> Package              Version        Status
> csih                 0.9.4-1        OK

There was no new announcement for csih, right?  So you can safely
assume that nothing new happened.  0.9.5-1 is still in the "test"
category, so you don't get it by default, but you can download it via
setup.exe for testing.

Since there was no new Cygwin release, you can just as safely assume
that the change is only available in the developer snapshots.  Just
give it a try.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config
  2012-02-22 17:48       ` Andrew DeFaria
  2012-02-22 20:56         ` Corinna Vinschen
@ 2012-02-22 21:35         ` Charles Wilson
  2012-02-23  8:47           ` Corinna Vinschen
  1 sibling, 1 reply; 18+ messages in thread
From: Charles Wilson @ 2012-02-22 21:35 UTC (permalink / raw)
  To: cygwin

On 2/22/2012 12:48 PM, Andrew DeFaria wrote:
>> On Feb  9 01:09, Charles Wilson wrote:
>>> I've uploaded a csih-0.9.5-1 as a 'test' release.  Changes:
>>>
>>> * native/Makefile: Avoid -mno-cygwin and gcc3; use mingw cross compiler.
>>> * native/winProductName.c (GetOSDisplayString): Support
>>>    Windows 8 and Windows Server 8. Improve support for various
>>>    Microsoft OS products.
>>> * New functions csih_is_windows8(), csih_is_exactly_windows8(),
>>>    and csih_is_exactly_windows8server().
>>> * In csih_account_has_necessary_privileges(), no longer attempt to
>>>    validate membership in Administrators group -- the test doesn't
>>>    work properly on domains anyway. Just try to set the necessary
>>>    rights and report error if the operation fails. Reported by
>>>    Corinna Vinschen.
>>> * In csih_create_privileged_user(), don't attempt to check whether
>>>    /usr/bin/passwd has the -e option; all versions of passwd shipped
>>>    with cygwin-1.7.x support it. Reported by Tom Schutter.
>>> * Fixed bug related to the various existing csih_is_exactly_*
>>>    functions.

> What's the status of this?

Still in test mode. I haven't heard back from the OP whether this change
to csih fixed his error (and didn't break anything else).

--
Chuck

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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config
  2012-02-22 20:56         ` Corinna Vinschen
@ 2012-02-22 21:35           ` Andrew DeFaria
  2012-02-23  0:12             ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 18+ messages in thread
From: Andrew DeFaria @ 2012-02-22 21:35 UTC (permalink / raw)
  To: cygwin

On 2/22/2012 12:55 PM, Corinna Vinschen wrote:
> On Feb 22 09:48, Andrew DeFaria wrote:
>> On 2/9/2012 3:04 AM, Corinna Vinschen wrote:
>>> On Feb  9 01:09, Charles Wilson wrote:
>>>> I've uploaded a csih-0.9.5-1 as a 'test' release.  Changes:
>>>> [...]
>>> Cool, thanks.  Additionally I added the -v option back to passwd so
>>> that older csih scripts don't fail either for that reason.  It's
>>> not visible in the usage but passwd diligently prints the version
>>> information.  I've just generated a snapshot which contains this
>>> change.  See the latest snapshot from http://cygwin.com/snapshots/
>> What's the status of this? I saw this error too but I assumed it was
>> because the machine I was on had two different versions of Cygwin.
>> Checking my personal machine, on which I only have one version of
>> Cygwin - 1.7.10, I have the call to passwd -v in
>> /usr/share/csih/cygwin-service-installation-helper.sh. Also:
>>
>> $ cygcheck -c csih
>> Cygwin Package Information
>> Package              Version        Status
>> csih                 0.9.4-1        OK
> There was no new announcement for csih, right?  So you can safely
> assume that nothing new happened.  0.9.5-1 is still in the "test"
> category, so you don't get it by default, but you can download it via
> setup.exe for testing.
>
> Since there was no new Cygwin release, you can just as safely assume
> that the change is only available in the developer snapshots.  Just
> give it a try.
I'm trying to update the Cygwin environment for my client and want to 
get to the latest version. But this one obviously has at least this bug. 
So they said I should get 1.7.9 as it's more stable. How would I do 
that? From what I've read briefly you just toggle the previous button 
but that's like for each package. I tried going to the previous version 
for this csih and the bug exists there too. So how exactly would I 
download a consistent set of Cygwin packages for 1.7.9?
-- 
Andrew DeFaria <http://defaria.com>
What is a "free" gift ? Aren't all gifts free?


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config
  2012-02-22 21:35           ` Andrew DeFaria
@ 2012-02-23  0:12             ` Larry Hall (Cygwin)
  2012-02-23  1:31               ` Andrew DeFaria
  0 siblings, 1 reply; 18+ messages in thread
From: Larry Hall (Cygwin) @ 2012-02-23  0:12 UTC (permalink / raw)
  To: cygwin

On 2/22/2012 4:35 PM, Andrew DeFaria wrote:
> On 2/22/2012 12:55 PM, Corinna Vinschen wrote:
>> On Feb 22 09:48, Andrew DeFaria wrote:
>>> On 2/9/2012 3:04 AM, Corinna Vinschen wrote:
>>>> On Feb 9 01:09, Charles Wilson wrote:
>>>>> I've uploaded a csih-0.9.5-1 as a 'test' release. Changes:
>>>>> [...]
>>>> Cool, thanks. Additionally I added the -v option back to passwd so
>>>> that older csih scripts don't fail either for that reason. It's
>>>> not visible in the usage but passwd diligently prints the version
>>>> information. I've just generated a snapshot which contains this
>>>> change. See the latest snapshot from http://cygwin.com/snapshots/
>>> What's the status of this? I saw this error too but I assumed it was
>>> because the machine I was on had two different versions of Cygwin.
>>> Checking my personal machine, on which I only have one version of
>>> Cygwin - 1.7.10, I have the call to passwd -v in
>>> /usr/share/csih/cygwin-service-installation-helper.sh. Also:
>>>
>>> $ cygcheck -c csih
>>> Cygwin Package Information
>>> Package Version Status
>>> csih 0.9.4-1 OK
>> There was no new announcement for csih, right? So you can safely
>> assume that nothing new happened. 0.9.5-1 is still in the "test"
>> category, so you don't get it by default, but you can download it via
>> setup.exe for testing.
>>
>> Since there was no new Cygwin release, you can just as safely assume
>> that the change is only available in the developer snapshots. Just
>> give it a try.
> I'm trying to update the Cygwin environment for my client and want to get to
> the latest version. But this one obviously has at least this bug. So they
> said I should get 1.7.9 as it's more stable. How would I do that? From what
> I've read briefly you just toggle the previous button but that's like for
> each package. I tried going to the previous version for this csih and the
> bug exists there too. So how exactly would I download a consistent set of
> Cygwin packages for 1.7.9?

If you're trying for consistency across the board, the prev button is the
closest you're going to get.  If you want to back down a package or few,
go to the package list and toggle through the available options until you
find the previous version.  I'd recommend this.

You're still very likely better off at least trying the snapshot so that
you and the rest of us know that the issue is resolved and moving forward
is a viable possibility.  After that, if you want to try to backup to a
previous version, you can do that with some confidence in the future. :-)

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config
  2012-02-23  0:12             ` Larry Hall (Cygwin)
@ 2012-02-23  1:31               ` Andrew DeFaria
  2012-02-23  1:46                 ` Larry Hall (Cygwin)
  2012-02-23 15:05                 ` Cygwin Time Machine gone? [Was: Re: Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config] Charles Wilson
  0 siblings, 2 replies; 18+ messages in thread
From: Andrew DeFaria @ 2012-02-23  1:31 UTC (permalink / raw)
  To: cygwin

On 2/22/2012 4:11 PM, Larry Hall (Cygwin) wrote:
> If you're trying for consistency across the board, the prev button is 
> the closest you're going to get.  If you want to back down a package 
> or few, go to the package list and toggle through the available 
> options until you find the previous version.  I'd recommend this.
I don't think you understand what I mean. First off I don't see a "prev 
button". At the top I see toggles that say Keep, Cur and Exp. Did you 
mean Keep? I don't think so.

For individual lines there is a "New" column and I'm familiar with the 
cycling behavior between things like Keep, Uninstall, Reinstall, Skip 
and current and older version numbers. But this is on a by package 
basis. What I'm asking for is a button or way to say "Oh this is 1.7.10. 
I want all of the Cygwin things that were associated with 1.7.9. Toggle 
all of the packages back to their versions that were released when 1.7.9 
was released". Maybe such a beast doesn't exist...
> You're still very likely better off at least trying the snapshot so 
> that you and the rest of us know that the issue is resolved and moving 
> forward is a viable possibility.  After that, if you want to try to 
> backup to a previous version, you can do that with some confidence in 
> the future. :-)
But I didn't hit this problem. Stated differently, when I ran 
ssh-host-config months ago it worked just fine.

I guess I could play around going to a snapshot and seeing if 
ssh-host-config works (or perhaps just change the passwd -v to passwd -V 
in the one script) but I'm trying to establish a known set of working 
Cygwin environment right now.
-- 
Andrew DeFaria <http://defaria.com>
Some people say "life is short". What?? Life is the longest damn thing 
anyone ever does!! What can you do that's longer?


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config
  2012-02-23  1:31               ` Andrew DeFaria
@ 2012-02-23  1:46                 ` Larry Hall (Cygwin)
  2012-02-23  4:45                   ` Andrew DeFaria
  2012-02-23 15:05                 ` Cygwin Time Machine gone? [Was: Re: Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config] Charles Wilson
  1 sibling, 1 reply; 18+ messages in thread
From: Larry Hall (Cygwin) @ 2012-02-23  1:46 UTC (permalink / raw)
  To: cygwin

On 2/22/2012 8:31 PM, Andrew DeFaria wrote:
> On 2/22/2012 4:11 PM, Larry Hall (Cygwin) wrote:
>> If you're trying for consistency across the board, the prev button is the
>> closest you're going to get. If you want to back down a package or few, go
>> to the package list and toggle through the available options until you
>> find the previous version. I'd recommend this.
> I don't think you understand what I mean. First off I don't see a "prev
> button". At the top I see toggles that say Keep, Cur and Exp. Did you mean
> Keep? I don't think so.
>
> For individual lines there is a "New" column and I'm familiar with the
> cycling behavior between things like Keep, Uninstall, Reinstall, Skip and
> current and older version numbers. But this is on a by package basis. What
> I'm asking for is a button or way to say "Oh this is 1.7.10. I want all of
> the Cygwin things that were associated with 1.7.9. Toggle all of the
> packages back to their versions that were released when 1.7.9 was released".
> Maybe such a beast doesn't exist...

Yup, that's essentially the heart of it.

>> You're still very likely better off at least trying the snapshot so that
>> you and the rest of us know that the issue is resolved and moving forward
>> is a viable possibility. After that, if you want to try to backup to a
>> previous version, you can do that with some confidence in the future. :-)
> But I didn't hit this problem. Stated differently, when I ran
> ssh-host-config months ago it worked just fine.

Sure.  And then things changed.

> I guess I could play around going to a snapshot and seeing if
> ssh-host-config works (or perhaps just change the passwd -v to passwd -V in
> the one script) but I'm trying to establish a known set of working Cygwin
> environment right now.

That's fine.  I'd recommend either grabbing a new snapshot or installing
the test version of csih.  Either is supposed to fix the problem.  And
either is better by most measures than trying to back up or make edits
locally.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config
  2012-02-23  1:46                 ` Larry Hall (Cygwin)
@ 2012-02-23  4:45                   ` Andrew DeFaria
  2012-02-23  5:02                     ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 18+ messages in thread
From: Andrew DeFaria @ 2012-02-23  4:45 UTC (permalink / raw)
  To: cygwin

On 02/22/2012 05:46 PM, Larry Hall (Cygwin) wrote:
> On 2/22/2012 8:31 PM, Andrew DeFaria wrote:
>> On 2/22/2012 4:11 PM, Larry Hall (Cygwin) wrote:
>>> If you're trying for consistency across the board, the prev button 
>>> is the
>>> closest you're going to get. If you want to back down a package or 
>>> few, go
>>> to the package list and toggle through the available options until you
>>> find the previous version. I'd recommend this.
>> I don't think you understand what I mean. First off I don't see a "prev
>> button". At the top I see toggles that say Keep, Cur and Exp. Did you 
>> mean
>> Keep? I don't think so.
>>
>> For individual lines there is a "New" column and I'm familiar with the
>> cycling behavior between things like Keep, Uninstall, Reinstall, Skip 
>> and
>> current and older version numbers. But this is on a by package basis. 
>> What
>> I'm asking for is a button or way to say "Oh this is 1.7.10. I want 
>> all of
>> the Cygwin things that were associated with 1.7.9. Toggle all of the
>> packages back to their versions that were released when 1.7.9 was 
>> released".
>> Maybe such a beast doesn't exist...
>
> Yup, that's essentially the heart of it.
So I said "Maybe it's this or maybe it's that" and you responded with 
essentially "yes". Thanks.
>>> You're still very likely better off at least trying the snapshot so 
>>> that
>>> you and the rest of us know that the issue is resolved and moving 
>>> forward
>>> is a viable possibility. After that, if you want to try to backup to a
>>> previous version, you can do that with some confidence in the 
>>> future. :-)
>> But I didn't hit this problem. Stated differently, when I ran
>> ssh-host-config months ago it worked just fine.
> Sure.  And then things changed.
Actually, you normally only run ssh-host-config once so while things 
might have changed normally I would not see nor care about them. It's 
because I'm trying to set up a base environment for my client that I've 
stumbled into this issue.
>> I guess I could play around going to a snapshot and seeing if
>> ssh-host-config works (or perhaps just change the passwd -v to passwd 
>> -V in
>> the one script) but I'm trying to establish a known set of working 
>> Cygwin
>> environment right now.
>
> That's fine.  I'd recommend either grabbing a new snapshot or installing
> the test version of csih.  Either is supposed to fix the problem.  And
> either is better by most measures than trying to back up or make edits
> locally.
Actually I believe I am capable of changing a "-v" -> "-V". I've been 
known to successfully accomplish such difficult feats before! Even with 
backups! ;-)
-- 
Andrew DeFaria <http://defaria.com>
Disinformation is not as good as datinformation.


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config
  2012-02-23  4:45                   ` Andrew DeFaria
@ 2012-02-23  5:02                     ` Larry Hall (Cygwin)
  2012-02-23 14:40                       ` Andrew DeFaria
  0 siblings, 1 reply; 18+ messages in thread
From: Larry Hall (Cygwin) @ 2012-02-23  5:02 UTC (permalink / raw)
  To: cygwin

On 2/22/2012 11:44 PM, Andrew DeFaria wrote:
> On 02/22/2012 05:46 PM, Larry Hall (Cygwin) wrote:

<snip>

>> Yup, that's essentially the heart of it.
> So I said "Maybe it's this or maybe it's that" and you responded with
> essentially "yes". Thanks.

If you need to hear something emphatic as well, then let me say there is
no way to get a particular configuration back using just "setup.exe".  The
old "Prev" button, which the documentation still refers to but you won't
find unless you have an old "setup.exe", was a kinda-sorta attempt at this
but in the end, not really.  If you want/need to install specific versions
of specific packages, the best way to control this is with your own mirror
or local package directory.  I expect you have some idea of how that would
work, given your familiarity with Cygwin.  Of course, in your case, this is
likely not useful information to you in your current predicament, since you
probably don't have all the previous versions of the packages you'd like to
install.  But it's something to consider for the future and in a more
general sense if this is something you need to control.

<snip>

>> Sure. And then things changed.
> Actually, you normally only run ssh-host-config once so while things might
> have changed normally I would not see nor care about them. It's because I'm
> trying to set up a base environment for my client that I've stumbled into
> this issue.

I understand, though the changes that you've noticed happened pretty
recently.

<snip>

> Actually I believe I am capable of changing a "-v" -> "-V". I've been known
> to successfully accomplish such difficult feats before! Even with backups! ;-)

In that case, enjoy. ;-)

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config
  2012-02-22 21:35         ` Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config Charles Wilson
@ 2012-02-23  8:47           ` Corinna Vinschen
  2012-02-23 15:08             ` Charles Wilson
  0 siblings, 1 reply; 18+ messages in thread
From: Corinna Vinschen @ 2012-02-23  8:47 UTC (permalink / raw)
  To: cygwin

On Feb 22 16:33, Charles Wilson wrote:
> On 2/22/2012 12:48 PM, Andrew DeFaria wrote:
> >> On Feb  9 01:09, Charles Wilson wrote:
> >>> I've uploaded a csih-0.9.5-1 as a 'test' release.  Changes:
> >>>
> >>> * native/Makefile: Avoid -mno-cygwin and gcc3; use mingw cross compiler.
> >>> * native/winProductName.c (GetOSDisplayString): Support
> >>>    Windows 8 and Windows Server 8. Improve support for various
> >>>    Microsoft OS products.
> >>> * New functions csih_is_windows8(), csih_is_exactly_windows8(),
> >>>    and csih_is_exactly_windows8server().
> >>> * In csih_account_has_necessary_privileges(), no longer attempt to
> >>>    validate membership in Administrators group -- the test doesn't
> >>>    work properly on domains anyway. Just try to set the necessary
> >>>    rights and report error if the operation fails. Reported by
> >>>    Corinna Vinschen.
> >>> * In csih_create_privileged_user(), don't attempt to check whether
> >>>    /usr/bin/passwd has the -e option; all versions of passwd shipped
> >>>    with cygwin-1.7.x support it. Reported by Tom Schutter.
> >>> * Fixed bug related to the various existing csih_is_exactly_*
> >>>    functions.
> 
> > What's the status of this?
> 
> Still in test mode. I haven't heard back from the OP whether this change
> to csih fixed his error (and didn't break anything else).

The changes in csih_account_has_necessary_privileges appear to do what
they should.  Just put it out of testing and see what happens.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config
  2012-02-23  5:02                     ` Larry Hall (Cygwin)
@ 2012-02-23 14:40                       ` Andrew DeFaria
  0 siblings, 0 replies; 18+ messages in thread
From: Andrew DeFaria @ 2012-02-23 14:40 UTC (permalink / raw)
  To: cygwin

On 02/22/2012 09:01 PM, Larry Hall (Cygwin) wrote:
> On 2/22/2012 11:44 PM, Andrew DeFaria wrote:
>> On 02/22/2012 05:46 PM, Larry Hall (Cygwin) wrote:
>
> <snip>
>
>>> Yup, that's essentially the heart of it.
>> So I said "Maybe it's this or maybe it's that" and you responded with
>> essentially "yes". Thanks.
> If you need to hear something emphatic as well, 
No I don't need something emphatic - just something that was not 
ambiguous... Apparently you didn't notice at all how you were not clear 
in your previous response. So be it.
-- 
Andrew DeFaria <http://defaria.com>
I was self-employed for two years, and boy was my boss a turkey! :-)


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Cygwin Time Machine gone? [Was: Re: Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config]
  2012-02-23  1:31               ` Andrew DeFaria
  2012-02-23  1:46                 ` Larry Hall (Cygwin)
@ 2012-02-23 15:05                 ` Charles Wilson
  2012-02-24  3:19                   ` Peter A. Castro
  1 sibling, 1 reply; 18+ messages in thread
From: Charles Wilson @ 2012-02-23 15:05 UTC (permalink / raw)
  To: cygwin

On 2/22/2012 8:31 PM, Andrew DeFaria wrote:
> For individual lines there is a "New" column and I'm familiar with the
> cycling behavior between things like Keep, Uninstall, Reinstall, Skip
> and current and older version numbers. But this is on a by package
> basis. What I'm asking for is a button or way to say "Oh this is 1.7.10.
> I want all of the Cygwin things that were associated with 1.7.9. Toggle
> all of the packages back to their versions that were released when 1.7.9
> was released". Maybe such a beast doesn't exist...

Well, there is the Cygwin Time Machine:
	http://www.fruitbat.org/Cygwin/index.html#cygwincirca
Unfortunately, it seems that the actual package repository has been
deleted -- at least if I surf to one of the snapshot dirs using firefox:

	ftp://www.fruitbat.org/pub/cygwin/circa/2012/02/22/024010/

Peter, is CTM dead? Or is it simply that 'ls' is disabled?

--
Chuck

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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config
  2012-02-23  8:47           ` Corinna Vinschen
@ 2012-02-23 15:08             ` Charles Wilson
  0 siblings, 0 replies; 18+ messages in thread
From: Charles Wilson @ 2012-02-23 15:08 UTC (permalink / raw)
  To: cygwin

On 2/23/2012 3:47 AM, Corinna Vinschen wrote:
> On Feb 22 16:33, Charles Wilson wrote:
>> On 2/22/2012 12:48 PM, Andrew DeFaria wrote:
>>>> On Feb  9 01:09, Charles Wilson wrote:
>>>>> I've uploaded a csih-0.9.5-1 as a 'test' release.  Changes:
>>> What's the status of this?
>>
>> Still in test mode. I haven't heard back from the OP whether this change
>> to csih fixed his error (and didn't break anything else).
> 
> The changes in csih_account_has_necessary_privileges appear to do what
> they should.  Just put it out of testing and see what happens.

Done. I'll send the announcement when I get home.

--
Chuck



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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Cygwin Time Machine gone? [Was: Re: Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config]
  2012-02-23 15:05                 ` Cygwin Time Machine gone? [Was: Re: Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config] Charles Wilson
@ 2012-02-24  3:19                   ` Peter A. Castro
  0 siblings, 0 replies; 18+ messages in thread
From: Peter A. Castro @ 2012-02-24  3:19 UTC (permalink / raw)
  To: Charles Wilson; +Cc: cygwin

On Thu, 23 Feb 2012, Charles Wilson wrote:

> On 2/22/2012 8:31 PM, Andrew DeFaria wrote:
>> For individual lines there is a "New" column and I'm familiar with the
>> cycling behavior between things like Keep, Uninstall, Reinstall, Skip
>> and current and older version numbers. But this is on a by package
>> basis. What I'm asking for is a button or way to say "Oh this is 1.7.10.
>> I want all of the Cygwin things that were associated with 1.7.9. Toggle
>> all of the packages back to their versions that were released when 1.7.9
>> was released". Maybe such a beast doesn't exist...
>
> Well, there is the Cygwin Time Machine:
> 	http://www.fruitbat.org/Cygwin/index.html#cygwincirca
> Unfortunately, it seems that the actual package repository has been
> deleted -- at least if I surf to one of the snapshot dirs using firefox:
>
> 	ftp://www.fruitbat.org/pub/cygwin/circa/2012/02/22/024010/
>
> Peter, is CTM dead? Or is it simply that 'ls' is disabled?

Hi Chuck,
   It's still there and updated every day.  You just can't browse it :-(
   I had some problems with people over in russia doing a recursive wget
on the entire time machine.  My uplink isn't very big, so it ran
constantly for days (causing some horrible performance lags on my side)
before I decided I had to force the connection and disable all listing
functions.
   So, you can't 'ls' the directories anymore.  But, if you know the
layout of the repository (full file path) you can certainly get the files
themselves.
   The CTM was originally setup to be used by the Cygwin Setup program.
Since the setup.ini has the file paths it can get the files without any
problems.

> --
> Chuck

-- 
Peter A. Castro <doctor@fruitbat.org> or <Peter.Castro@oracle.com>
 	"Cats are just autistic Dogs" -- Dr. Tony Attwood

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

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2012-02-24  3:19 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-08 20:13 Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config Tom Schutter
2012-02-08 20:30 ` Corinna Vinschen
2012-02-09  6:10   ` Charles Wilson
2012-02-09 11:05     ` Corinna Vinschen
2012-02-22 17:48       ` Andrew DeFaria
2012-02-22 20:56         ` Corinna Vinschen
2012-02-22 21:35           ` Andrew DeFaria
2012-02-23  0:12             ` Larry Hall (Cygwin)
2012-02-23  1:31               ` Andrew DeFaria
2012-02-23  1:46                 ` Larry Hall (Cygwin)
2012-02-23  4:45                   ` Andrew DeFaria
2012-02-23  5:02                     ` Larry Hall (Cygwin)
2012-02-23 14:40                       ` Andrew DeFaria
2012-02-23 15:05                 ` Cygwin Time Machine gone? [Was: Re: Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config] Charles Wilson
2012-02-24  3:19                   ` Peter A. Castro
2012-02-22 21:35         ` Change to passwd in cygwin-1.7.10-1 breaks ssh-host-config Charles Wilson
2012-02-23  8:47           ` Corinna Vinschen
2012-02-23 15:08             ` Charles Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).