[blfs-book] r10446 - in trunk/BOOK: gnome/core multimedia/libdriv postlfs/config postlfs/security

krejzi at linuxfromscratch.org krejzi at linuxfromscratch.org
Mon Jul 23 08:39:08 PDT 2012


Author: krejzi
Date: 2012-07-23 09:39:03 -0600 (Mon, 23 Jul 2012)
New Revision: 10446

Modified:
   trunk/BOOK/gnome/core/gdm.xml
   trunk/BOOK/multimedia/libdriv/pulseaudio.xml
   trunk/BOOK/postlfs/config/users.xml
   trunk/BOOK/postlfs/security/consolekit.xml
Log:
Add new pulse-access group for PulseAudio and make user pulse member of audio group (these are only important for system-wide daemon which upstream discourages) and make gdm member of audio and video groups in order to get gdm with gnome-shell and for system sounds to work there.

Modified: trunk/BOOK/gnome/core/gdm.xml
===================================================================
--- trunk/BOOK/gnome/core/gdm.xml	2012-07-23 15:22:48 UTC (rev 10445)
+++ trunk/BOOK/gnome/core/gdm.xml	2012-07-23 15:39:03 UTC (rev 10446)
@@ -139,9 +139,11 @@
       <systemitem class="username">root</systemitem> user:
     </para>
 
-<screen role="root"><userinput>groupadd -fg 21 gdm &&
+<screen role="root"><userinput>groupadd -g 21 gdm &&
 useradd -c "GDM Daemon Owner" -d /var/lib/gdm -u 21 \
-        -g gdm -s /bin/false gdm</userinput></screen>
+        -g gdm -s /bin/false gdm &&
+usermod -a -G audio gdm &&
+usermod -a -G video gdm</userinput></screen>
 
     <para>
       Install <application>GDM</application> by running the following

Modified: trunk/BOOK/multimedia/libdriv/pulseaudio.xml
===================================================================
--- trunk/BOOK/multimedia/libdriv/pulseaudio.xml	2012-07-23 15:22:48 UTC (rev 10445)
+++ trunk/BOOK/multimedia/libdriv/pulseaudio.xml	2012-07-23 15:39:03 UTC (rev 10446)
@@ -128,8 +128,10 @@
     </para> 
 
 <screen role="root"><userinput>groupadd -g 58 pulse &&
-useradd -c 'Pulseaudio User' -d /dev/null -g pulse \
-   -s /bin/false -u 58 pulse</userinput></screen>
+groupadd -g 59 pulse-access &&
+useradd -c "Pulseaudio User" -d /var/run/pulse -g pulse \
+        -s /bin/false -u 58 pulse &&
+usermod -a -G audio pulse</userinput></screen>
 
     <para>
       Install <application>PulseAudio</application> by running the following

Modified: trunk/BOOK/postlfs/config/users.xml
===================================================================
--- trunk/BOOK/postlfs/config/users.xml	2012-07-23 15:22:48 UTC (rev 10445)
+++ trunk/BOOK/postlfs/config/users.xml	2012-07-23 15:39:03 UTC (rev 10446)
@@ -99,6 +99,7 @@
         <row><entry>svn     </entry><entry>56</entry><entry>56</entry></row>
         <row><entry>svntest </entry><entry>  </entry><entry>57</entry></row>
         <row><entry>pulse   </entry><entry>58</entry><entry>58</entry></row>
+        <row><entry>pulse-access</entry><entry></entry><entry>59</entry></row>
         <row><entry>games   </entry><entry>60</entry><entry>60</entry></row>
         <row><entry>kvm     </entry><entry>  </entry><entry>61</entry></row>
         <row><entry>wireshark</entry><entry> </entry><entry>62</entry></row>

Modified: trunk/BOOK/postlfs/security/consolekit.xml
===================================================================
--- trunk/BOOK/postlfs/security/consolekit.xml	2012-07-23 15:22:48 UTC (rev 10445)
+++ trunk/BOOK/postlfs/security/consolekit.xml	2012-07-23 15:39:03 UTC (rev 10446)
@@ -4,7 +4,7 @@
   <!ENTITY % general-entities SYSTEM "../../general.ent">
   %general-entities;
 
-  <!ENTITY consolekit-download-http "http://www.linuxfromscratch.org/~krejzi/ConsoleKit-&consolekit-version;.tar.xz">
+  <!ENTITY consolekit-download-http "&sources-anduin-http;/c/ConsoleKit-&consolekit-version;.tar.xz">
   <!ENTITY consolekit-download-ftp  " ">
   <!ENTITY consolekit-md5sum        "6aaadf5627d2f7587aa116727e2fc1da">
   <!ENTITY consolekit-size          "356 KB">




More information about the blfs-book mailing list