Re: motd handling in jessie beyond

2015-01-23 Thread Matthias Urlichs
Hi, Michael Biebl: I'm also no longer convinced, that running a huge shell machinery (as root) during login via PAM is a good idea. In fact, I'm convinced that it is _not_ a good idea. You want to be able to log in as root when the system has problems. Like, being slow as molasses or

Re: motd handling in jessie beyond

2015-01-22 Thread Michael Biebl
Am 22.01.2015 um 15:46 schrieb Steve McIntyre: parav...@debian.org wrote: - pam_motd provides a facility (via a custom patch, brought over by Ubuntu) that run-parts /etc/update-motd.d. The directory exists in Ubuntu (along with default scripts that set Ubuntu's motd) but not in Debian,

Re: motd handling in jessie beyond

2015-01-22 Thread Steve McIntyre
parav...@debian.org wrote: - pam_motd provides a facility (via a custom patch, brought over by Ubuntu) that run-parts /etc/update-motd.d. The directory exists in Ubuntu (along with default scripts that set Ubuntu's motd) but not in Debian, although https://wiki.debian.org/motd documents it.

Re: motd handling in jessie beyond

2015-01-22 Thread Michael Biebl
Am 22.01.2015 um 16:34 schrieb Michael Biebl: Am 22.01.2015 um 15:46 schrieb Steve McIntyre: AFAICS there remain silly unfixed bugs in the Ubuntu setup too, which I've reported and never seen any progress on - see https://bugs.launchpad.net/ubuntu/+source/pam/+bug/684244 If you want to

Re: motd handling in jessie beyond

2015-01-22 Thread Ansgar Burchardt
Hi, On 01/22/2015 04:34 PM, Michael Biebl wrote: I'm also no longer convinced, that running a huge shell machinery (as root) during login via PAM is a good idea. If we go the update-motd route, I'd like to see the update-motd calls be removed from login (and boot) and instead have the

Re: motd handling in jessie beyond

2015-01-02 Thread Santiago Vila
On Fri, Jan 02, 2015 at 04:16:44PM +0200, Faidon Liambotis wrote: On Wed, Dec 31, 2014 at 07:08:22PM +0100, Santiago Vila wrote: On Wed, Dec 31, 2014 at 04:20:36PM +0200, Faidon Liambotis wrote: c) base-files shipping /etc/update-motd.d, plus a script: 00-uname: #!/bin/sh\nuname

Re: motd handling in jessie beyond

2015-01-02 Thread Faidon Liambotis
On Wed, Dec 31, 2014 at 07:08:22PM +0100, Santiago Vila wrote: On Wed, Dec 31, 2014 at 04:20:36PM +0200, Faidon Liambotis wrote: c) base-files shipping /etc/update-motd.d, plus a script: 00-uname: #!/bin/sh\nuname -snrvm\n Could you please choose another package? debianutils comes to

Re: motd handling in jessie beyond

2015-01-02 Thread Santiago Vila
On Fri, Jan 02, 2015 at 04:16:44PM +0200, Faidon Liambotis wrote: What is your concern with shipping a simple executable shell script? Actually, it's not the executable what does not belong to base-files, it's the *functionality*. -- To UNSUBSCRIBE, email to

Re: motd handling in jessie beyond

2015-01-02 Thread Faidon Liambotis
On Fri, Jan 02, 2015 at 11:56:44AM +0100, Ansgar Burchardt wrote: as this seems to be only about including the output of `uname' in motd, how about just *not* including it? I never found it to be particular helpful anyway... If you want to include information about the machine you are

Re: motd handling in jessie beyond

2015-01-02 Thread The Wanderer
On 01/02/2015 at 05:56 AM, Ansgar Burchardt wrote: Hi, as this seems to be only about including the output of `uname' in motd, how about just *not* including it? I never found it to be particular helpful anyway... If you want to include information about the machine you are connecting

Re: motd handling in jessie beyond

2015-01-02 Thread Ansgar Burchardt
Hi, as this seems to be only about including the output of `uname' in motd, how about just *not* including it? I never found it to be particular helpful anyway... If you want to include information about the machine you are connecting to, then the OS version, amount of RAM, number and speed of

Re: motd handling in jessie beyond

2015-01-01 Thread Russ Allbery
Christoph Anton Mitterer cales...@scientia.net writes: On Wed, 2014-12-31 at 12:04 -0800, Russ Allbery wrote: I think UsePAM yes is the only sane default for Debian, though, and people who choose to change that default are legitimately on their own. I've used UsePAM no for many years

Re: motd handling in jessie beyond

2015-01-01 Thread Thomas Goirand
On 12/31/2014 03:20 PM, Faidon Liambotis wrote: The changes are in total 2+1+3 lines, plus killing two files, so relatively simple. On the flip side, this touches five essential/required packages so it might be a bit too much for jessie's freeze, although I also wonder if the current state of

Re: motd handling in jessie beyond

2015-01-01 Thread Christoph Anton Mitterer
On Wed, 2014-12-31 at 12:04 -0800, Russ Allbery wrote: I think UsePAM yes is the only sane default for Debian, though, and people who choose to change that default are legitimately on their own. I've used UsePAM no for many years without any real issues, as you said it depends what you want

motd handling in jessie beyond

2014-12-31 Thread Faidon Liambotis
motd handling spans multiple packages (libpam-modules, login, ssh, base-files, initscripts, systemd) and multiple uncoordinated half-baked attempts to take it to different directions have left the current state of affairs a bit of a mess. Steve Langasek (rightfully) suggested on #764841 to use

Re: motd handling in jessie beyond

2014-12-31 Thread Christoph Anton Mitterer
One should perhaps add: On Wed, 2014-12-31 at 16:20 +0200, Faidon Liambotis wrote: - Behavior is different between login sshd. login has (#741129): session optional pam_exec.so type=open_session stdout /bin/uname -snrvm session optional pam_motd.so but SSH has: session optional

Re: motd handling in jessie beyond

2014-12-31 Thread Santiago Vila
On Wed, Dec 31, 2014 at 04:20:36PM +0200, Faidon Liambotis wrote: c) base-files shipping /etc/update-motd.d, plus a script: 00-uname: #!/bin/sh\nuname -snrvm\n Could you please choose another package? debianutils comes to mind. Currently, base-files has no binaries at all, and I'd like to

Re: motd handling in jessie beyond

2014-12-31 Thread Russ Allbery
Christoph Anton Mitterer cales...@scientia.net writes: For the OpenSSH server this is dependent on wheter UseLogin and/or UsePAM directives are being used or not, the later which has a configuration file default of yes in Debian (but not in upstream's default config or default value). I

Re: motd handling in jessie beyond

2014-12-31 Thread Christian PERRIER
Quoting Faidon Liambotis (parav...@debian.org): For this to happen, we'll need: Hoping that a consensus can be reached, I will, as the not so active but last active shadow maintainer, follow whatever conclusion will be reached in this discussion. I don't really have any other advice,