Re: [Libosinfo] [osinfo-db][PATCH] fedora, installer: Use authselect instead of authconfig

2018-06-05 Thread Fabiano Fidêncio
On Tue, Jun 5, 2018 at 10:40 AM, Christophe Fergeau  wrote:
> Hey,
>
> Looks good
> Acked-by: Christophe Fergeau 
>
> For reference, this is documented in 'man authselect', and 'sudo
> authselect list' 'sudo authselect show sssd'. The only 2 possible
> choices at the moment are sssd and winbind.
> I see it has a 'with-mkhomedir' option
> with-mkhomedir::
> Enable automatic creation of home directories for users on their
> first login.
>
> I assume by default it's going to do the right thing, and users will
> have a homedir when needed? :)

The "with-mkhomedir" option is related to the use-case where the user
is joined to an identity management environment (like freeipa or
active directory).
So, in this case, with-mkhomedir would create the user's home
directory based on the LDAP setup and so on.

For local users, it doesn't matter, as this part won't be managed by SSSD.

The equivalent option from authconfig would be: "--enablemkhomedir"
which was never used before in our scripts, so we're safe to not pass
it :-)

>
> Christophe
>
> On Mon, Jun 04, 2018 at 08:55:57PM +0200, Fabiano Fidêncio wrote:
>> authconfig has been deprecated on F28 and authselect is its replacement.
>>
>> Signed-off-by: Fabiano Fidêncio 
>> ---
>>  .../fedoraproject.org/fedora-kickstart-desktop.xml.in  | 7 
>> +++
>>  data/install-script/fedoraproject.org/fedora-kickstart-jeos.xml.in | 7 
>> +++
>>  2 files changed, 14 insertions(+)
>>
>> diff --git 
>> a/data/install-script/fedoraproject.org/fedora-kickstart-desktop.xml.in 
>> b/data/install-script/fedoraproject.org/fedora-kickstart-desktop.xml.in
>> index bdc9f5d..e8e1622 100644
>> --- a/data/install-script/fedoraproject.org/fedora-kickstart-desktop.xml.in
>> +++ b/data/install-script/fedoraproject.org/fedora-kickstart-desktop.xml.in
>> @@ -112,7 +112,14 @@ lang 
>>  network --onboot yes --bootproto dhcp --noipv6 --hostname=> select="config/hostname"/>
>>  rootpw dummyPa55w0rd # Actual password set (or unset) in %post below
>>  firewall --disabled
>> +
>> +  
>>  authconfig --enableshadow --enablemd5
>> +  
>> +  
>> +authselect select sssd
>> +  
>> +
>>  timezone --utc 
>>  bootloader --location=mbr
>>  zerombr
>> diff --git 
>> a/data/install-script/fedoraproject.org/fedora-kickstart-jeos.xml.in 
>> b/data/install-script/fedoraproject.org/fedora-kickstart-jeos.xml.in
>> index 8b99dfe..c4bda77 100644
>> --- a/data/install-script/fedoraproject.org/fedora-kickstart-jeos.xml.in
>> +++ b/data/install-script/fedoraproject.org/fedora-kickstart-jeos.xml.in
>> @@ -110,7 +110,14 @@ skipx
>>  network --bootproto dhcp
>>  rootpw 
>>  firewall --disabled
>> +
>> +  
>>  authconfig --enableshadow --enablemd5
>> +  
>> +  
>> +authselect select sssd
>> +  
>> +
>>  
>>  selinux --enforcing
>>  
>> --
>> 2.14.3
>>
>> ___
>> Libosinfo mailing list
>> Libosinfo@redhat.com
>> https://www.redhat.com/mailman/listinfo/libosinfo



-- 
Fabiano Fidêncio

___
Libosinfo mailing list
Libosinfo@redhat.com
https://www.redhat.com/mailman/listinfo/libosinfo


Re: [Libosinfo] [osinfo-db][PATCH 3/5] opensuse: Use 'network-installer' media attribute

2018-06-05 Thread Christophe Fergeau

Acked-by: Christophe Fergeau 

