Re: [master] Make the kernel 'sshd' parameter work as expected (#572493)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Looks good, but what about making sshd=0 work as well?

Martin

----- "Ales Kozumplik" <akozumpl@xxxxxxxxxx> wrote:

> Without the patch you can't just say 'sshd' you have to say
> 'sshd=anything',
> even 'sshd=0' would work.
> 
> Together with 2d39422b083cb546e69f713752360915e0f55dd3 this fixes
> 572493 and
> thus will be merged for rhel6.
> ---
>  flags.py |    5 ++++-
>  1 files changed, 4 insertions(+), 1 deletions(-)
> 
> diff --git a/flags.py b/flags.py
> index c5aa6d8..17635a4 100644
> --- a/flags.py
> +++ b/flags.py
> @@ -92,13 +92,16 @@ class Flags:
>          # device is
>          self.__dict__['flags']['virtpconsole'] = None
>  
> -        for x in ['selinux','sshd']:
> +        for x in ['selinux']:
>              if self.__dict__['flags']['cmdline'].has_key(x):
>                  if self.__dict__['flags']['cmdline'][x]:
>                      self.__dict__['flags'][x] = 1
>                  else:
>                      self.__dict__['flags'][x] = 0
>  
> +        if self.__dict__['flags']['cmdline'].has_key("sshd"):
> +            self.__dict__['flags']['sshd'] = 1
> +
>          if self.__dict__['flags']['cmdline'].has_key("debug"):
>              self.__dict__['flags']['debug'] =
> self.__dict__['flags']['cmdline']['debug']
>  
> -- 
> 1.6.6
> 
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux