- Timestamp:
- 08/09/2006 02:21:54 PM (18 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- a8491e6
- Parents:
- dc77783f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/sysutils/hal.xml
rdc77783f rbaf47952 42 42 features. One example of the functionality provided by 43 43 <application>HAL</application> is when you plug in a USB storage device. 44 <application>HAL</application> can automatically create an appropriate 45 entry in the <filename>/etc/fstab</filename> file and create the 46 corresponding mount point in 47 <filename class="directory">/media</filename>.</para> 44 <application>HAL</application> can automatically create a mount point in 45 <filename class="directory">/media</filename> and mount the device.</para> 48 46 49 47 <bridgehead renderas="sect3">Package Information</bridgehead> … … 267 265 <sect3 id="hal-config"> 268 266 <title>Config Files</title> 269 <para><filename>/etc/dbus-1/system.d/hal.conf</filename> and 267 <para><filename>/etc/dbus-1/system.d/hal.conf</filename>, 268 <filename>/etc/dbus-1/system.d/halusers.conf</filename> and 270 269 <filename>/etc/hal/*</filename></para> 271 270 272 271 <indexterm zone="hal hal-config"> 273 272 <primary sortas="e-etc-dbus-1-system.d-hal.conf">/etc/dbus-1/system.d/hal.conf</primary> 273 </indexterm> 274 275 <indexterm zone="hal hal-config"> 276 <primary sortas="e-etc-dbus-1-system.d-halusers.conf">/etc/dbus-1/system.d/halusers.conf</primary> 274 277 </indexterm> 275 278 … … 279 282 </sect3> 280 283 284 <sect3><title>Configuration Information</title> 285 286 <para>The default setup for <application>HAL</application> is to allow 287 only certain users to invoke methods such as Mount(). These are 288 the <systemitem class="username">root</systemitem> user and the user 289 determined to be at the active console using <ulink 290 url="&blfs-wiki;/linux-pam">pam_console</ulink>. If you are not set 291 up to use <xref linkend="linux-pam"/> and <ulink 292 url="&blfs-wiki;/linux-pam">pam_console</ulink>, create a group that 293 is allowed to invoke <application>HAL</application> methods with the 294 following commands:</para> 295 296 <screen role="root"><userinput>groupadd -g 61 halusers && 297 cat > /etc/dbus-1/system.d/halusers.conf << "EOF" 298 <literal><!DOCTYPE busconfig PUBLIC 299 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" 300 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> 301 <busconfig> 302 303 <!-- Allow users in the halusers group invoke HAL methods --> 304 <policy group="halusers"> 305 <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/> 306 <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/> 307 <allow send_interface="org.freedesktop.Hal.Device.Volume"/> 308 <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/> 309 </policy> 310 311 </busconfig></literal> 312 EOF</userinput></screen> 313 314 <para>Now add the users you would like to the <systemitem 315 class="groupname">halusers</systemitem> group to use 316 <application>HAL</application>. Note that these users still need 317 to have appropriate permissions to access the devices that 318 <application>HAL</application> will invoke its methods on.</para> 319 320 <para><application>HAL</application> only provides the methods such 321 as Mount() to act on hardware. In order to take advantage of these, 322 a <application>HAL</application> event handler such as 323 <xref linkend="gnome-volume-manager"/> or <ulink 324 url="http://ivman.sourceforge.net/">Ivman</ulink> should be 325 installed.</para> 326 327 <!-- Following note is only relevant for HAL-0.5.7.x. 328 Fixed upstream. --> 329 <note> 330 <para><application>HAL</application> will ignore any devices listed 331 in <filename>/etc/fstab</filename> for the purpose of automounting. 332 You must remove any listings for devices that you would like 333 automounted such as CD-ROMs or USB keys.</para> 334 </note> 335 281 336 <!-- This section commented out for now until it is determined what should 282 337 be placed in this section 283 338 284 <sect3><title>Configuration Information</title> 339 FIXME: I think this information is still relevant with the 340 exception of its interaction with /etc/fstab. Needs investigation. 285 341 286 342 <para>No configuration is necessary for the majority of installations … … 356 412 </note> 357 413 414 --> 415 358 416 </sect3> 359 360 -->361 417 362 418 <sect3 id="hal-init">
Note:
See TracChangeset
for help on using the changeset viewer.