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

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

    <bug>
          <bug_id>6831</bug_id>
          
          <creation_ts>2005-05-13 19:51:20 +0400</creation_ts>
          <short_desc>[FR] better &lt;dri&gt; perms for multi-user single-xconsole workstations</short_desc>
          <delta_ts>2008-02-18 22:50:01 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>pam0_console</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>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Shigorin">mike</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>abulava</cc>
    
    <cc>eostapets</cc>
    
    <cc>glebfm</cc>
    
    <cc>inger</cc>
    
    <cc>ldv</cc>
    
    <cc>placeholder</cc>
    
    <cc>shrek</cc>
    
    <cc>sr</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>24505</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2005-05-13 19:51:20 +0400</bug_when>
    <thetext>Предлагаю добавить группу video и сделать следующее изменение:

-&lt;xconsole&gt; 0600 &lt;dri&gt;        0600 root
+&lt;xconsole&gt; 0600 &lt;dri&gt;        0660 root.video

См. тж. #314 (сопутствовало обсуждение в рассылке).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24624</commentid>
    <comment_count>1</comment_count>
    <who name="Andrei Bulava">abulava</who>
    <bug_when>2005-05-16 17:33:40 +0400</bug_when>
    <thetext>А ведь действительно, я сам сталкивался с необходимостью изменения
/etc/security/console.perms в &quot;многопользовательской одноконсольной среде&quot;,
когда запускал вторую X-сессию после логина в текстовой консоли. Аналогия с #314
налицо.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25577</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2005-06-10 20:42:13 +0400</bug_when>
    <thetext>Может лучше использовать существующую группу xgrp вместо несуществующей группы
video?
Может лучше вообще убрать настройку dri из pam_console, оставив это Xorg&apos;у?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25611</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2005-06-13 13:21:32 +0400</bug_when>
    <thetext>(In reply to comment #2)
&gt; Может лучше использовать существующую группу xgrp вместо несуществующей группы
&gt; video?
Логично.

&gt; Может лучше вообще убрать настройку dri из pam_console, оставив это Xorg&apos;у?
Section &quot;DRI&quot;?  Вариант.  И переезд должен получиться, они ж оба (xorg.conf и
console.perms) %config(noreplace)... хотя первый скорее будет modified, а вот
второй может и замениться.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25839</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2005-06-16 04:22:21 +0400</bug_when>
    <thetext>Ну что, ставить xgrp или убрать совсем?
У себя на localhost&apos;е я убрал, поскольку
Section &quot;DRI&quot;
Group   &quot;xgrp&quot;
Mode    0660
EndSection
адекватнее.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25842</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2005-06-16 07:47:24 +0400</bug_when>
    <thetext>Разумно поставить, поскольку это добавление функциональности и без
дополнительных действий проблем с безопасностью не создаст.  А убирать совсем
будет разумно, когда оно с год-два будет по умолчанию забиваться в конфигурацию
X-сервера.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25866</commentid>
    <comment_count>6</comment_count>
    <who name="Andrei Bulava">abulava</who>
    <bug_when>2005-06-16 10:52:08 +0400</bug_when>
    <thetext>+1 за

-&lt;console&gt;  0600 &lt;dri&gt;        0600 root
+&lt;console&gt;  0660 &lt;dri&gt;        0660 root.xgrp

-&lt;xconsole&gt; 0600 &lt;dri&gt;        0600 root
+&lt;xconsole&gt; 0660 &lt;dri&gt;        0660 root.xgrp
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64023</commentid>
    <comment_count>7</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2008-02-18 19:08:10 +0300</bug_when>
    <thetext>(In reply to comment #5)
&gt; Разумно поставить, поскольку это добавление функциональности и без
&gt; дополнительных действий проблем с безопасностью не создаст.  А убирать совсем
&gt; будет разумно, когда оно с год-два будет по умолчанию забиваться в конфигурацию
&gt; X-сервера.

Прошло 2.5 года.  Что в результате будем делать?
Меняем на 0660 root:xgrp или убираем совсем?
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64060</commentid>
    <comment_count>8</comment_count>
    <who name="Valery Inozemtsev">shrek</who>
    <bug_when>2008-02-18 19:35:42 +0300</bug_when>
    <thetext>зависит от того как генерится xorg.conf. если
Section &quot;DRI&quot;
        Group   &quot;xgrp&quot;
        Mode    0660
EndSection
то оно не нужно, в противном случае меняем</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64123</commentid>
    <comment_count>9</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2008-02-18 22:50:01 +0300</bug_when>
    <thetext>(In reply to comment #8)
&gt; зависит от того как генерится xorg.conf.

Да как оно только не генерится...
Ладно, в 0.99.10.0-alt1 добавлю, потом посмотрим.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>