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

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

    <bug>
          <bug_id>27784</bug_id>
          
          <creation_ts>2012-10-01 01:04:48 +0400</creation_ts>
          <short_desc>systemctl неверно отображает информацию на экране</short_desc>
          <delta_ts>2012-10-03 14:04:44 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>systemd</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexei V. Mezin">alexei.mezin</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>arseny</cc>
    
    <cc>legion</cc>
    
    <cc>mike</cc>
    
    <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>133600</commentid>
    <comment_count>0</comment_count>
    <who name="Alexei V. Mezin">alexei.mezin</who>
    <bug_when>2012-10-01 01:04:48 +0400</bug_when>
    <thetext>systemd-189-alt1

При вызове systemctl вывод автоматом идет через пейджер less (что само по себе уже редкостный баг), при этом сообщения о failed сервисах видятся как 

systemd-modules-load.service                                   loaded ESC[1;31mfailed failed   ESC[0m     Load Kernel Modules

Либо надо научить less отображать цветные сообщения, либо отучить systemctl решать за пользователя как отображать информацию в консоли.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>133601</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Gladkov">legion</who>
    <bug_when>2012-10-01 02:10:06 +0400</bug_when>
    <thetext>less -R</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>133604</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Shabalin">shaba</who>
    <bug_when>2012-10-01 12:59:49 +0400</bug_when>
    <thetext>А какой пейджер не баг?
Что вы предлагаете?
&quot;less -FR&quot; устроит?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>133616</commentid>
    <comment_count>3</comment_count>
    <who name="Alexei V. Mezin">alexei.mezin</who>
    <bug_when>2012-10-01 22:22:38 +0400</bug_when>
    <thetext>(В ответ на комментарий №2)
&gt; А какой пейджер не баг?

Отсутствующий. Десятилетия до этого пользователь сам решал, что ему делать с выхлопом программы, не помещающимся на экран.

&gt; Что вы предлагаете?
&gt; &quot;less -FR&quot; устроит?

Устроит наверное.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>133649</commentid>
    <comment_count>4</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2012-10-03 14:04:44 +0400</bug_when>
    <thetext>systemd-193-alt2 -&gt; sisyphus:

* Mon Oct 01 2012 Alexey Shabalin &lt;shaba@altlinux&gt; 193-alt2
- drop altlinux-swap.service
- add /etc/profile.d/systemd.sh and export
  SYSTEMD_PAGER=&quot;/usr/bin/less -FR&quot; (ALT#27784)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>