Re: FYI: livesys and livesys-late init.d files left over after Fedora installation

2022-09-28 Thread Neal Gompa
On Mon, Sep 19, 2022 at 7:34 PM Adam Williamson
 wrote:
>
> On Mon, 2022-09-19 at 12:53 -0400, Neal Gompa wrote:
> > On Mon, Sep 19, 2022 at 12:50 PM Brian C. Lane  wrote:
> > >
> > > On Mon, Sep 19, 2022 at 11:08:35AM +0200, Kamil Paral wrote:
> > > > On Mon, Sep 19, 2022 at 10:46 AM Marius Schwarz 
> > > > wrote:
> > > >
> > > > >
> > > > > Hi,
> > > > >
> > > > > if Fedora 35 Liveimage is used to install Fedora, livesys and
> > > > > livesys-late initscripts are incorrectly copied onto the system
> > > > > or not deleted after they lost their functionality.
> > > > >
> > > >
> > > > That's not a bug, that's expected. They should be no-op on the installed
> > > > system. Nobody cared enough to come up with a better system yet. But now
> > > > that fedora-autofirstboot exists, I filed a ticket about it here:
> > > > https://pagure.io/fedora-autofirstboot/issue/3
> > >
> > > A while back there was an initial attempt at replacing the scripts with
> > > a proper package and systemd units:
> > >
> > > https://pagure.io/livesys-scripts
> > >
> >
> > I'd like to switch to this for F38 if we can. :)
>
> Then it'd probably be a good idea to file a Change...

Now that automatic persistent overlay support for dmsquash-live has
been submitted upstream[1], I probably can start working on a Change
proposal for this.

This was the missing feature for livesys-scripts to make the
transition possible. It will let us remove the need for
livecd-iso-to-disk entirely.

[1]: https://github.com/dracutdevs/dracut/pull/1991






--
真実はいつも一つ!/ Always, there's only one truth!
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: FYI: livesys and livesys-late init.d files left over after Fedora installation

2022-09-19 Thread Adam Williamson
On Mon, 2022-09-19 at 12:53 -0400, Neal Gompa wrote:
> On Mon, Sep 19, 2022 at 12:50 PM Brian C. Lane  wrote:
> > 
> > On Mon, Sep 19, 2022 at 11:08:35AM +0200, Kamil Paral wrote:
> > > On Mon, Sep 19, 2022 at 10:46 AM Marius Schwarz 
> > > wrote:
> > > 
> > > > 
> > > > Hi,
> > > > 
> > > > if Fedora 35 Liveimage is used to install Fedora, livesys and
> > > > livesys-late initscripts are incorrectly copied onto the system
> > > > or not deleted after they lost their functionality.
> > > > 
> > > 
> > > That's not a bug, that's expected. They should be no-op on the installed
> > > system. Nobody cared enough to come up with a better system yet. But now
> > > that fedora-autofirstboot exists, I filed a ticket about it here:
> > > https://pagure.io/fedora-autofirstboot/issue/3
> > 
> > A while back there was an initial attempt at replacing the scripts with
> > a proper package and systemd units:
> > 
> > https://pagure.io/livesys-scripts
> > 
> 
> I'd like to switch to this for F38 if we can. :)

Then it'd probably be a good idea to file a Change...
-- 
Adam Williamson
Fedora QA
IRC: adamw | Twitter: adamw_ha
https://www.happyassassin.net

___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: FYI: livesys and livesys-late init.d files left over after Fedora installation

2022-09-19 Thread Neal Gompa
On Mon, Sep 19, 2022 at 12:50 PM Brian C. Lane  wrote:
>
> On Mon, Sep 19, 2022 at 11:08:35AM +0200, Kamil Paral wrote:
> > On Mon, Sep 19, 2022 at 10:46 AM Marius Schwarz 
> > wrote:
> >
> > >
> > > Hi,
> > >
> > > if Fedora 35 Liveimage is used to install Fedora, livesys and
> > > livesys-late initscripts are incorrectly copied onto the system
> > > or not deleted after they lost their functionality.
> > >
> >
> > That's not a bug, that's expected. They should be no-op on the installed
> > system. Nobody cared enough to come up with a better system yet. But now
> > that fedora-autofirstboot exists, I filed a ticket about it here:
> > https://pagure.io/fedora-autofirstboot/issue/3
>
> A while back there was an initial attempt at replacing the scripts with
> a proper package and systemd units:
>
> https://pagure.io/livesys-scripts
>

I'd like to switch to this for F38 if we can. :)



-- 
真実はいつも一つ!/ Always, there's only one truth!
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: FYI: livesys and livesys-late init.d files left over after Fedora installation