On Sun, Jun 03, 2018 at 06:44:30PM +0200, Fabiano Fidêncio wrote:
> Signed-off-by: Fabiano Fidêncio 
> ---
>  data/os/opensuse.org/opensuse-15.0.xml.in   | 2 +-
>  data/os/opensuse.org/opensuse-42.3.xml.in   | 2 +-
>  data/os/opensuse.org/opensuse-tumbleweed.xml.in | 4 ++--
>  3 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/data/os/opensuse.org/opensuse-15.0.xml.in 
> b/data/os/opensuse.org/opensuse-15.0.xml.in
> index 1ab497e..f3ce8dd 100644
> --- a/data/os/opensuse.org/opensuse-15.0.xml.in
> +++ b/data/os/opensuse.org/opensuse-15.0.xml.in
> @@ -46,7 +46,7 @@
>  
>  
>  
> -
> +
>
>
> http://download.opensuse.org/distribution/leap/15.0/iso/openSUSE-Leap-15.0-NET-x86_64.iso
>
> diff --git a/data/os/opensuse.org/opensuse-42.3.xml.in 
> b/data/os/opensuse.org/opensuse-42.3.xml.in
> index 7371a29..86ede7c 100644
> --- a/data/os/opensuse.org/opensuse-42.3.xml.in
> +++ b/data/os/opensuse.org/opensuse-42.3.xml.in
> @@ -47,7 +47,7 @@
>  
>  
>  
> -
> +
>
>
> http://download.opensuse.org/distribution/leap/42.3/iso/openSUSE-Leap-42.3-NET-x86_64.iso
>
> diff --git a/data/os/opensuse.org/opensuse-tumbleweed.xml.in 
> b/data/os/opensuse.org/opensuse-tumbleweed.xml.in
> index 35f6f60..9361357 100644
> --- a/data/os/opensuse.org/opensuse-tumbleweed.xml.in
> +++ b/data/os/opensuse.org/opensuse-tumbleweed.xml.in
> @@ -68,7 +68,7 @@
>  
>  
>  
> -
> +
>
>
> http://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-NET-i586-Current.iso
>
> @@ -79,7 +79,7 @@
>boot/i386/loader/linux
>boot/i386/loader/initrd
>  
> -
> +
>
>
> http://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-NET-x86_64-Current.iso
>
> -- 
> 2.14.3
> 
> ___
> Libosinfo mailing list
> Libosinfo@redhat.com
> https://www.redhat.com/mailman/listinfo/libosinfo


signature.asc
Description: PGP signature
___
Libosinfo mailing list
Libosinfo@redhat.com
https://www.redhat.com/mailman/listinfo/libosinfo


Re: [Libosinfo] [osinfo-db][PATCH 2/5] fedora: Use 'network-installer' media attribute

2018-06-05 Thread Christophe Fergeau

Acked-by: Christophe Fergeau 

On Sun, Jun 03, 2018 at 06:44:29PM +0200, Fabiano Fidêncio wrote:
> Signed-off-by: Fabiano Fidêncio 
> ---
>  data/os/fedoraproject.org/fedora-19.xml.in | 2 +-
>  data/os/fedoraproject.org/fedora-20.xml.in | 4 ++--
>  data/os/fedoraproject.org/fedora-21.xml.in | 8 
>  data/os/fedoraproject.org/fedora-22.xml.in | 4 ++--
>  data/os/fedoraproject.org/fedora-23.xml.in | 8 
>  data/os/fedoraproject.org/fedora-24.xml.in | 8 
>  data/os/fedoraproject.org/fedora-25.xml.in | 8 
>  data/os/fedoraproject.org/fedora-26.xml.in | 4 ++--
>  data/os/fedoraproject.org/fedora-27.xml.in | 4 ++--
>  data/os/fedoraproject.org/fedora-28.xml.in | 4 ++--
>  10 files changed, 27 insertions(+), 27 deletions(-)


signature.asc
Description: PGP signature
___
Libosinfo mailing list
Libosinfo@redhat.com
https://www.redhat.com/mailman/listinfo/libosinfo


Re: [Libosinfo] [osinfo-db][PATCH 1/5] rng: Add "network-installer" media attribute

2018-06-05 Thread Christophe Fergeau
Can you change 'rng' to 'schema' or 'relax-ng' in the shortlog? At first
I thought it was about Random Number Generators, which was puzzling :)

Acked-by: Christophe Fergeau 

On Sun, Jun 03, 2018 at 06:44:28PM +0200, Fabiano Fidêncio wrote:
> In the same way we have the "live" attribute to help apps using
> libosinfo to find out whether they can rely on the media being a live
> media or not, I'd like to propose the "network-installer" attribute.
> 
> This attribute would be used by the apps to find out which medias, from
> the same distro and version, should be considered a network-installer so
> the apps could make as clear as possible that network is required in
> order to proceed with the installation.
> 
> Signed-off-by: Fabiano Fidêncio 
> ---
>  data/schema/osinfo.rng.in | 5 +
>  1 file changed, 5 insertions(+)
> 
> diff --git a/data/schema/osinfo.rng.in b/data/schema/osinfo.rng.in
> index 843519d..c1dc0a5 100644
> --- a/data/schema/osinfo.rng.in
> +++ b/data/schema/osinfo.rng.in
> @@ -345,6 +345,11 @@
>
>  
>
> +  
> +
> +  
> +
> +  
>
>  
>
> -- 
> 2.14.3
> 
> ___
> Libosinfo mailing list
> Libosinfo@redhat.com
> https://www.redhat.com/mailman/listinfo/libosinfo


signature.asc
Description: PGP signature
___
Libosinfo mailing list
Libosinfo@redhat.com
https://www.redhat.com/mailman/listinfo/libosinfo


