<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>16788</bug_id>
          
          <creation_ts>2008-08-20 21:47:58 +0400</creation_ts>
          <short_desc>x inititialization: show /etc/motd in X sessions</short_desc>
          <delta_ts>2025-11-14 12:29:01 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>ALT Linux Lite</product>
          <component>bugs</component>
          <version>4.0.2</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Anton V. Boyarshinov">boyarsh</assigned_to>
          
          
          <qa_contact name="Andrey Cherepanov">cas</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>75897</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-08-20 21:47:58 +0400</bug_when>
    <thetext>4.0.3 --
ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/4.0/Desktop/4.0.3/iso/altlinux-4.0.3-lite-i586-install_ru-cd.iso

Почему бы такой традиционной вещи как показывание /etc/motd работать из коробки только в linux-консоли, а не работать в X-сессиях?..

Решение (не полностью удовлетворительное) -- /etc/X11/xinit.d/motd:
#!/bin/sh

if [ -s /etc/motd ]; then xmessage -file /etc/motd; fi

Не полностью удовлетворительное, потому что так motd выводится и при настоящей начале сессии при заходе через xdm (как и задумывалось), так и после startx (это не задумывалось: у человека уже есть сессия и он уже читал motd после login-а).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>276852</commentid>
    <comment_count>1</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2025-11-14 12:29:01 +0300</bug_when>
    <thetext>Продукт более не поддерживается. Если актуально, то необходимо перевешать на новый поддерживаемый репозиторий (p10, p11, Sisyphus).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>