Difference between revisions of "OpenRC, an alternative to systemd"

imported>Aaditya
imported>Aaditya
Line 210: Line 210:
  resolving dependencies...
  resolving dependencies...
  looking for inter-conflicts...
  looking for inter-conflicts...
:: libsystemd-eudevcompat and libsystemd are in conflict. Remove libsystemd? [y/N] y
  :: eudev and systemd are in conflict. Remove systemd? [y/N] y
  :: eudev and systemd are in conflict. Remove systemd? [y/N] y
:: eudev and libsystemd are in conflict. Remove libsystemd? [y/N] y
   
   
  Packages (4): eudev-1.7-3 libsystemd-212-3 [removal]  systemd-212-3 [removal]
  Packages (6): eudev-1.8-2  libeudev-1.8-2 libsystemd-214-2 [removal]
              eudev-openrc-20140614-1
              libsystemd-eudevcompat-214-2 systemd-214-2 [removal]
              eudev-openrc-20140621-1
   
   
  Total Download Size:    0.83 MiB
  Total Download Size:    0.85 MiB
  Total Installed Size:  6.46 MiB
  Total Installed Size:  6.88 MiB
  Net Upgrade Size:      -10.81 MiB  
  Net Upgrade Size:      -12.77 MiB
   
   
:: Proceed with installation? [Y/n]
  :: Proceed with installation? [Y/n]
 
Step 2) Install ''dbus-eudev / dbus-nosystemd'' ('''Only required if using the Archbang repo''')
sudo pacman -S dbus-eudev
 
The output looks like the following:
 
$ sudo pacman -S dbus-eudev
[sudo] password for aaditya:
resolving dependencies...
looking for inter-conflicts...
:: dbus-eudev and dbus are in conflict (dbus-core). Remove dbus? [y/N] y
Packages (3): dbus-1.8.2-1 [removal]  libdbus-1.8.4-1  dbus-eudev-1.8.4-1
Total Download Size:    0.52 MiB
Total Installed Size:  1.85 MiB
Net Upgrade Size:      0.10 MiB
  :: Proceed with installation? [Y/n]  


After the above steps systemd would be uninstalled and replaced by eudev and its counterparts.
After the above steps systemd would be uninstalled and replaced by eudev and its counterparts.
Line 246: Line 228:


  Optional dependencies for eudev
  Optional dependencies for eudev
    eudev-openrc: eudev postmount script [pending]
    upower-pm-utils: pm-utils support
    dbus-eudev: dbus without systemd
    upower-pm-utils-eudev: upower without systemd
    udisks2-eudev: udisks2 without systemd
    libpulse-eudev: libpulse without systemd
    cups-eudev: cups without systemd
    procps-ng-eudev: procps-ng without systemd


These can be installed to get required functionalities. I installed the upower-pm-utils-eudev, udisks2-eudev, and procps-ng-eudev packages.
These can be installed to get required functionality. I installed the upower-pm-utils package in order to be able to suspend and hibernate my system.


After uninstalling systemd, I could not login to my xfce4-session, as it was complied for systemd. Hence I had to install [https://aur.archlinux.org/packages/xfce4-session-consolekit/ xfce4-session-consolekit] from the AUR to get it working.
After uninstalling systemd, I could not login to my xfce4-session, as it was complied for systemd. Hence I had to install [https://aur.archlinux.org/packages/xfce4-session-consolekit/ xfce4-session-consolekit] from the AUR to get it working.
Line 263: Line 239:


I had to rebuild [https://aur.archlinux.org/packages/gvfs-nosystemd/ gvfs] as my unmounted partitions were not being displayed.
I had to rebuild [https://aur.archlinux.org/packages/gvfs-nosystemd/ gvfs] as my unmounted partitions were not being displayed.
Also had to rebuild [https://aur.archlinux.org/packages/xmms/ xmms] as it was not working.
Had to install ''libpulse-eudev / libpulse-nosystemd'' in order to get VLC Player to work (Not required with current packages from the repo).


== Troubleshooting ==
== Troubleshooting ==
Anonymous user