Re: [CentOS] where to get reliable/open source license manager

2021-05-29 Thread Pete Biggs
> 
> If your code is written in Python, what’s to stop users from just
> rewriting the license check?

In my youth I realised that a licensed package was calling a separate
executable to check the license - the return code determined if the
product was licensed. I replaced the license code with a shell script
that returned '1' and it all worked.  Simple, naive days.


P.


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] where to get reliable/open source license manager

2021-05-29 Thread Pete Biggs


> 
> I know flexlm but I never heard of an open source project with the same
> functionality. Open source is usually free to use so there is no need to
> control the number of licenses used :-)
> 
There is an OpenLM that, ISTR, is a replacement for FlexLM. I've used
the tools associated with it to analyse FlexLM logs.  However looking
at it, it now seems to be a commercial enterprise.

P.


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] where to get reliable/open source license manager

2021-05-29 Thread Jonathan Billings
On May 28, 2021, at 08:49, qw  wrote:
> 
> I have developped one python application. I need open source license server 
> to manage the app via local network. Where can I get this kind of open source 
> project?

If your code is written in Python, what’s to stop users from just rewriting the 
license check?

--
Jonathan Billings
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] kmod removal [solved]

2021-05-29 Thread Emmett Culley via CentOS

On 5/29/21 10:08 AM, Emmett Culley via CentOS wrote:

On 5/29/21 9:29 AM, Frank Cox wrote:

On Sat, 29 May 2021 09:19:03 -0700
Emmett Culley via CentOS wrote:


Seem there is no such package.  I believe because it get built newly each
time a new kernel is installed.


What did you do (exactly) when you installed kmod-wl in the first place?  Did 
the rpm have a name?  What was that name?

If you're not sure, the what is the output from:

rpm -qa | grep kmod




[root@ws1 etc]# rpm -qa | grep kmod
kmod-27-3.fc33.x86_64
akmods-0.5.6-26.fc33.noarch
kmod-libs-27-3.fc33.x86_64
kmodtool-1-41.fc33.noarch
akmod-wl-6.30.223.271-36.fc33.x86_64
kmod-wl-5.11.19-200.fc33.x86_64-6.30.223.271-36.fc33.x86_64
kmod-wl-5.12.5-200.fc33.x86_64-6.30.223.271-36.fc33.x86_64
kmod-wl-5.12.6-200.fc33.x86_64-6.30.223.271-36.fc33.x86_64


I probably did this when installing.  It has been a while.

[root@ws1 etc]# dnf install kmod-wl
Last metadata expiration check: 1:16:38 ago on Sat 29 May 2021 08:42:33 AM PDT.
Dependencies resolved.
===
  Package    Architecture   
   Version   Repository 
   Size
===
Installing:
  kmod-wl    x86_64 
   6.30.223.271-36.fc33  
rpmfusion-nonfree-updates 10 k

Transaction Summary
===
Install  1 Package

I see that it is installing kmod-wl for the last kernel that would be installed 
if I did an update.

[root@ws1 etc]# dnf update --allowerasing --nobest
Last metadata expiration check: 1:21:41 ago on Sat 29 May 2021 08:42:33 AM PDT.
Dependencies resolved.
===
  Package Architecture  
 Version    
Repository Size
===
Installing:
  kernel    x86_64 
5.12.7-200.fc33    updates  
  51 k
  kernel-core   x86_64 
5.12.7-200.fc33    updates  
  34 M
  kernel-devel  x86_64 
5.12.7-200.fc33    updates  
  14 M
  kernel-modules    x86_64 
5.12.7-200.fc33    updates  
  31 M
  kernel-modules-extra  x86_64 
5.12.7-200.fc33    updates  
 2.0 M
Removing:
  kernel    x86_64 
5.11.19-200.fc33   @updates 
   0
  kernel-core   x86_64 
5.11.19-200.fc33   @updates 
  74 M
  kernel-devel  x86_64 
5.11.19-200.fc33   @updates 
  56 M
  kernel-modules    x86_64 
5.11.19-200.fc33   @updates 
  30 M
  kernel-modules-extra  x86_64 
5.11.19-200.fc33   @updates 
 1.9 M
Removing dependent packages:
  kmod-wl-5.11.19-200.fc33.x86_64   x86_64 

Re: [CentOS] kmod removal

2021-05-29 Thread Emmett Culley via CentOS

On 5/29/21 9:29 AM, Frank Cox wrote:

On Sat, 29 May 2021 09:19:03 -0700
Emmett Culley via CentOS wrote:


Seem there is no such package.  I believe because it get built newly each
time a new kernel is installed.


