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

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

    <bug>
          <bug_id>29679</bug_id>
          
          <creation_ts>2014-01-01 22:54:06 +0400</creation_ts>
          <short_desc>packaging errors (users and dirs disapear); wrong paths)</short_desc>
          <delta_ts>2014-09-18 16:43:32 +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>autosshd</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>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Danil Mikhaylov">danil</assigned_to>
          <cc>aen</cc>
    
    <cc>boyarsh</cc>
    
    <cc>cas</cc>
    
    <cc>danil</cc>
    
    <cc>danil</cc>
    
    <cc>lav</cc>
    
    <cc>pv</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>144425</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2014-01-01 22:54:06 +0400</bug_when>
    <thetext>0.0.2-alt3

I&apos;ve fixed several errors -- https://gitorious.org/altlinux/autosshd :

* Correct wrong paths in scripts, configs, and examples. https://gitorious.org/altlinux/autosshd/commit/cd4bf9b8a144382139e9afeb1a0fe6659467a530

* Fix user deletion after an upgrade according to http://www.altlinux.org/PseudoUserPolicy https://gitorious.org/altlinux/autosshd/commit/57ed3b4bc6b9c1162a6f4aad1bca3f358ffff555

(Otherwise the users and dirs disappered on pkg upgrade.)

* Handle /var/lock/subsys/* and /var/run/* in tmpfiles.d https://gitorious.org/altlinux/autosshd/commit/fe30bb4842352dd47f82883b0e3602a3dceb3e57

(Otherwise the dirs disappeared on reboot.)

I&apos;ve named my final release 0.0.2-alt6.

(Then I could use it successfully, as described at http://www.altlinux.org/%D0%A3%D1%87%D0%B0%D1%81%D1%82%D0%BD%D0%B8%D0%BA:IvanZakharyaschev/%D0%9A%D0%B0%D0%BA_%D0%B4%D0%B0%D1%82%D1%8C_%D0%B4%D0%BE%D1%81%D1%82%D1%83%D0%BF_%D0%BD%D0%B0_%D0%BA%D0%BE%D0%BC%D0%BF%D1%8C%D1%8E%D1%82%D0%B5%D1%80_%D1%87%D0%B5%D1%80%D0%B5%D0%B7_%D1%82%D1%83%D0%BD%D0%BD%D0%B5%D0%BB%D1%8C_%D1%81%D1%80%D0%B5%D0%B4%D1%81%D1%82%D0%B2%D0%B0%D0%BC%D0%B8_ssh,_autossh,_autosshd .)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>144426</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2014-01-02 02:25:10 +0400</bug_when>
    <thetext>A mirror of my repo with these patches: http://repo.or.cz/w/autosshd_ALT/autosshd_imz.git .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>144479</commentid>
    <comment_count>2</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2014-01-07 08:21:24 +0400</bug_when>
    <thetext>Хочу попробовать его отправить на сборку git.alt, а там, если требуется, буду ожидать одобрения maintainer-a.

Только мне нужно ещё доступ к git.alt получить. https://bugzilla.altlinux.org/show_bug.cgi?id=29687</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>144487</commentid>
    <comment_count>3</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2014-01-08 03:00:03 +0400</bug_when>
    <thetext>(В ответ на комментарий №2)
&gt; Хочу попробовать его отправить на сборку git.alt, а там, если требуется, буду
&gt; ожидать одобрения maintainer-a.
Да, пожалуйста.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>144526</commentid>
    <comment_count>4</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2014-01-10 03:34:52 +0400</bug_when>
    <thetext>Хорошо. Остался такой вопрос:

Сейчас в spec-е нет поля Packager. Мне кажется, новый packager окажется ответственным за пакет (http://www.altlinux.org/Hasher/FAQ#Q5 ). Я бы хотел вписать туда не себя, потому что я просто поправил его, а более настоящего ответственного. Правильно ли будет, раз этот bug has been re-assigned to Danil Mikhaylov, это и записать в поле Packager? (Тогда какой идентификатор @altlinux.org?) Или лучше просто последнего собиравшего до меня -- lav@ ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>144527</commentid>
    <comment_count>5</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2014-01-10 04:18:57 +0400</bug_when>
    <thetext>Просто поставил lav@ в качестве Packager, чтобы не было сюрпризов для Данила.

task #111591</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>144528</commentid>
    <comment_count>6</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2014-01-10 04:32:20 +0400</bug_when>
    <thetext>0.0.2-alt7 has been built and accepted by git.alt. Permissions were OK for me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>145591</commentid>
    <comment_count>7</comment_count>
    <who name="Pavel Vainerman">pv</who>
    <bug_when>2014-03-05 00:36:18 +0400</bug_when>
    <thetext>Ставим из Сизифа.. 

# rpm -Uhv autosshd-0.0.2-alt8.noarch.rpm nio14-autosshd-conf-0.1-alt0.1.noarch.rpm
Подготовка...      ##################################################################################################
autosshd                     ##################################################################################################
Failed to issue method call: No such file or directory

и service autosshd не стартует..

Что можно сделать?

P.S. Правда ставлю в p7</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>145596</commentid>
    <comment_count>8</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2014-03-05 12:59:46 +0400</bug_when>
    <thetext>сервис autosshd поддерживает chkconfig, но не используется ни на одном уровне выполнения (запустите &apos;chkconfig --add autosshd&apos;)

Это и сделать. Правда, это не спасёт, так как запущенная служба всё равно сразу выходит:

# service autosshd status
autosshd.service - SYSV: autosshd run autossh as system service
   Loaded: loaded (/etc/rc.d/init.d/autosshd)
   Active: active (exited) since Ср 2014-03-05 12:58:46 MSK; 11s ago
  Process: 2638 ExecStart=/etc/rc.d/init.d/autosshd start (code=exited, status=0/SUCCESS)

мар 05 12:58:46 cas.office.altlinux.ru systemd[1]: Starting SYSV: autosshd run autossh as system service...
мар 05 12:58:46 cas.office.altlinux.ru systemd[1]: Started SYSV: autosshd run autossh as system service.
[root@cas ~]# ps ax | grep autoss
 2651 pts/7    S+     0:00 grep --color=auto autoss
[root@cas ~]#</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>147769</commentid>
    <comment_count>9</comment_count>
    <who name="Danil Mikhaylov">danil</who>
    <bug_when>2014-09-18 16:43:32 +0400</bug_when>
    <thetext>Version: 0.0.3-alt4

Changelog:
 * Ср сен 17 2014 Danil Mikhailov &lt;danil@altlinux.org&gt; 0.0.3-alt4
 - added cheking for existing config
 * Ср сен 17 2014 Danil Mikhailov &lt;danil@altlinux.org&gt; 0.0.3-alt3
 - move files in right directory
 - fix start when already running
 * Чт сен 11 2014 Danil Mikhailov &lt;danil@altlinux.org&gt; 0.0.3-alt2
 - rewrite doc
 - rewrite init script
 - added new scripts:
 - autosshd-conf for export variables to _anyssh user
 - autosshd-ssh for test connection over ssh
 * Пн июл 07 2014 Vitaly Lipatov &lt;lav@altlinux.ru&gt; 0.0.3-alt1
 - development release
 - rewrite init script
 - add anyssh.ru.conf.example
 - add unused generate key script
 - cleanup spec, move initialize code to a separate script</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>