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

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

    <bug>
          <bug_id>32642</bug_id>
          
          <creation_ts>2016-10-21 13:08:04 +0300</creation_ts>
          <short_desc>polkit не запускается на sysvinit</short_desc>
          <delta_ts>2016-10-24 15:48:58 +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>polkit</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>32358</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Daniil Golovanov">dangolan</reporter>
          <assigned_to name="Valery Inozemtsev">shrek</assigned_to>
          <cc>aris</cc>
    
    <cc>imz</cc>
    
    <cc>shaba</cc>
    
    <cc>shrek</cc>
    
    <cc>zxwarior</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>159344</commentid>
    <comment_count>0</comment_count>
    <who name="Daniil Golovanov">dangolan</who>
    <bug_when>2016-10-21 13:08:04 +0300</bug_when>
    <thetext>Условия воспроизведения:
Сборка regular-icewm-latest-i586.iso от 19.10.2016
Проверка производилась в виртуальной машине VirtualBox 5.1.8
Установка системы в виртуальную машину.
Обновление системы:
su -
apt-get update
apt-get dist-upgrade
Установка пакетов consolekit и polkit. т.к. они отсутствует в системе
apt-get install ConsoleKit polkit
rpm -qa ConsoleKit
ConsoleKit-0.4.5-alt1.qa1
rpm -qa polkit
polkit-0.113-alt2
Перезагрузка
reboot
Проверка наличие запущенных процессов после перезагрузки
Для udev:
ps -eo s,args|grep udev|grep -v grep
S /lib/systemd/systemd-udevd --daemon
Для dbus:
ps -eo s,args|grep dbus|grep -v grep
S /bin/dbus-daemon --system
S /bin/dbus-launch --sh-syntax --exit-with-session
S /bin/dbus-daemon --fork --print-pid 5 --print-address 9 --session
Для ConsoleKit:
ps -eo s,args|grep console-kit|grep -v grep
S /usr/sbin/console-kit-daemon --no-daemon
Для polkit:
ps -eo s,args|grep polkit|grep -v grep
Выхлопа нет.
Попытка ручного запуска:
/usr/libexec/polkit-1/polkitd
Successfully changed to user polkitd 
Error getting system bus: Could not connect: No such file or directoryError getting login monitor: -2 
** (polkitd:2455): WARNING **: Error getting system bus: Could not connect: No such file or directory 
14:34:44.697: Loading rules from directory /etc/polkit-1/rules.d 
14:34:44.697: Loading rules from directory /usr/share/polkit-1/rules.d 
14:34:44.700: Finished loading, compiling and executing 1 rules 
Entering main event loop 
14:34:44.703: Lost the name org.freedesktop.PolicyKit1 - exiting 
Shutting down 
Exiting with code 0 

Комментарий по проблеме и ручное решение от Михаила Ефремова здесь https://bugzilla.altlinux.org/show_bug.cgi?id=32364#c2
Корректировка /etc/fstab
echo &apos;/run    /var/run                bind    defaults,bind 0 0&apos; &gt;&gt; /etc/fstab
Перезагрузка
reboot
Проверка наличие запущенного процесса polkit после перезагрузки
ps -eo s,args|grep polkit|grep -v grep
S /usr/libexec/polkit-1/polkitd  --no-debug

Также проблема воспроизводится при переводе установленной сборки regular-xfce-latest-i586.iso от 19.10.2016 на sysvinit.
Решается аналогично.

Данная проблема уже заявлена пользователем Speccyfighter в https://bugzilla.altlinux.org/show_bug.cgi?id=32364
Несмотря на то, что 32364 CLOSED WONTFIX, прошу не закрывать новый баг как дубликат закрытого. Проблема еще воспроизводится. Если она решится пересборкой пакетов в Сизифе, тогда без спору CLOSED WONTFIX.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>159370</commentid>
    <comment_count>1</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2016-10-22 18:19:08 +0300</bug_when>
    <thetext>Проверьте glib2 из задания №171245.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>159380</commentid>
    <comment_count>2</comment_count>
    <who name="Daniil Golovanov">dangolan</who>
    <bug_when>2016-10-23 15:14:47 +0300</bug_when>
    <thetext>Проверка
Сборка regular-icewm-latest-i586.iso от 19.10.2016
Чистая установка с нуля в ВМ
apt-repo add task 171245
apt-get update
apt-get dist-upgrade
reboot
Проверка после перезагрузки:
ps -eo s,args|grep polkit|grep -v grep
S /usr/libexec/polkit-1/polkitd  --no-debug
Есть автоматический запуск polkit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>159381</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2016-10-23 15:42:15 +0300</bug_when>
    <thetext>glib2-2.50.1-alt2 -&gt; sisyphus:

* Sat Oct 22 2016 Yuri N. Sedunov &lt;aris@altlinux&gt; 2.50.1-alt2
- gio/gdbusaddress.c: s|var/run/dbus|/run/dbus| (ALT #32444, #32642)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>159384</commentid>
    <comment_count>4</comment_count>
    <who name="Speccyfighter">zxwarior</who>
    <bug_when>2016-10-23 16:29:13 +0300</bug_when>
    <thetext>Поднятый polkit с glibc2 из task #171245 подтверждается.
Всем огромное спасибо!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>159393</commentid>
    <comment_count>5</comment_count>
    <who name="Daniil Golovanov">dangolan</who>
    <bug_when>2016-10-24 11:53:56 +0300</bug_when>
    <thetext>Подтверждаю работу пакета polkit после обновления glib2 в Сизифе.
Спасибо.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>