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

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

    <bug>
          <bug_id>28014</bug_id>
          
          <creation_ts>2012-11-20 19:54:57 +0400</creation_ts>
          <short_desc>Не отрабатывает сервис systemd-modules-load</short_desc>
          <delta_ts>2012-11-28 10:43:42 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>systemd</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>
          
          <blocked>27685</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="AEN">aen</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>amike</cc>
    
    <cc>arseny</cc>
    
    <cc>boyarsh</cc>
    
    <cc>glebfm</cc>
    
    <cc>mike</cc>
    
    <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>135056</commentid>
    <comment_count>0</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2012-11-20 19:54:57 +0400</bug_when>
    <thetext># systemctl --failed
UNIT                         LOAD   ACTIVE SUB    JOB DESCRIPTION
systemd-modules-load.service loaded failed failed     Load Kernel Modules</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135057</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Shabalin">shaba</who>
    <bug_when>2012-11-20 20:01:23 +0400</bug_when>
    <thetext>systemctl status systemd-modules-load.service ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135067</commentid>
    <comment_count>2</comment_count>
    <who name="Gleb F-Malinovskiy">glebfm</who>
    <bug_when>2012-11-20 21:09:05 +0400</bug_when>
    <thetext>Думаю, это происходит из-за
$ cat /lib/modules-load.d/rtc.conf
# load rtc module at boot time
rtc

А модуль rtc в виде модуля есть только в ядре std-def.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135068</commentid>
    <comment_count>3</comment_count>
    <who name="Mike">amike</who>
    <bug_when>2012-11-20 21:17:53 +0400</bug_when>
    <thetext>да есть такой rtc и:
modprobe rtc
FATAL: Module rtc not found.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135069</commentid>
    <comment_count>4</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2012-11-20 21:37:49 +0400</bug_when>
    <thetext>(В ответ на комментарий №1)
&gt; systemctl status systemd-modules-load.service ?

[test@c219 ~]$ systemctl status systemd-modules-load.service
systemd-modules-load.service - Load Kernel Modules
	  Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static)
	  Active: failed (Result: exit-code) since Sun, 2012-11-18 01:23:18 MSK; 2 days ago
	    Docs: man:systemd-modules-load.service(8)
	          man:modules-load.d(5)
	 Process: 620 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
	  CGroup: name=systemd:/system/systemd-modules-load.service

[test@c219 ~]$ uname -a
Linux c219.office.altlinux.ru 3.6.4-un-def-alt2 #1 SMP PREEMPT Mon Oct 29 11:33:24 UTC 2012 x86_64 GNU/Linux</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135070</commentid>
    <comment_count>5</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2012-11-20 21:49:50 +0400</bug_when>
    <thetext>(В ответ на комментарий №1)
&gt; systemctl status systemd-modules-load.service ?

Но
[test@c219 ~]$ systemctl status systemd-modules-load.service
systemd-modules-load.service - Load Kernel Modules
	  Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static)
	  Active: active (exited) since Tue, 2012-11-20 21:43:46 MSK; 1min 31s ago
	    Docs: man:systemd-modules-load.service(8)
	          man:modules-load.d(5)
	 Process: 1096 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=0/SUCCESS)
	  CGroup: name=systemd:/system/systemd-modules-load.service

[test@c219 ~]$ uname -a
Linux c219.office.altlinux.ru 3.6.7-std-def-alt1 #1 SMP Mon Nov 19 06:39:10 UTC 2012 x86_64 GNU/Linux</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135074</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2012-11-21 01:26:55 +0400</bug_when>
    <thetext>(In reply to comment #2)
&gt; А модуль rtc в виде модуля есть только в ядре std-def.
BTW есть ли смысл его модулем выносить?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135094</commentid>
    <comment_count>7</comment_count>
    <who name="Gleb F-Malinovskiy">glebfm</who>
    <bug_when>2012-11-21 13:44:45 +0400</bug_when>
    <thetext>(В ответ на комментарий №6)
&gt; (In reply to comment #2)
&gt; &gt; А модуль rtc в виде модуля есть только в ядре std-def.
&gt; BTW есть ли смысл его модулем выносить?

Да нету!
У него ведь даже параметров нет.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135101</commentid>
    <comment_count>8</comment_count>
    <who name="Alexey Shabalin">shaba</who>
    <bug_when>2012-11-21 14:20:09 +0400</bug_when>
    <thetext>/lib/modules-load.d/rtc.conf для загрузки rtc и был сделан, что бы загружать rtc. Я столкнулся с этой проблемой на одном из компьютеров (материнка Gigabyte под процессор Atom), что rtc не загружается и происходят чудеса со временем.
Странно что на других моих компьютерах модуль rtc подгружался самостоятельно без дополнительных трюков.
Так как я не понимаю из описания ядер их особенностей, то воспринимаю std-def как &quot;стандартное по умолчанию&quot; и соответственно ориентируюсь на это ядро и тестирую только на нём. 
Если модуля rtc не будет во всех ядрях, я уберу /lib/modules-load.d/rtc.conf из systemd.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135104</commentid>
    <comment_count>9</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2012-11-21 14:23:14 +0400</bug_when>
    <thetext>(В ответ на комментарий №6)
&gt; (In reply to comment #2)
&gt; &gt; А модуль rtc в виде модуля есть только в ядре std-def.
&gt; BTW есть ли смысл его модулем выносить?

2boyarsh: это вопрос к Вам.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135108</commentid>
    <comment_count>10</comment_count>
    <who name="Anton V. Boyarshinov">boyarsh</who>
    <bug_when>2012-11-21 14:31:50 +0400</bug_when>
    <thetext>(В ответ на комментарий №6)
&gt; (In reply to comment #2)
&gt; &gt; А модуль rtc в виде модуля есть только в ядре std-def.
&gt; BTW есть ли смысл его модулем выносить?

Возможно и нет (не могу с ходу сказать -- поддерживают ли наши ядра оборудование, где он не нужен).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135282</commentid>
    <comment_count>11</comment_count>
    <who name="Anton V. Boyarshinov">boyarsh</who>
    <bug_when>2012-11-22 14:59:38 +0400</bug_when>
    <thetext>Я собрал std-def-3.6.7-alt2 с CONFIG_RTC=y</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135315</commentid>
    <comment_count>12</comment_count>
    <who name="Alexey Shabalin">shaba</who>
    <bug_when>2012-11-22 19:44:21 +0400</bug_when>
    <thetext>systemd-195-alt2
drop rtc.conf from modules-load.d</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>