![]() |
Remove hal Hal has been introduced as part of the Gnome2 desktop and used in many desktop application as an abstraction on the hardware layer, it has been quickly deprecated, but alternatives took time to land in freebsd. In most cases alternatives are now in place or upstreams dropped entirely support for HAL. As a result it is time to retire HAL |
We might not all have used sysutils/hal or even known that it was mostly silently working in the background as any good daemon process should. Today marks the final nail in its coffin, as it has been deprecated for quite some time and alternatives rolled out and have now been in place for ages. If for nostalgia or familiarity or uncertainty any of us may still have or chose to have installed it after it was already set on its journey to eventual FreeBSD expiration, there will be a little cleanup to do on our own systems. Surely we can all safely remove sysutils/hal if it remains, and that is a very simple operation.
The next two adjustments are likely less familiar to most users. We need to remove haldaemon as both a user and a group. Since I knew how to edit the password file with
(which incorporates use of vi), I used that to remove the haldaemon line. It turns out that there is another way that possibly ought to have been more obvious, but how often does an admin who uses a pc alone with no other human users on their system ever add or remove them? The command is
I have two choices, remove the group as a seperate operation as I planned before discovering
It turns out that editing the group file to revise or remove a group is a fairly simple operation, we can use
When
since I did not remove the haldaemon group.
Matching password entry: haldaemon:*:560:560::0:0:HAL Daemon User:/nonexistent:/sbin/nologin Is this the entry you wish to remove? y Remove user's home directory (/nonexistent)? y Removing user (haldaemon): mailspool home passwd.
Checking the content of
Since we have modified
One more detail that will be discovered with a reboot once all of the above is accomplished, that is, if your
hald_enable="YES"

No comments:
Post a Comment