<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>32490</bug_id>
          
          <creation_ts>2016-09-12 16:37:27 +0300</creation_ts>
          <short_desc>Добавить /etc/modules-load.d/virtualbox-guest.conf</short_desc>
          <delta_ts>2017-04-06 13:17:48 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>virtualbox-guest-utils</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Антон Мидюков">antohami</reporter>
          <assigned_to name="nbr">nbr</assigned_to>
          <cc>aen</cc>
    
    <cc>evg</cc>
    
    <cc>greh</cc>
    
    <cc>lav</cc>
    
    <cc>mike</cc>
    
    <cc>nbr</cc>
    
    <cc>sin</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>158557</commentid>
    <comment_count>0</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2016-09-12 16:37:27 +0300</bug_when>
    <thetext>Предлагаю добавить в пакет конфигурационный файл /etc/modules-load.d/virtualbox-guest.conf с таким содержанием:
vboxguest
vboxsf
vboxvideo

А службы удалить за не надобностью. Это решит проблему, озвученную здесь: https://bugzilla.altlinux.org/show_bug.cgi?id=30367
Весьма неприятно, что на образах с системд из коробки не работает монтирование общих папок.

А навеяно: https://bugzilla.altlinux.org/show_bug.cgi?id=29399</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158567</commentid>
    <comment_count>1</comment_count>
    <who name="Evgeny Sinelnikov">sin</who>
    <bug_when>2016-09-13 02:01:17 +0300</bug_when>
    <thetext>Да, это хороший, правильный вариант вариант.
Надо будет проверить тестовую сборку.

У меня сейчас есть проблема - не грузится vboxvideo:
https://bugzilla.altlinux.org/show_bug.cgi?id=32493


Плюс необходимо предусмотреть вопрос о загрузке сервисов:

$ sudo VBoxClient
Usage: VBoxClient --clipboard|--draganddrop|--display|--checkhostversion|--seamless|check3d [-d|--nodaemon]
Starts the VirtualBox X Window System guest services.

Options:
  --clipboard        starts the shared clipboard service
  --draganddrop      starts the drag and drop service
  --display          starts the display management service
  --checkhostversion starts the host version notifier service
  --check3d          tests whether 3D pass-through is enabled
  --seamless         starts the seamless windows service
  -d, --nodaemon     continues running as a system service
  -h, --help         shows this help text
  -V, --version      shows version information

/etc/X11/xinit.d/98vboxadd-xclient
...
if ! test -c /dev/vboxguest 2&gt;/dev/null; then
   # Do not start if the kernel module is not present.
   notify-send &quot;VBoxClient: the VirtualBox kernel service is not running.  Exiting.&quot;
elif test -z &quot;${SSH_CONNECTION}&quot;; then
   # This script can also be triggered by a connection over SSH, which is not
   # what we had in mind, so we do not start VBoxClient in that case.  We do
   # not use &quot;exit&quot; here as this script is &quot;source&quot;d, not executed.
  /usr/bin/VBoxClient --clipboard
  /usr/bin/VBoxClient --checkhostversion
  /usr/bin/VBoxClient --display
  /usr/bin/VBoxClient --seamless
  /usr/bin/VBoxClient --draganddrop
fi


Плюс подумать о том, как это всё совместить с systemd.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158568</commentid>
    <comment_count>2</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2016-09-13 06:02:39 +0300</bug_when>
    <thetext>(In reply to comment #1)
&gt; /etc/X11/xinit.d/98vboxadd-xclient

А разве при загрузке иксов он сейчас не выполняется на systemd?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>161068</commentid>
    <comment_count>3</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2016-12-26 12:13:57 +0300</bug_when>
    <thetext>Про этот баг забыли?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>163037</commentid>
    <comment_count>4</comment_count>
    <who name="nbr">nbr</who>
    <bug_when>2017-04-05 15:49:43 +0300</bug_when>
    <thetext>Это еще актуально на 5.1.18?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>163054</commentid>
    <comment_count>5</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2017-04-06 13:17:48 +0300</bug_when>
    <thetext>(In reply to comment #4)
&gt; Это еще актуально на 5.1.18?

Теперь не актуально. Спасибо!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>