Re: [Libosinfo] [osinfo-db][PATCH] fedora, installer: Use authselect instead of authconfig

2018-06-05 Thread Christophe Fergeau
Hey,

Looks good
Acked-by: Christophe Fergeau 

For reference, this is documented in 'man authselect', and 'sudo
authselect list' 'sudo authselect show sssd'. The only 2 possible
choices at the moment are sssd and winbind.
I see it has a 'with-mkhomedir' option
with-mkhomedir::
Enable automatic creation of home directories for users on their
first login.

I assume by default it's going to do the right thing, and users will
have a homedir when needed? :)

Christophe

On Mon, Jun 04, 2018 at 08:55:57PM +0200, Fabiano Fidêncio wrote:
> authconfig has been deprecated on F28 and authselect is its replacement.
> 
> Signed-off-by: Fabiano Fidêncio 
> ---
>  .../fedoraproject.org/fedora-kickstart-desktop.xml.in  | 7 
> +++
>  data/install-script/fedoraproject.org/fedora-kickstart-jeos.xml.in | 7 
> +++
>  2 files changed, 14 insertions(+)
> 
> diff --git 
> a/data/install-script/fedoraproject.org/fedora-kickstart-desktop.xml.in 
> b/data/install-script/fedoraproject.org/fedora-kickstart-desktop.xml.in
> index bdc9f5d..e8e1622 100644
> --- a/data/install-script/fedoraproject.org/fedora-kickstart-desktop.xml.in
> +++ b/data/install-script/fedoraproject.org/fedora-kickstart-desktop.xml.in
> @@ -112,7 +112,14 @@ lang 
>  network --onboot yes --bootproto dhcp --noipv6 --hostname= select="config/hostname"/>
>  rootpw dummyPa55w0rd # Actual password set (or unset) in %post below
>  firewall --disabled
> +
> +  
>  authconfig --enableshadow --enablemd5
> +  
> +  
> +authselect select sssd
> +  
> +
>  timezone --utc 
>  bootloader --location=mbr
>  zerombr
> diff --git 
> a/data/install-script/fedoraproject.org/fedora-kickstart-jeos.xml.in 
> b/data/install-script/fedoraproject.org/fedora-kickstart-jeos.xml.in
> index 8b99dfe..c4bda77 100644
> --- a/data/install-script/fedoraproject.org/fedora-kickstart-jeos.xml.in
> +++ b/data/install-script/fedoraproject.org/fedora-kickstart-jeos.xml.in
> @@ -110,7 +110,14 @@ skipx
>  network --bootproto dhcp
>  rootpw 
>  firewall --disabled
> +
> +  
>  authconfig --enableshadow --enablemd5
> +  
> +  
> +authselect select sssd
> +  
> +
>  
>  selinux --enforcing
>  
> -- 
> 2.14.3
> 
> ___
> Libosinfo mailing list
> Libosinfo@redhat.com
> https://www.redhat.com/mailman/listinfo/libosinfo


signature.asc
Description: PGP signature
___
Libosinfo mailing list
Libosinfo@redhat.com
https://www.redhat.com/mailman/listinfo/libosinfo


Re: [Libosinfo] [osinfo-db][PATCH 1/3] silverblue: Split Team Silverblue and Fedora entries

2018-06-05 Thread Daniel P . Berrangé
On Mon, Jun 04, 2018 at 03:32:52PM -0400, Matthias Clasen wrote:
> > I don't think that's right. If yuou look at their website, they always
> > refer to themselves as "Team Silverblue", not "Fedora Silverblue"
> >
> > https://teamsilverblue.org/
> >
> > In fact, I think the ID should in fact be under http://teamsilverblue.org
> > not under http://fedoraproject.org too, likewise the directory location.
> >
> > NB if you visit teamsilverblue.org/download they do still link to the old
> > Atomic ISO on fedoraproject.org, but it feels like this is just for the
> > sake of easier transition, otherwise they would have just use a subdomain
> > in fedoraproject.org for their website instead of a new top level domain.
> 
> Hey Dan,
> 
> we decided to use "Team Silverblue" for the overall project, and
> "Silverblue" for the OS (people
> are going to shorten it to that anyway). And it is perfectly fine to use
> "Fedora Silverblue" to
> emphasize that this is an effort inside the Fedora project, not something
> separate. I'll add a
> clarification about that to the website.
> 
> So please, use "Fedora Silverblue" as the label.

Ok, thanks for the info. Can you also confirm that it is sensible to
use 'http://fedoraproject.org' as the URL base for the images, and
not 'http://teamsilverblue.org' ?


Regards,
Daniel
-- 
|: https://berrange.com  -o-https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o-https://fstop138.berrange.com :|
|: https://entangle-photo.org-o-https://www.instagram.com/dberrange :|

___
Libosinfo mailing list
Libosinfo@redhat.com
https://www.redhat.com/mailman/listinfo/libosinfo