What did you do (exactly) when you installed kmod-wl in the first place?  Did 
the rpm have a name?  What was that name?

If you're not sure, the what is the output from:

rpm -qa | grep kmod




[root@ws1 etc]# rpm -qa | grep kmod
kmod-27-3.fc33.x86_64
akmods-0.5.6-26.fc33.noarch
kmod-libs-27-3.fc33.x86_64
kmodtool-1-41.fc33.noarch
akmod-wl-6.30.223.271-36.fc33.x86_64
kmod-wl-5.11.19-200.fc33.x86_64-6.30.223.271-36.fc33.x86_64
kmod-wl-5.12.5-200.fc33.x86_64-6.30.223.271-36.fc33.x86_64
kmod-wl-5.12.6-200.fc33.x86_64-6.30.223.271-36.fc33.x86_64


I probably did this when installing.  It has been a while.

[root@ws1 etc]# dnf install kmod-wl
Last metadata expiration check: 1:16:38 ago on Sat 29 May 2021 08:42:33 AM PDT.
Dependencies resolved.
===
 PackageArchitecture
  Version   Repository  
  Size
===
Installing:
 kmod-wlx86_64  
  6.30.223.271-36.fc33  
rpmfusion-nonfree-updates 10 k

Transaction Summary
===
Install  1 Package

I see that it is installing kmod-wl for the last kernel that would be installed 
if I did an update.

[root@ws1 etc]# dnf update --allowerasing --nobest
Last metadata expiration check: 1:21:41 ago on Sat 29 May 2021 08:42:33 AM PDT.
Dependencies resolved.
===
 Package Architecture   
Version
Repository Size
===
Installing:
 kernelx86_64 
5.12.7-200.fc33updates  
  51 k
 kernel-core   x86_64 
5.12.7-200.fc33updates  
  34 M
 kernel-devel  x86_64 
5.12.7-200.fc33updates  
  14 M
 kernel-modulesx86_64 
5.12.7-200.fc33updates  
  31 M
 kernel-modules-extra  x86_64 
5.12.7-200.fc33updates  
 2.0 M
Removing:
 kernelx86_64 
5.11.19-200.fc33   @updates 
   0
 kernel-core   x86_64 
5.11.19-200.fc33   @updates 
  74 M
 kernel-devel  x86_64 
5.11.19-200.fc33   @updates 
  56 M
 kernel-modulesx86_64 
5.11.19-200.fc33   @updates 
  30 M
 kernel-modules-extra  x86_64 
5.11.19-200.fc33   @updates 
 1.9 M
Removing dependent packages:
 kmod-wl-5.11.19-200.fc33.x86_64   x86_64 
6.30.223.271-36.fc33   @@commandline  

Re: [CentOS] kmod removal

2021-05-29 Thread Frank Cox
On Sat, 29 May 2021 09:19:03 -0700
Emmett Culley via CentOS wrote:

> Seem there is no such package.  I believe because it get built newly each
> time a new kernel is installed.

What did you do (exactly) when you installed kmod-wl in the first place?  Did 
the rpm have a name?  What was that name?

If you're not sure, the what is the output from:

rpm -qa | grep kmod


-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] kmod removal

2021-05-29 Thread Emmett Culley via CentOS

On 5/29/21 8:06 AM, Phil Perry wrote:

On 29/05/2021 15:52, Emmett Culley via CentOS wrote:

Sometime ago I thought I needed kmod-wl to support a new wireless card. Turns 
out I didn't need to do that. Now I'd like to remove kmod entirely.  But when I 
try I get this:

[root@ws1 etc]# dnf remove kmod
Error:
Problem: The operation would result in removing the following protected 
packages: systemd-udev
(try to add '--skip-broken' to skip uninstallable packages)

I am sure I don't want to remove systemd-udev, so I am a loss.

I did disable akmods:

systemctl disable akmods

But I still see that kmod-wl is built each time the kernal is updated.

Any suggestions where I can find out how to remove kmod.

Note that searching the internet only brings me info on removing kmod-nvidia, 
and mostly on ubuntu, and they are no help because mostly what they discuss is 
how get back to neuveau.

Even docs I've found that discuss how to install kmod on CentOS say nothing 
about removal.

Emmett


Try:

dnf remove kmod-wl

which should do it for you.

the 'kmod' package is the package that provides the underlying kmod 
architecture. The kmod package providing the individual driver is (probably) 
called kmod-wl.

Hope that helps.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

I tried that before:

[root@ws1 etc]# dnf remove kmod-wl
No match for argument: kmod-wl
No packages marked for removal.
Dependencies resolved.
Nothing to do.
Complete!


Seem there is no such package.  I believe because it get built newly each time 
a new kernel is installed.

Emmett

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] kmod removal

2021-05-29 Thread Phil Perry

On 29/05/2021 15:52, Emmett Culley via CentOS wrote:
Sometime ago I thought I needed kmod-wl to support a new wireless card.  
Turns out I didn't need to do that. Now I'd like to remove kmod 
entirely.  But when I try I get this:


[root@ws1 etc]# dnf remove kmod
Error:
Problem: The operation would result in removing the following protected 
packages: systemd-udev

(try to add '--skip-broken' to skip uninstallable packages)

I am sure I don't want to remove systemd-udev, so I am a loss.

I did disable akmods:

systemctl disable akmods

But I still see that kmod-wl is built each time the kernal is updated.

Any suggestions where I can find out how to remove kmod.

Note that searching the internet only brings me info on removing 
kmod-nvidia, and mostly on ubuntu, and they are no help because mostly 
what they discuss is how get back to neuveau.


Even docs I've found that discuss how to install kmod on CentOS say 
nothing about removal.


Emmett


Try:

dnf remove kmod-wl

which should do it for you.

the 'kmod' package is the package that provides the underlying kmod 
architecture. The kmod package providing the individual driver is 
(probably) called kmod-wl.


Hope that helps.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] kmod removal

2021-05-29 Thread Emmett Culley via CentOS

Sometime ago I thought I needed kmod-wl to support a new wireless card.  Turns 
out I didn't need to do that. Now I'd like to remove kmod entirely.  But when I 
try I get this:

[root@ws1 etc]# dnf remove kmod
Error:
 Problem: The operation would result in removing the following protected 
packages: systemd-udev
(try to add '--skip-broken' to skip uninstallable packages)

I am sure I don't want to remove systemd-udev, so I am a loss.

I did disable akmods:

systemctl disable akmods

But I still see that kmod-wl is built each time the kernal is updated.

Any suggestions where I can find out how to remove kmod.

Note that searching the internet only brings me info on removing kmod-nvidia, 
and mostly on ubuntu, and they are no help because mostly what they discuss is 
how get back to neuveau.

Even docs I've found that discuss how to install kmod on CentOS say nothing 
about removal.

Emmett
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] where to get reliable/open source license manager

2021-05-29 Thread Leon Fauster via CentOS

On 29.05.21 05:32, qw wrote:

I have developped one python application. I need open source license server to 
manage the app via local network. Where can I get this kind of open source 
project?



It's not really clear (to me, anyway) what you're asking for. What would
the application you're looking for *do*?

Are you looking for something like flexlm?  Are you licensing your
python application on a per-seat basis?

I'm looking for some software like flexlm, which has the function like floating 
license. My python app will be installed in several PCs in local network, and I 
want to manage which python app can be used. So I need one license manager to 
control the usage of python app. One python app will be installed in one PC.




Not sure if this is the right tool for your use case:

https://www.candlepinproject.org/

--
Leon
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] where to get reliable/open source license manager

2021-05-29 Thread Simon Matter
>>> I have developped one python application. I need open source license
>>> server to manage the app via local network. Where can I get this kind
>>> of open source project?
>>
>>
>>It's not really clear (to me, anyway) what you're asking for. What would
>>the application you're looking for *do*?
>>
>>Are you looking for something like flexlm?  Are you licensing your
>>python application on a per-seat basis?
> I'm looking for some software like flexlm, which has the function like
> floating license. My python app will be installed in several PCs in local
> network, and I want to manage which python app can be used. So I need one
> license manager to control the usage of python app. One python app will be
> installed in one PC.

I know flexlm but I never heard of an open source project with the same
functionality. Open source is usually free to use so there is no need to
control the number of licenses used :-)

Regards,
Simon

>
>
>
>
> Thanks!
>
>
> Regards
>
>
> Andrew
>
>
>
>
>
> At 2021-05-29 04:54:34, "Gordon Messmer"  wrote:
>>On 5/28/21 5:49 AM, qw wrote:
>>> I have developped one python application. I need open source license
>>> server to manage the app via local network. Where can I get this kind
>>> of open source project?
>>
>>
>>It's not really clear (to me, anyway) what you're asking for. What would
>>the application you're looking for *do*?
>>
>>Are you looking for something like flexlm?  Are you licensing your
>>python application on a per-seat basis?
>>
>>___
>>CentOS mailing list
>>CentOS@centos.org
>>https://lists.centos.org/mailman/listinfo/centos
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos