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

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

    <bug>
          <bug_id>34844</bug_id>
          
          <creation_ts>2018-04-23 17:36:45 +0300</creation_ts>
          <short_desc>частично сломан на sysvinit</short_desc>
          <delta_ts>2018-04-26 16:34:31 +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>alterator</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>regression</keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Shigorin">mike</reporter>
          <assigned_to name="manowar@altlinux.org">manowar</assigned_to>
          <cc>boyarsh</cc>
    
    <cc>imz</cc>
    
    <cc>manowar</cc>
    
    <cc>sem</cc>
    
    <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>170547</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2018-04-23 17:36:45 +0300</bug_when>
    <thetext># acc
;;; note: source file /usr/share/guile/site/2.2/alterator/ajax.scm
;;;       newer than compiled /usr/lib/alterator/lookout/alterator/ajax.go
;;; found fresh compiled file at /usr/lib64/guile/2.2/site-ccache/alterator/ajax.go
System has not been booted with systemd as init system (PID 1). Can&apos;t operate.
System has not been booted with systemd as init system (PID 1). Can&apos;t operate.
[...цикл...]

alterator-standalone-7.3-alt1.noarch на системе с sysvinit

Не нашёл сходу, кто и где пытается запустить сервис, но если там использовать не systemctl(1), а service(8), то в зависимости от init он предпримет нужные именно ему действия.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>170551</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2018-04-23 17:48:28 +0300</bug_when>
    <thetext>Посмотрел внимательней -- похоже, это interfaces/guile/d.scm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>170554</commentid>
    <comment_count>2</comment_count>
    <who name="manowar@altlinux.org">manowar</who>
    <bug_when>2018-04-23 18:04:02 +0300</bug_when>
    <thetext>Кажется, это не тот ajax.go! Ему нужен lookout/alterator/ajax.go, а он использует alterator/ajax.scm потому, что он новее. Там был прецедент с load path, и похоже, что я решил его не до конца.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>170555</commentid>
    <comment_count>3</comment_count>
    <who name="manowar@altlinux.org">manowar</who>
    <bug_when>2018-04-23 18:05:01 +0300</bug_when>
    <thetext>alterator/ajax.scm и lookout/alterator/ajax.scm — это совершенно разные файлы, если что. Я правда, не понимаю, причём тут systemd.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>170559</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2018-04-23 19:00:35 +0300</bug_when>
    <thetext>(В ответ на комментарий №3)
&gt; Я правда, не понимаю, причём тут systemd.

System has not been booted with systemd as init system (PID 1). Can&apos;t operate. -- типовая диагностика systemctl:

$ strings /sbin/systemctl| fgrep &apos;not been booted with systemd&apos;
System has not been booted with systemd as init system (PID 1). Can&apos;t operate.

Про не тот ajax.{scm,go} -- видимо, ещё одна бага.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>170658</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2018-04-26 14:20:37 +0300</bug_when>
    <thetext>2 shaba: внос systemctl на альтовые системы по умолчанию вылез боком ещё и тут
(не получилось сразу найти ту багу или обсуждение для ссылки).
Похоже, придётся переписать с использованием sd_booted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>170660</commentid>
    <comment_count>6</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2018-04-26 16:34:31 +0300</bug_when>
    <thetext>alterator-5.1-alt11 -&gt; sisyphus:

Thu Apr 26 2018 Paul Wolneykien &lt;manowar@altlinux&gt; 5.1-alt11
- Fix: Check that the system was booted with systemd (closes: #34844).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>