VirtualBox

Changeset 56881 in vbox


Ignore:
Timestamp:
Jul 9, 2015 4:57:23 AM (10 years ago)
Author:
vboxsync
Message:

Installers/linux: /etc/init.d/service may not exist, use /sbin/rcservice instead.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/en_US/user_AdvancedTopics.xml

    r56609 r56881  
    592592
    593593      <para>After this, you will need to at least compile the kernel modules
    594       by running the command <screen>  /usr/lib/VBoxGuestAdditions/vboxadd setup</screen>
     594      by running the command <screen>  rcvboxadd setup</screen>
    595595      as root (you will need to replace <emphasis>lib</emphasis> by
    596596      <emphasis>lib64</emphasis> on some 64bit guests), and on older guests
     
    599599      that the modules get loaded.</para>
    600600
    601       <para>To setup the time synchronization service, run the command
    602       <screen>  /usr/lib/VBoxGuestAdditions/vboxadd-service setup</screen> and
     601      <para>To setup the time synchronization service,
    603602      add the service vboxadd-service to the default runlevel. To set up the
    604       X11 and OpenGL part of the Guest Additions, run the command <screen>  /usr/lib/VBoxGuestAdditions/vboxadd-x11 setup</screen>
     603      X11 and OpenGL part of the Guest Additions, run the command
     604      <screen>  rcvboxadd-x11 setup</screen>
    605605      (you do not need to enable any services for this).</para>
    606606
    607       <para>To recompile the guest kernel modules, use this command: <screen>  /usr/lib/VBoxGuestAdditions/vboxadd setup</screen>
     607      <para>To recompile the guest kernel modules, use this command:
     608      <screen>  rcvboxadd setup</screen>
    608609      After compilation you should reboot your guest to ensure that the new
    609610      modules are actually used.</para>
  • trunk/doc/manual/en_US/user_GuestAdditions.xml

    r56541 r56881  
    601601            or not installed, the guest kernel modules will need to be
    602602            recreated manually whenever the guest kernel is updated using
    603             the command <screen>/etc/init.d/vboxadd setup</screen> as root.
     603            the command <screen>rcvboxadd setup</screen> as root.
    604604            </para>
    605605          </listitem>
  • trunk/doc/manual/en_US/user_Installation.xml

    r56541 r56881  
    392392            reinstalled by executing (as root):</para>
    393393
    394             <screen>/etc/init.d/vboxdrv setup</screen>
     394            <screen>rcvboxdrv setup</screen>
    395395          </listitem>
    396396        </orderedlist></para>
     
    429429        appropriate Linux kernel headers (see <xref
    430430        linkend="externalkernelmodules" />). After correcting any problems, do
    431         <screen>sudo /etc/init.d/vboxdrv setup</screen>This will start a
     431        <screen>sudo rcvboxdrv setup</screen>This will start a
    432432        second attempt to build the module.</para>
    433433
  • trunk/src/VBox/Additions/linux/installer/vboxadd.sh

    r56860 r56881  
    455455    # Put mount.vboxsf in the right place
    456456    ln -sf "$lib_path/$PACKAGE/mount.vboxsf" /sbin
     457    # And an rc file to re-build the kernel modules and re-set-up the X server.
     458    ln -sf "$lib_path/$PACKAGE/vboxadd" /sbin/rcvboxadd
     459    ln -sf "$lib_path/$PACKAGE/vboxadd-x11" /sbin/rcvboxadd-x11
    457460    # At least Fedora 11 and Fedora 12 require the correct security context when
    458461    # executing this command from service scripts. Shouldn't hurt for other
     
    529532    # Remove other files
    530533    rm /sbin/mount.vboxsf 2>/dev/null
     534    rm /sbin/rcvboxadd 2>/dev/null
     535    rm /sbin/rcvboxadd-x11 2>/dev/null
    531536    rm /etc/udev/rules.d/60-vboxadd.rules 2>/dev/null
    532537}
  • trunk/src/VBox/Installer/linux/install.sh

    r56842 r56881  
    112112    check_binary "/usr/bin/VBoxBalloonCtrl" "$install_dir" &&
    113113    check_binary "/usr/bin/VBoxAutostart" "$install_dir" &&
    114     check_binary "/usr/bin/vboxwebsrv" "$install_dir"
    115     check_binary "/usr/bin/vbox-img" "$install_dir"
     114    check_binary "/usr/bin/vboxwebsrv" "$install_dir" &&
     115    check_binary "/usr/bin/vbox-img" "$install_dir" &&
     116    check_binary "/sbin/rcvboxdrv" "$install_dir"
    116117}
    117118
     
    417418        ln -sf $INSTALLATION_DIR/VBox.sh /usr/bin/VBoxDTrace
    418419    fi
     420    ln -sf $INSTALLATION_DIR/vboxdrv.sh /sbin/rcvboxdrv
    419421    # Unity and Nautilus seem to look here for their icons
    420422    ln -sf $INSTALLATION_DIR/icons/128x128/virtualbox.png /usr/share/pixmaps/virtualbox.png
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette