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

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

    <bug>
          <bug_id>35520</bug_id>
          
          <creation_ts>2018-10-17 14:45:24 +0300</creation_ts>
          <short_desc>При установке пакета сервис не стартует автоматически</short_desc>
          <delta_ts>2018-10-25 17:31:14 +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>xfce4-notifyd</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>https://lists.altlinux.org/pipermail/sisyphus/2018-October/367170.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dmitriy Khanzhin">jinn</reporter>
          <assigned_to name="Mikhail Efremov">sem</assigned_to>
          <cc>aris</cc>
    
    <cc>iv</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>175055</commentid>
    <comment_count>0</comment_count>
    <who name="Dmitriy Khanzhin">jinn</who>
    <bug_when>2018-10-17 14:45:24 +0300</bug_when>
    <thetext>При установке пакета сервис xfce4-notifyd.service не запустился.
Зашел в /etc/systemd/user и создал симлинк
$ sudo ln -sf /lib/systemd/user/xfce4-notifyd.service xfce4-notifyd.service
$ systemctl --user enable xfce4-notifyd.service
$ systemctl --user start xfce4-notifyd.service
Перелогинился. Заработало.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>175297</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2018-10-25 13:20:12 +0300</bug_when>
    <thetext>Как я понимаю, системное место для пользовательских unit-файлов это /usr/lib/systemd/user. В пакете стоит переложить xfce4-notifyd.service туда.

Кстати, такая же проблема в thunar.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>175299</commentid>
    <comment_count>2</comment_count>
    <who name="Mikhail Efremov">sem</who>
    <bug_when>2018-10-25 13:37:05 +0300</bug_when>
    <thetext>У нас же апстримное /usr/lib/systemd/ изменено на /lib/systemd/, разве нет?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>175301</commentid>
    <comment_count>3</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2018-10-25 13:51:51 +0300</bug_when>
    <thetext>(In reply to comment #2)
&gt; У нас же апстримное /usr/lib/systemd/ изменено на /lib/systemd/, разве нет?

Для пользовательских юнитов, как показывает быстрый git grep, такого не наблюдается. И все остальные пакеты кладут своё в /usr/lib/systemd/user. 

Сейчас скопировал xfce4-notifyd.service на своей машине в /usr/lib/systemd/user, и уведомления заработали.

shaba@?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>175303</commentid>
    <comment_count>4</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2018-10-25 14:10:09 +0300</bug_when>
    <thetext>$ pkg-config systemd --variable systemduserunitdir
/usr/lib/systemd/user

Давно пора завести свой собственный макрос.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>175315</commentid>
    <comment_count>5</comment_count>
    <who name="Mikhail Efremov">sem</who>
    <bug_when>2018-10-25 16:27:03 +0300</bug_when>
    <thetext>Понятно, сейчас поправлю.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>175317</commentid>
    <comment_count>6</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2018-10-25 17:31:14 +0300</bug_when>
    <thetext>xfce4-notifyd-0.4.2-alt2 -&gt; sisyphus:

Thu Oct 25 2018 Mikhail Efremov &lt;sem@altlinux&gt; 0.4.2-alt2
- Fix systemd userdir location (closes: #35520).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>