Bug 27759 - Debian Meldung
Debian Meldung
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: General
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.0-2
Assigned To: Stefan Gohmann
Felix Botner
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-28 08:42 CEST by Stefan Gohmann
Modified: 2012-07-20 15:24 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2012-06-28 08:42:51 CEST
Beim Login auf einem UCS 3.0-2 bekomme ich diese "Debian-WARRANTY"-Meldung:

stefan@leka:~$ ssh root@10.201.81.1
Password: 
Last login: Thu Jun 28 08:04:50 CEST 2012 from leka.knut.univention.de on ssh
Linux master 2.6.32-ucs60-amd64 #1 SMP Fri Feb 24 00:03:35 UTC 2012 x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Jun 28 08:40:44 2012 from leka.knut.univention.de

IMHO hatten wir die mal deaktiviert.
Comment 1 Janek Walkenhorst univentionstaff 2012-06-28 10:21:30 CEST
(In reply to comment #0)
> IMHO hatten wir die mal deaktiviert.Bug #666

Im Moment wird auch zwei mal die "Last login" Meldung angezeigt, beim zweiten mal dann die aktuelle Uhrzeit, also ein falscher Wert.
Comment 2 Stefan Gohmann univentionstaff 2012-07-10 16:53:26 CEST
Fixed:

In univention-pam wurde pam_lastlog aus der sshd PAM Konfiguration entfernt.

In univention-base-files wurde ein dpkg-divert auf /var/run/motd hinzugefügt.
Comment 3 Felix Botner univentionstaff 2012-07-11 18:26:33 CEST
Leider reicht das nicht 

/var/run/motd wird /etc/init.d/bootlogs beim Systemstart überschrieben. 

        uname -snrvm > /var/run/motd
        [ -f /etc/motd.tail ] && cat /etc/motd.tail >> /var/run/motd

Ein dpkg-divert hilft hier nicht. Nach dem Neustart gibt es wieder die Debian Meldung:

ssh -X root@10.200.7.100
Password: 
Linux master 2.6.32-ucs64-686-bigmem #1 SMP Fri Jun 1 15:49:43 UTC 2012 i686

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Jul 11 18:22:18 2012 from lots.knut.univention.de
Comment 4 Stefan Gohmann univentionstaff 2012-07-11 20:09:03 CEST
/etc/motd.tail wird jetzt anstatt /var/run/motd per dpkg-divert verschoben.
Comment 5 Felix Botner univentionstaff 2012-07-12 09:34:47 CEST
OK, "Debian-WARRANTY"-Meldung ist weg und Last Login ist auch i.O.

Changelog Eintrag vorhanden.
Comment 6 Stefan Gohmann univentionstaff 2012-07-20 15:24:47 CEST
UCS 3.0-2 has been released: 
  http://forum.univention.de/viewtopic.php?f=54&t=1905

If this error occurs again, please use "Clone This Bug".