Bug 30364 - зависит от systemd, а инитскрипт ищет бинарник не там
Summary: зависит от systemd, а инитскрипт ищет бинарник не там
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: fuse-zfs (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: viy
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-29 16:22 MSK by Michael Shigorin
Modified: 2014-09-29 18:33 MSK (History)
0 users

See Also:


Attachments
проверенный zfs-fuse.spec (5.27 KB, text/plain)
2014-09-29 16:22 MSK, Michael Shigorin
no flags Details
проверенный zfs-fuse.init (1.68 KB, text/plain)
2014-09-29 17:55 MSK, Michael Shigorin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Shigorin 2014-09-29 16:22:37 MSK
Created attachment 6153 [details]
проверенный zfs-fuse.spec

Просьба вырезАть из спека

Requires(post):   systemd
Requires(preun):  systemd
Requires(postun): systemd

иначе

The following packages have unmet dependencies:
  fuse-zfs: PreDepends: systemd
            PreDepends: systemd
            PreDepends: systemd

PS: также при попытке проверки было замечено, что zfs-fuse при запуске пытается открыть отсутствующий /etc/zfs/zfsrc, но это уже отдельная история...
Comment 1 Michael Shigorin 2014-09-29 17:19:54 MSK
Там же в инитскрипте нужно починить путь к бинарнику:

-ZFS_FUSE_BIN=/usr/sbin/zfs-fuse
+ZFS_FUSE_BIN=/usr/bin/zfs-fuse

и можно сделать чуть красивше и тише:

-/bin/lsmod | grep '^fuse'
+grep -q '^fuse' /proc/modules
Comment 2 Michael Shigorin 2014-09-29 17:55:44 MSK
Created attachment 6154 [details]
проверенный zfs-fuse.init

С этим инитскриптом проверил regular-rescue.iso и собрал тестовое задание:
http://git.altlinux.org/tasks/131216/
Comment 3 Repository Robot 2014-09-29 18:08:09 MSK
fuse-zfs-0.7.0-alt1_20 -> sisyphus:

* Mon Sep 29 2014 Igor Vlasenko <viy@altlinux> 0.7.0-alt1_20
- new release (closes: #30364)
Comment 4 Michael Shigorin 2014-09-29 18:33:07 MSK
Спасибо!