Github messages for voidlinux
 help / color / mirror / Atom feed
From: thetredev <thetredev@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: open-iscsi: Add a runit service (iscsid)
Date: Sun, 19 Mar 2023 14:23:54 +0100	[thread overview]
Message-ID: <20230319132354.aBvUyB73CEJpbbK2rrlfeiruJQQ8oNH4113ySke0n3E@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40861@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 2029 bytes --]

New comment by thetredev on void-packages repository

https://github.com/void-linux/void-packages/issues/40861#issuecomment-1475255237

Comment:
@leahneukirchen I'm having trouble installing the service via `vsv`. What I did:
```shell
$ cat srcpkgs/open-iscsi/files/iscsid/run
#!/bin/sh
exec 2>&1
[ -r conf ] && . ./conf
exec iscsid -f
```
```shell
$ stat -c '%a' srcpkgs/open-iscsi/files/iscsid/run
755
```
```shell
$ cat srcpkgs/open-iscsi/template
....
post_install() {
        vsv iscsid
}
....
```
```shell
$ ./xbps-src binary-bootstrap
$ ./xbps-src pkg open-iscsi > build.open-iscsi.log
```
[build.open-iscsi.log](https://github.com/void-linux/void-packages/files/11011132/build.open-iscsi.log)
```shell
$ sudo xbps-install --repository hostdir/binpkgs open-iscsi

Name       Action    Version           New version            Download size
libisns    install   -                 0.102_1                - 
open-iscsi install   -                 2.1.8_1                - 

Size required on disk:        2103KB
Space available on disk:       634GB

Do you want to continue? [Y/n] 

[*] Verifying package integrity
libisns-0.102_1: verifying RSA signature...
open-iscsi-2.1.8_1: verifying RSA signature...

[*] Collecting package files
libisns-0.102_1: collecting files...
open-iscsi-2.1.8_1: collecting files...

[*] Unpacking packages
libisns-0.102_1: unpacking ...
open-iscsi-2.1.8_1: unpacking ...
File `./etc/iscsi/initiatorname.iscsi' exists, installing configuration file to `./etc/iscsi/initiatorname.iscsi.new-2.1.8_1'.

[*] Configuring unpacked packages
libisns-0.102_1: configuring ...
libisns-0.102_1: installed successfully.
open-iscsi-2.1.8_1: configuring ...
open-iscsi-2.1.8_1: installed successfully.

0 downloaded, 2 installed, 0 updated, 2 configured, 0 removed.
```
```shell
$ ls /etc/sv/iscsid
ls: cannot access '/etc/sv/iscsid': No such file or directory
```
`vsv` doesn't install `iscsid` for some reason. Can you help me with this? Thanks!

  parent reply	other threads:[~2023-03-19 13:23 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-30 19:30 [ISSUE] Add a service for iscsid (open-iscsi) thetredev
2022-12-01 13:21 ` open-iscsi: Add a runit service (iscsid) kruceter
2022-12-01 13:23 ` kruceter
2022-12-02 10:46 ` ahesford
2022-12-02 11:25 ` thetredev
2023-03-03  2:20 ` github-actions
2023-03-03 20:42 ` thetredev
2023-03-12 16:52 ` leahneukirchen
2023-03-19 13:23 ` thetredev [this message]
2023-03-19 15:23 ` leahneukirchen
2023-03-19 16:37 ` thetredev
2023-06-18  2:07 ` github-actions
2023-06-18 14:20 ` thetredev
2023-06-18 14:20 ` thetredev
2023-07-20 14:41 ` [ISSUE] [CLOSED] " leahneukirchen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230319132354.aBvUyB73CEJpbbK2rrlfeiruJQQ8oNH4113ySke0n3E@z \
    --to=thetredev@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).