Devuan bug report logs - #593
fwupd: Missing sysvinit script

version graph

Package: fwupd; Maintainer for fwupd is (unknown); Source for fwupd is src:fwupd.

Reported by: Dennis Camera <dennis.camera@ssrq-sds-fds.ch>

Date: Mon, 19 Jul 2021 09:03:02 UTC

Severity: normal

Tags: moreinfo

Found in version 1.5.7-4

Done: Mark Hindley <mark@hindley.org.uk>

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#593; Package fwupd. (Mon, 19 Jul 2021 09:03:02 GMT) (full text, mbox, link).


Acknowledgement sent to Dennis Camera <dennis.camera@ssrq-sds-fds.ch>:
New bug report received and forwarded. Copy sent to devuan-dev@lists.dyne.org. (Mon, 19 Jul 2021 09:03:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

From: Dennis Camera <dennis.camera@ssrq-sds-fds.ch>
To: submit@bugs.devuan.org
Subject: fwupd: Missing sysvinit script
Date: Mon, 19 Jul 2021 10:53:28 +0200
Package: fwupd
Version: 1.5.7-4

Dear maintainer,

The fwupd package on Devuan only ships systemd services and timers.
To be functional on Devuan it should ship sysvinit scripts and a refresh cron job, instead.

I verified this "bug" to occur on beowulf and chimaera.


Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#593; Package fwupd. (Mon, 19 Jul 2021 10:33:02 GMT) (full text, mbox, link).


Message #8 received at 593@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: Dennis Camera <dennis.camera@ssrq-sds-fds.ch>, 593@bugs.devuan.org
Subject: Re: bug#593: fwupd: Missing sysvinit script
Date: Mon, 19 Jul 2021 11:26:15 +0100
Control: tags -1 moreinfo

Dennis,

Thanks for this. It is not software I am farmiliar with, but I have had a quick
look an installed it in a VM.

On Mon, Jul 19, 2021 at 10:53:28AM +0200, Dennis Camera wrote:
> Package: fwupd
> Version: 1.5.7-4
> 
> Dear maintainer,
> 
> The fwupd package on Devuan only ships systemd services and timers.
> To be functional on Devuan it should ship sysvinit scripts and a refresh cron job, instead.

AFAICS the service files are dbus activatable. As such they still work on
Devuan. The thing that is missing is a cron script.

I ran '/usr/bin/fwupdmgr refresh' from the command line without issue or
error. After running this, the output of 'busctl' showed that the
org.freedesktop.fwup service had been started correctly.

Can you verify that?

Is there anything else, from a functional perspective, that you expect to
happen?

Thanks.

Mark

Added tag(s) moreinfo. Request was from Mark Hindley <mark@hindley.org.uk> to 593-submit@bugs.devuan.org. (Mon, 19 Jul 2021 10:33:04 GMT) (full text, mbox, link).


Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#593; Package fwupd. (Mon, 19 Jul 2021 11:33:01 GMT) (full text, mbox, link).


Acknowledgement sent to Dennis Camera <dennis.camera@ssrq-sds-fds.ch>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. (Mon, 19 Jul 2021 11:33:05 GMT) (full text, mbox, link).


Message #15 received at 593@bugs.devuan.org (full text, mbox, reply):

From: Dennis Camera <dennis.camera@ssrq-sds-fds.ch>
To: Mark Hindley <mark@hindley.org.uk>, 593@bugs.devuan.org
Subject: Re: bug#593: fwupd: Missing sysvinit script
Date: Mon, 19 Jul 2021 13:15:57 +0200
Dear Mark,

> On 19 Jul 2021, at 12:26, Mark Hindley <mark@hindley.org.uk> wrote:
> 
> On Mon, Jul 19, 2021 at 10:53:28AM +0200, Dennis Camera wrote:
>> The fwupd package on Devuan only ships systemd services and timers.
>> To be functional on Devuan it should ship sysvinit scripts and a refresh cron job, instead.
> 
> AFAICS the service files are dbus activatable. As such they still work on
> Devuan. 

Oh, it didn’t occur to me that .service files can be launched by anything else than systemd.

> The thing that is missing is a cron script.

Now that I’m thinking more about this, one can argue if the package should install e cron job by default.
Maybe some users wouldn’t want to have fwupd auto-update (like apt-get also doesn’t auto-update by default).

Maybe just adding a section on how to create such a cron job to README.Debian or
adding a debconf question would be the better choice.

> I ran '/usr/bin/fwupdmgr refresh' from the command line without issue or
> error. After running this, the output of 'busctl' showed that the
> org.freedesktop.fwup service had been started correctly.
> 
> Can you verify that?

Yes, when I execute fwupdmgr, the fwupd daemon is started automatically.

> Is there anything else, from a functional perspective, that you expect to
> happen?

Currently, I don’t know. I couldn’t get fwupd to work as I wanted to, yet.
At first I thought it was because of the package assuming systemd to be present,
but as it turns out this is not the issue.

Possibly adding a cron job for the refresh process could be seen as an improvement,
but I can imagine that opinions differ on that.

As far as I’m concerned this bug can be closed.

Thanks for your assistance.
- Dennis


Reply sent to Mark Hindley <mark@hindley.org.uk>:
You have taken responsibility. (Mon, 19 Jul 2021 12:03:01 GMT) (full text, mbox, link).


Notification sent to Dennis Camera <dennis.camera@ssrq-sds-fds.ch>:
bug acknowledged by developer. (Mon, 19 Jul 2021 12:03:04 GMT) (full text, mbox, link).


Message #20 received at 593-done@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: Dennis Camera <dennis.camera@ssrq-sds-fds.ch>
Cc: 593-done@bugs.devuan.org
Subject: Re: bug#593: fwupd: Missing sysvinit script
Date: Mon, 19 Jul 2021 12:54:38 +0100
On Mon, Jul 19, 2021 at 01:15:57PM +0200, Dennis Camera wrote:
> Now that I’m thinking more about this, one can argue if the package should install e cron job by default.
> Maybe some users wouldn’t want to have fwupd auto-update (like apt-get also
> doesn’t auto-update by default).

AFAICS, the systemd timer to update motd requires manual activation by the
sysadmin, so Debian maintainers agree with you on this! See data/motd/README.md
in the source.

> Maybe just adding a section on how to create such a cron job to README.Debian or
> adding a debconf question would be the better choice.

Devuan doesn't currently fork this package, so maybe the best solution is to
submit a cron fragment to Debian for inclusion in contrib or similar.

> > I ran '/usr/bin/fwupdmgr refresh' from the command line without issue or
> > error. After running this, the output of 'busctl' showed that the
> > org.freedesktop.fwup service had been started correctly.
> > 
> > Can you verify that?
> 
> Yes, when I execute fwupdmgr, the fwupd daemon is started automatically.

Good!

> As far as I’m concerned this bug can be closed.

Thanks.

Closing.

Mark

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Sun Nov 24 07:39:46 2024;