2022-09-19 Thread Brian C. Lane
On Mon, Sep 19, 2022 at 11:08:35AM +0200, Kamil Paral wrote:
> On Mon, Sep 19, 2022 at 10:46 AM Marius Schwarz 
> wrote:
> 
> >
> > Hi,
> >
> > if Fedora 35 Liveimage is used to install Fedora, livesys and
> > livesys-late initscripts are incorrectly copied onto the system
> > or not deleted after they lost their functionality.
> >
> 
> That's not a bug, that's expected. They should be no-op on the installed
> system. Nobody cared enough to come up with a better system yet. But now
> that fedora-autofirstboot exists, I filed a ticket about it here:
> https://pagure.io/fedora-autofirstboot/issue/3

A while back there was an initial attempt at replacing the scripts with
a proper package and systemd units:

https://pagure.io/livesys-scripts

the current scripts check for rd.live.image on the cmdline and won't run
without it. They also check for /.liveimg-configured or
/.liveimg-late-configured and won't run with those files present.

https://pagure.io/fedora-kickstarts/blob/main/f/fedora-live-base.ks

Brian

-- 
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: FYI: livesys and livesys-late init.d files left over after Fedora installation

2022-09-19 Thread Kamil Paral
On Mon, Sep 19, 2022 at 10:46 AM Marius Schwarz 
wrote:

>
> Hi,
>
> if Fedora 35 Liveimage is used to install Fedora, livesys and
> livesys-late initscripts are incorrectly copied onto the system
> or not deleted after they lost their functionality.
>

That's not a bug, that's expected. They should be no-op on the installed
system. Nobody cared enough to come up with a better system yet. But now
that fedora-autofirstboot exists, I filed a ticket about it here:
https://pagure.io/fedora-autofirstboot/issue/3
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: FYI: livesys and livesys-late init.d files left over after Fedora installation

2022-09-19 Thread yanqiyu
在 2022-09-19星期一的 10:44 +0200,Marius Schwarz写道:
> 
> Hi,
> 
> if Fedora 35 Liveimage is used to install Fedora, livesys and 
> livesys-late initscripts are incorrectly copied onto the system
> or not deleted after they lost their functionality.

I believe that everything in Live image is copied to installed system,
like I can found anaconda related packages on in installed Fedora. 

$ rpm -qa|grep anaconda
anaconda-user-help-26.2-3.fc37.noarch
kdump-anaconda-addon-006-7.20220714git7ca2d3e.fc37.noarch
anaconda-widgets-37.12.4-1.fc37.x86_64
anaconda-tui-37.12.4-1.fc37.x86_64
anaconda-core-37.12.4-1.fc37.x86_64
anaconda-gui-37.12.4-1.fc37.x86_64
anaconda-37.12.4-1.fc37.x86_64
anaconda-live-37.12.4-1.fc37.x86_64
anaconda-install-env-deps-37.12.4-1.fc37.x86_64
libreport-anaconda-2.17.4-1.fc37.x86_64

> [...]
> 
> afaik they don't do harm if not deleted.

They don't harm, but I tend to delete them, I just deleted those
anaconda packages too (be careful this will clean up some depends like
tmux, use `dnf mark install` if you don't want to)

Also, why don't we do the clean up as part of configuration of
installed system? This can be a good feature for anaconda.

> 
> ___
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines:
> https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


FYI: livesys and livesys-late init.d files left over after Fedora installation

2022-09-19 Thread Marius Schwarz


Hi,

if Fedora 35 Liveimage is used to install Fedora, livesys and 
livesys-late initscripts are incorrectly copied onto the system

or not deleted after they lost their functionality.

This happens afterwards...

[Jul 5 17:01] systemd-sysv-generator[72798]: SysV service 
'/etc/rc.d/init.d/livesys' lacks a native systemd unit file. 
Automatically generating a unit file for compatibility. Please update 
package to include a native systemd unit file, in order to make it more 
safe and robust.
[  +0,26] systemd-sysv-generator[72798]: SysV service 
'/etc/rc.d/init.d/livesys-late' lacks a native systemd unit file. 
Automatically generating a unit file for compatibility. Please update 
package to include a native systemd unit file, in order to make it more 
safe and robust.
[  +0,368763] systemd-sysv-generator[72836]: SysV service 
'/etc/rc.d/init.d/livesys' lacks a native systemd unit file. 
Automatically generating a unit file for compatibility. Please update 
package to include a native systemd unit file, in order to make it more 
safe and robust.
[  +0,24] systemd-sysv-generator[72836]: SysV service 
'/etc/rc.d/init.d/livesys-late' lacks a native systemd unit file. 
Automatically generating a unit file for compatibility. Please update 
package to include a native systemd unit file, in order to make it more 
safe and robust.


afaik they don't do harm if not deleted.

___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue