public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* add fish to /etc/shells (base-files)
@ 2016-05-10 18:19 Andrew Schulman
  2016-05-11 16:47 ` Achim Gratz
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Schulman @ 2016-05-10 18:19 UTC (permalink / raw)
  To: cygwin

Achim, can you please add /bin/fish and /usr/bin/fish to /etc/shells in
base-files?

Thank you,
Andrew


--
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] 5+ messages in thread

* Re: add fish to /etc/shells (base-files)
  2016-05-10 18:19 add fish to /etc/shells (base-files) Andrew Schulman
@ 2016-05-11 16:47 ` Achim Gratz
  2016-05-11 17:09   ` Andrew Schulman
  0 siblings, 1 reply; 5+ messages in thread
From: Achim Gratz @ 2016-05-11 16:47 UTC (permalink / raw)
  To: cygwin

Am 10.05.2016 um 20:19 schrieb Andrew Schulman:
> Achim, can you please add /bin/fish and /usr/bin/fish to /etc/shells in
> base-files?

I seem to remember that this was discussed before.  If you could perhaps 
look up that discussion and fill me in what the conclusion was last time 
around?

-- 
Achim.

(on the road :-)


--
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] 5+ messages in thread

* Re: add fish to /etc/shells (base-files)
  2016-05-11 16:47 ` Achim Gratz
@ 2016-05-11 17:09   ` Andrew Schulman
  2016-05-11 19:06     ` Yaakov Selkowitz
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Schulman @ 2016-05-11 17:09 UTC (permalink / raw)
  To: cygwin

> Am 10.05.2016 um 20:19 schrieb Andrew Schulman:
> > Achim, can you please add /bin/fish and /usr/bin/fish to /etc/shells in
> > base-files?
> 
> I seem to remember that this was discussed before.  If you could perhaps 
> look up that discussion and fill me in what the conclusion was last time 
> around?

Hm, you're right, it was discussed before:

https://www.cygwin.com/ml/cygwin/2014-02/msg00696.html

I don't know if there was consensus, but the last word there from CGF was
that shell packages should run a postinstall step to add themselves to
/etc/shells.

That seems reasonable. There are questions about the right way to do it,
but I'll ask those in a separate thread.

Thanks,
Andrew


--
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] 5+ messages in thread

* Re: add fish to /etc/shells (base-files)
  2016-05-11 17:09   ` Andrew Schulman
@ 2016-05-11 19:06     ` Yaakov Selkowitz
  2016-05-11 19:30       ` Andrew Schulman
  0 siblings, 1 reply; 5+ messages in thread
From: Yaakov Selkowitz @ 2016-05-11 19:06 UTC (permalink / raw)
  To: cygwin

On 2016-05-11 12:09, Andrew Schulman wrote:
>> Am 10.05.2016 um 20:19 schrieb Andrew Schulman:
>>> Achim, can you please add /bin/fish and /usr/bin/fish to /etc/shells in
>>> base-files?
>>
>> I seem to remember that this was discussed before.  If you could perhaps
>> look up that discussion and fill me in what the conclusion was last time
>> around?
>
> Hm, you're right, it was discussed before:
>
> https://www.cygwin.com/ml/cygwin/2014-02/msg00696.html
>
> I don't know if there was consensus, but the last word there from CGF was
> that shell packages should run a postinstall step to add themselves to
> /etc/shells.

While I'm always ready to reconsider previous decisions, this is how it 
appears to be handled in Linux distros.  The implication thereof is that 
(once all packages have been adapted) the default /etc/shells should 
only contain those shells available by default (namely, sh, bash, and 
/sbin/nologin), e.g.:

https://git.fedorahosted.org/cgit/setup.git/tree/shells

(except that /sbin != /usr/sbin on Cygwin.)

> That seems reasonable. There are questions about the right way to do it,
> but I'll ask those in a separate thread.

Probably best if we have a cygport function for creating the necessary 
postinstall and preremove commands.

-- 
Yaakov

--
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] 5+ messages in thread

* Re: add fish to /etc/shells (base-files)
  2016-05-11 19:06     ` Yaakov Selkowitz
@ 2016-05-11 19:30       ` Andrew Schulman
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Schulman @ 2016-05-11 19:30 UTC (permalink / raw)
  To: cygwin

> While I'm always ready to reconsider previous decisions, this is how it 
> appears to be handled in Linux distros.  The implication thereof is that 
> (once all packages have been adapted) the default /etc/shells should 
> only contain those shells available by default (namely, sh, bash, and 
> /sbin/nologin), e.g.:
> 
> https://git.fedorahosted.org/cgit/setup.git/tree/shells

Agreed.

> Probably best if we have a cygport function for creating the necessary 
> postinstall and preremove commands.

Yes, that's what I was thinking.  I'll draft one when I have some time.
Andrew


--
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] 5+ messages in thread

end of thread, other threads:[~2016-05-11 19:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-10 18:19 add fish to /etc/shells (base-files) Andrew Schulman
2016-05-11 16:47 ` Achim Gratz
2016-05-11 17:09   ` Andrew Schulman
2016-05-11 19:06     ` Yaakov Selkowitz
2016-05-11 19:30       ` Andrew Schulman

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