Socket state: Output of lsfd

2024-05-19 Thread Sergio Belkin
Hi, I've found that if I run something like :

ping -4 127.0.0.1
ping6 ::1



and then open another terminal and run using pid of those processes:

sudo lsfd  -i -p  148253,148121  -o +FD,SOCK.STATE
COMMANDPID   USER ASSOC  XMODE   TYPE SOURCE MNTID   INODE NAME
   FD SOCK.STATE
ping148121 sergio 3 rw   PING sockfs 9 1503460 state=close
id=30 laddr=0.0.0.0  3  close
ping6   148253 sergio 3 rw PINGv6 sockfs 9 1501004 state=close
id=31 laddr=::   3  close

I wonder if the "state=close" is the expected behavior or if is an error, I
even run that command with watch -n 0.1 and always appears as "close".

Thanks in advance
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
--
___
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: F42 Change Proposal: Fedora Plasma Workstation (System-Wide)

2024-04-02 Thread Sergio Belkin
>
> it’s not a change.
> --
> --
> Sergio Belkin
> LPIC-2 Certified - http://www.lpi.org
>

It's not a change already decided I meant :) !

sorry for the noise
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
--
___
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: F42 Change Proposal: Fedora Plasma Workstation (System-Wide)

2024-04-02 Thread Sergio Belkin
El mar, 2 abr 2024 a las 18:32, Adam Williamson ()
escribió:

> On Tue, 2024-04-02 at 17:37 -0300, Sergio Belkin wrote:
> >
> > I am a happy KDE user, since the good old days of version 1.0. I
> celebrate
> > this decision! My recognition goes to the enormous and sustained work of
> > the entire KDE community.
> > Cheers,
> > Sergiio
>
> To be clear, there is no 'decision'. This is a Change proposal. Any
> Fedora community member can submit a Change proposal proposing just
> about any change; I could submit one tomorrow proposing we abandon all
> software development and open a  instead.
>
> A Change proposal existing is in no way an indication of any ultimate
> outcome. Change proposals can be, and frequently are, rejected.
> --
> Adam Williamson (he/him/his)
> Fedora QA
> Fedora Chat: @adamwill:fedora.im | Mastodon: @ad...@fosstodon.org
> 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
>



Oh, yup Adam, thank you for correcting it. Haha, the yak farm comment made
me laugh. I jumped the gun; it’s not a change. Nevertheless, I’m glad this
topic is being discussed in a healthy manner :) In fact, on this page, we
can also check the change policy and join the discussion thread!”
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
--
___
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: F42 Change Proposal: Fedora Plasma Workstation (System-Wide)

2024-04-02 Thread Sergio Belkin
ey
> --
> _______
> devel-announce mailing list -- devel-annou...@lists.fedoraproject.org
> To unsubscribe send an email to
> devel-announce-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-annou...@lists.fedoraproject.org
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
>

I am a happy KDE user, since the good old days of version 1.0. I celebrate
this decision! My recognition goes to the enormous and sustained work of
the entire KDE community.
Cheers,
Sergiio

-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
--
___
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


Session Recording with sssd is not working

2022-07-15 Thread Sergio Belkin
Hi, I've configured sssd to use session recording along with tlog but it's
not working.

I don't use any domain for authentication, all users are local

This my configuration files:

**/etc/sssd/sssd.conf**
```
[sssd]
domains = files
services = pam, sudo, nss, ssh

[domain/files]
id_provider = files
```

Is the above configuration correct?

And  **/etc/sssd/conf.d/sssd-session-recording.conf** :

```
[session_recording]
scope=all
exclude_users=
exclude_groups=
```
I don't find ny errors:

```
[root@munster ~]# sssctl config-check
Issues identified by validators: 0

Messages generated during configuration merging: 0

Used configuration snippet files: 1
/etc/sssd/conf.d/sssd-session-recording.conf
[root@munster ~]# systemctl status sssd
● sssd.service - System Security Services Daemon
 Loaded: loaded (/usr/lib/systemd/system/sssd.service; enabled; vendor
preset: enabled)
 Active: active (running) since Wed 2022-07-13 23:40:25 -03; 9h ago
   Main PID: 971 (sssd)
  Tasks: 6 (limit: 38124)
 Memory: 55.9M
CPU: 2.409s
 CGroup: /system.slice/sssd.service
 ├─  971 /usr/sbin/sssd -i --logger=files
 ├─ 1030 /usr/libexec/sssd/sssd_be --domain files --uid 0 --gid
0 --logger=files
 ├─ 1035 /usr/libexec/sssd/sssd_pam --uid 0 --gid 0
--logger=files
 ├─ 1036 /usr/libexec/sssd/sssd_sudo --uid 0 --gid 0
--logger=files
 ├─ 1037 /usr/libexec/sssd/sssd_nss --uid 0 --gid 0
--logger=files
 └─ 1038 /usr/libexec/sssd/sssd_ssh --uid 0 --gid 0
--logger=files

jul 13 23:40:24 munster.belkin.home systemd[1]: Starting sssd.service -
System Security Services Daemon...
jul 13 23:40:24 munster.belkin.home sssd[971]: Starting up
jul 13 23:40:24 munster.belkin.home sssd_be[1030]: Starting up
jul 13 23:40:24 munster.belkin.home sssd_ssh[1038]: Starting up
jul 13 23:40:24 munster.belkin.home sssd_pam[1035]: Starting up
jul 13 23:40:24 munster.belkin.home sssd_sudo[1036]: Starting up
jul 13 23:40:24 munster.belkin.home sssd_nss[1037]: Starting up
jul 13 23:40:25 munster.belkin.home systemd[1]: Started sssd.service -
System Security Services Daemon.
jul 13 23:40:41 munster.belkin.home sssd_nss[1037]: Enumeration requested
but not enabled
```

But recording sessions does not work.

Relevant packages:

```
sssd-2.7.3-1.fc36.x86_64
tlog-12-2.fc36.x86_64
fedora-release-common-36-17.noarch
```

Please could you help me to figure out why session recording is not working?

Thanks in advance!

-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Is systemd-resolved ignoring /etc/hosts?

2022-01-21 Thread Sergio Belkin
Oh My shame it's working indeed it was a typo, sorry and thanks :)

El vie, 21 ene 2022 a las 17:14, Tomasz Torcz ()
escribió:

> On Fri, Jan 21, 2022 at 05:06:01PM -0300, Sergio Belkin wrote:
> > Is there a way that systemd-resolved honors the /etc/hosts file?
> > Thanks in advance
>
>   There's ReadEtcHosts= setting controlling that. See "man resolved.conf"
> or /etc/systemd/resolved.conf itself.
>
> --
> Tomasz Torcz“Funeral in the morning, IDE hacking
> to...@pipebreaker.pl in the afternoon and evening.” - Alan Cox
> ___
> 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 on the list, report it:
> https://pagure.io/fedora-infrastructure
>


-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Is systemd-resolved ignoring /etc/hosts?

2022-01-21 Thread Sergio Belkin
Hi, On Fedora 35, I was that some domain name to be resolved by /etc/hosts
entry.

Let's says:

54.x.y.z somesite.miexample.com

(54.x.y.z is a ipv4 address)

With systemd-resolved is not working.

This my config:
resolvectl domain
Global:
Link 2 (wlp108s0):
Link 3 (docker0):
Link 4 (br-775990106ebc):
Link 13 (vboxnet0):
Link 14 (vboxnet1):
Link 15 (vboxnet2):
Link 16 (vboxnet3):
Link 22 (tun0): example.com

resolvectl dns
global:
Link 2 (wlp108s0): x.y.119.211 x.y.119.212
Link 3 (docker0):
Link 4 (br-775990106ebc):
Link 13 (vboxnet0):
Link 14 (vboxnet1):
Link 15 (vboxnet2):
Link 16 (vboxnet3):
Link 22 (tun0): 192.168.40.40 8.8.8.8

Is there a way that systemd-resolved honors the /etc/hosts file?

Thanks in advance

SB
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


(Quite?) OT Question: Is still relevant Software RAID?

2021-12-01 Thread Sergio Belkin
Hi community,
Sorry for the OT.
I'd like to  know your opinion based on current facts :)
Do you think that (Linux) Software RAID is still relevant in this "breve
new world" of cloud/devops ?

Thanks for your opinions :)
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Question about toolbox purpose/usage

2021-11-28 Thread Sergio Belkin
Hi,
I've been playing a bit with toolbox, what is it intended for?

I understand that was intended primarily for immutable OS. But
documentation says that it can be used on the Workstation edition too.
AFAIK it's only useful if you don't want to mess up your /usr of your host
operating system by installing apps. Beyond that, you can happily destroy
your very $HOME, from overwriting dot files to removing any other of your
important files.
Am I missing something?
Please correct me if I'm wrong.
Thanks in advance!

-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Plasmashell: Alt+F2 not working

2021-08-18 Thread Sergio Belkin
El mié, 18 ago 2021 a las 12:24, Iñaki Ucar ()
escribió:

> On Wed, 18 Aug 2021 at 14:32, Sergio Belkin  wrote:
> >
> > Hi folks,
> >
> > Since a few days ago, the keyboard shortcut Alt+F2 for opening "run
> command" box is not working.
> >
> > journalctl shows complaints as follows:
> >
> > plasmashell[231184]:  Could not open library 'libkdeinit5_'.
> > plasmashell[231184]:  Cannot load library libkdeinit5_: (libkdeinit5_:
> cannot open shared object file: No such file or directory)
> >
> > Any ideas?
>
> Same issue here. Go to System Settings > Workspace > Shortcuts. I had
> two entries for KRunner there for some reason: one showing the icon
> and a blank one. I removed the latter and configured the shortcuts in
> the other, and now it works fine again.
>
> --
> Iñaki Úcar
> ___
> 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 on the list, report it:
> https://pagure.io/fedora-infrastructure
>

Thanks Iñaki, that made the trick, indeed some of the last updates causes
this  issues
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Plasmashell: Alt+F2 not working

2021-08-18 Thread Sergio Belkin
Hi folks,

Since a few days ago, the keyboard shortcut Alt+F2 for opening "run
command" box is not working.

journalctl shows complaints as follows:

plasmashell[231184]:  Could not open library 'libkdeinit5_'.
plasmashell[231184]:  Cannot load library libkdeinit5_: (libkdeinit5_:
cannot open shared object file: No such file or directory)

Any ideas?

Thanks in advance!


-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Question related to systemd-oomd

2021-05-27 Thread Sergio Belkin
El jue, 27 may 2021 a las 19:45, Anita Zhang ()
escribió:

> "Scope" from that Wiki is referring to the scope section of the proposal (
> https://fedoraproject.org/wiki/Changes/EnableSystemdOomd#Scope). As of
> systemd 248 the missing features are landed so
> ManagedOOMMemoryPressureLimit= is now available (this was named something
> else in 247).
> ___
> 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 on the list, report it:
> https://pagure.io/fedora-infrastructure
>

Thanks Anita, Oh ok, I thought that it was something related to systemd :)
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Question related to systemd-oomd

2021-05-24 Thread Sergio Belkin
Hi,

One question about this wiki entry:

"Note that the following memory pressure example requires the changes
listed in “Scope” to work as expected, as systemd-oomd shipped with systemd
v247 does not support changing the time window for memory pressure."

(It refers to this example:
systemctl edit user@.service
[Service]
ManagedOOMMemoryPressure=kill
ManagedOOMMemoryPressureLimit=10%
# save and exit

systemd-run --user tail /dev/zero # will lead to a lot of reclaim and then
OOM if not killed)

What does exactly mean "requires the changes listed in "Scope"?

Could you clarify and to elaborate more a bit?

Thanks in advance!
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Is really systemd-oomd enforced?

2021-05-24 Thread Sergio Belkin
El dom, 23 may 2021 a las 13:59, Sergio Belkin ()
escribió:

> El dom, 23 may 2021 a las 13:10, Sergio Belkin ()
> escribió:
>
>>
>>
>> El dom, 23 may 2021 a las 12:58, Neal Gompa ()
>> escribió:
>>
>>> On Sun, May 23, 2021 at 11:54 AM Sergio Belkin  wrote:
>>> >
>>> > Hi,
>>> > I was reading the systemd-oomd documentation and it says:
>>> > «More precisely, only cgroups with memory.oom.group set to 1 and leaf
>>> cgroup nodes are eligible candidates.»
>>> > (https://www.freedesktop.org/software/systemd/man/systemd-oomd.html)
>>> >
>>> > However I haven't found any "memory.oom.group" file set to 1:
>>> >
>>> > sudo find /sys -name "memory.oom.group" -exec grep -v '^0$'  '{}' \; |
>>> wc -l
>>> > 0
>>> >
>>> > So, Should I set memory.oom.group to 1?
>>> >
>>>
>>> Do you have systemd-oomd-defaults installed? That's where the oomd
>>> configuration is stored.
>>>
>>>
>>>
>>> --
>>>
>>> Hi Neal
>>
>> rpm -qil systemd-oomd-defaults
>> Name: systemd-oomd-defaults
>> Version : 248.3
>> Release : 1.fc34
>> Architecture: x86_64
>> Install Date: jue 20 may 2021 06:06:11
>> Group   : Unspecified
>> Size: 145
>> License : LGPLv2+
>> Signature   : RSA/SHA256, sáb 15 may 2021 17:50:23, Key ID
>> 1161ae6945719a39
>> Source RPM  : systemd-248.3-1.fc34.src.rpm
>> Build Date  : sáb 15 may 2021 14:10:24
>> Build Host  : buildvm-x86-09.iad2.fedoraproject.org
>> Packager: Fedora Project
>> Vendor  : Fedora Project
>> URL : https://www.freedesktop.org/wiki/Software/systemd
>> Bug URL : https://bugz.fedoraproject.org/systemd
>> Summary : Configuration files for systemd-oomd
>> Description :
>> A set of drop-in files for systemd units to enable action from
>> systemd-oomd,
>> a userspace out-of-memory (OOM) killer.
>> /usr/lib/systemd/oomd.conf.d
>> /usr/lib/systemd/oomd.conf.d/10-oomd-defaults.conf
>> /usr/lib/systemd/system/-.slice.d/10-oomd-root-slice-defaults.conf
>> /usr/lib/systemd/system/user@
>> .service.d/10-oomd-user-service-defaults.conf
>>
>> And:
>>
>> cat /usr/lib/systemd/oomd.conf.d/10-oomd-defaults.conf
>> /usr/lib/systemd/system/-.slice.d/10-oomd-root-slice-defaults.conf
>> /usr/lib/systemd/system/user@
>> .service.d/10-oomd-user-service-defaults.conf
>> [OOM]
>> DefaultMemoryPressureDurationSec=20s
>> [Slice]
>> ManagedOOMSwap=kill
>> [Service]
>> ManagedOOMMemoryPressure=kill
>> ManagedOOMMemoryPressureLimit=50%
>>
>> Just in case:
>> systemd-analyze cat-config /etc/systemd/oomd.conf  | egrep -v '^$|#'
>> [OOM]
>> [OOM]
>> DefaultMemoryPressureDurationSec=20s
>>
>

>> Still it's not clear for me if systemd-oomd is really enforced :)
>>
>> --
>> --
>> Sergio Belkin
>> LPIC-2 Certified - http://www.lpi.org
>>
>
> I was looking at https://testdays.fedoraproject.org/events/105
>
> Swap Based Killing worked for but "Memory Pressure Based Killing" didn't
> (stress-ng is not killed by systemd-oomd as is in
> https://fedoraproject.org/wiki/QA:Testcase_Memory_Pressure_Based_Killing#How_to_test
> ):
>
> may 23 13:46:34 munster.belkin.home kernel: Timer invoked oom-killer:
> gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
>
> This is oomctl output:
> Dry Run: no
> Swap Used Limit: 90.00%
> Default Memory Pressure Limit: 60.00%
> Default Memory Pressure Duration: 20s
> System Context:
> Swap: Used: 6.0G Total: 7.9G
> Swap Monitored CGroups:
> Memory Pressure Monitored CGroups:
> Path: /user.slice/user-1000.slice/user@1000.service
> Memory Pressure Limit: 50.00%
> Pressure: Avg10: 0.00 Avg60: 0.00 Avg300: 1.83 Total: 51s
> Current Memory Usage: 5.9G
> Memory Min: 0B
>
> Any ideas?
>
> --
> --
> Sergio Belkin
> LPIC-2 Certified - http://www.lpi.org
>

Well I've reported the bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1964153

HTH

-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Is really systemd-oomd enforced?

2021-05-23 Thread Sergio Belkin
El dom, 23 may 2021 a las 13:10, Sergio Belkin ()
escribió:

>
>
> El dom, 23 may 2021 a las 12:58, Neal Gompa ()
> escribió:
>
>> On Sun, May 23, 2021 at 11:54 AM Sergio Belkin  wrote:
>> >
>> > Hi,
>> > I was reading the systemd-oomd documentation and it says:
>> > «More precisely, only cgroups with memory.oom.group set to 1 and leaf
>> cgroup nodes are eligible candidates.»
>> > (https://www.freedesktop.org/software/systemd/man/systemd-oomd.html)
>> >
>> > However I haven't found any "memory.oom.group" file set to 1:
>> >
>> > sudo find /sys -name "memory.oom.group" -exec grep -v '^0$'  '{}' \; |
>> wc -l
>> > 0
>> >
>> > So, Should I set memory.oom.group to 1?
>> >
>>
>> Do you have systemd-oomd-defaults installed? That's where the oomd
>> configuration is stored.
>>
>>
>>
>> --
>>
>> Hi Neal
>
> rpm -qil systemd-oomd-defaults
> Name: systemd-oomd-defaults
> Version : 248.3
> Release : 1.fc34
> Architecture: x86_64
> Install Date: jue 20 may 2021 06:06:11
> Group   : Unspecified
> Size: 145
> License : LGPLv2+
> Signature   : RSA/SHA256, sáb 15 may 2021 17:50:23, Key ID 1161ae6945719a39
> Source RPM  : systemd-248.3-1.fc34.src.rpm
> Build Date  : sáb 15 may 2021 14:10:24
> Build Host  : buildvm-x86-09.iad2.fedoraproject.org
> Packager: Fedora Project
> Vendor  : Fedora Project
> URL : https://www.freedesktop.org/wiki/Software/systemd
> Bug URL : https://bugz.fedoraproject.org/systemd
> Summary : Configuration files for systemd-oomd
> Description :
> A set of drop-in files for systemd units to enable action from
> systemd-oomd,
> a userspace out-of-memory (OOM) killer.
> /usr/lib/systemd/oomd.conf.d
> /usr/lib/systemd/oomd.conf.d/10-oomd-defaults.conf
> /usr/lib/systemd/system/-.slice.d/10-oomd-root-slice-defaults.conf
> /usr/lib/systemd/system/user@.service.d/10-oomd-user-service-defaults.conf
>
> And:
>
> cat /usr/lib/systemd/oomd.conf.d/10-oomd-defaults.conf
> /usr/lib/systemd/system/-.slice.d/10-oomd-root-slice-defaults.conf
> /usr/lib/systemd/system/user@.service.d/10-oomd-user-service-defaults.conf
> [OOM]
> DefaultMemoryPressureDurationSec=20s
> [Slice]
> ManagedOOMSwap=kill
> [Service]
> ManagedOOMMemoryPressure=kill
> ManagedOOMMemoryPressureLimit=50%
>
> Just in case:
> systemd-analyze cat-config /etc/systemd/oomd.conf  | egrep -v '^$|#'
> [OOM]
> [OOM]
> DefaultMemoryPressureDurationSec=20s
>
> Still it's not clear for me if systemd-oomd is really enforced :)
>
> --
> --
> Sergio Belkin
> LPIC-2 Certified - http://www.lpi.org
>

I was looking at https://testdays.fedoraproject.org/events/105

Swap Based Killing worked for but "Memory Pressure Based Killing" didn't
(stress-ng is not killed by systemd-oomd as is in
https://fedoraproject.org/wiki/QA:Testcase_Memory_Pressure_Based_Killing#How_to_test
):

may 23 13:46:34 munster.belkin.home kernel: Timer invoked oom-killer:
gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0

This is oomctl output:
Dry Run: no
Swap Used Limit: 90.00%
Default Memory Pressure Limit: 60.00%
Default Memory Pressure Duration: 20s
System Context:
Swap: Used: 6.0G Total: 7.9G
Swap Monitored CGroups:
Memory Pressure Monitored CGroups:
Path: /user.slice/user-1000.slice/user@1000.service
Memory Pressure Limit: 50.00%
Pressure: Avg10: 0.00 Avg60: 0.00 Avg300: 1.83 Total: 51s
Current Memory Usage: 5.9G
Memory Min: 0B

Any ideas?

-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Is really systemd-oomd enforced?

2021-05-23 Thread Sergio Belkin
El dom, 23 may 2021 a las 12:58, Neal Gompa () escribió:

> On Sun, May 23, 2021 at 11:54 AM Sergio Belkin  wrote:
> >
> > Hi,
> > I was reading the systemd-oomd documentation and it says:
> > «More precisely, only cgroups with memory.oom.group set to 1 and leaf
> cgroup nodes are eligible candidates.»
> > (https://www.freedesktop.org/software/systemd/man/systemd-oomd.html)
> >
> > However I haven't found any "memory.oom.group" file set to 1:
> >
> > sudo find /sys -name "memory.oom.group" -exec grep -v '^0$'  '{}' \; |
> wc -l
> > 0
> >
> > So, Should I set memory.oom.group to 1?
> >
>
> Do you have systemd-oomd-defaults installed? That's where the oomd
> configuration is stored.
>
>
>
> --
>
> Hi Neal

rpm -qil systemd-oomd-defaults
Name: systemd-oomd-defaults
Version : 248.3
Release : 1.fc34
Architecture: x86_64
Install Date: jue 20 may 2021 06:06:11
Group   : Unspecified
Size: 145
License : LGPLv2+
Signature   : RSA/SHA256, sáb 15 may 2021 17:50:23, Key ID 1161ae6945719a39
Source RPM  : systemd-248.3-1.fc34.src.rpm
Build Date  : sáb 15 may 2021 14:10:24
Build Host  : buildvm-x86-09.iad2.fedoraproject.org
Packager: Fedora Project
Vendor  : Fedora Project
URL : https://www.freedesktop.org/wiki/Software/systemd
Bug URL : https://bugz.fedoraproject.org/systemd
Summary : Configuration files for systemd-oomd
Description :
A set of drop-in files for systemd units to enable action from systemd-oomd,
a userspace out-of-memory (OOM) killer.
/usr/lib/systemd/oomd.conf.d
/usr/lib/systemd/oomd.conf.d/10-oomd-defaults.conf
/usr/lib/systemd/system/-.slice.d/10-oomd-root-slice-defaults.conf
/usr/lib/systemd/system/user@.service.d/10-oomd-user-service-defaults.conf

And:

cat /usr/lib/systemd/oomd.conf.d/10-oomd-defaults.conf
/usr/lib/systemd/system/-.slice.d/10-oomd-root-slice-defaults.conf
/usr/lib/systemd/system/user@.service.d/10-oomd-user-service-defaults.conf
[OOM]
DefaultMemoryPressureDurationSec=20s
[Slice]
ManagedOOMSwap=kill
[Service]
ManagedOOMMemoryPressure=kill
ManagedOOMMemoryPressureLimit=50%

Just in case:
systemd-analyze cat-config /etc/systemd/oomd.conf  | egrep -v '^$|#'
[OOM]
[OOM]
DefaultMemoryPressureDurationSec=20s

Still it's not clear for me if systemd-oomd is really enforced :)

-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Is really systemd-oomd enforced?

2021-05-23 Thread Sergio Belkin
Hi,
I was reading the systemd-oomd documentation and it says:
«More precisely, only cgroups with memory.oom.group set to 1 and leaf
cgroup nodes are eligible candidates.»
(https://www.freedesktop.org/software/systemd/man/systemd-oomd.html)

However I haven't found any "memory.oom.group" file set to 1:

sudo find /sys -name "memory.oom.group" -exec grep -v '^0$'  '{}' \; | wc -l
0

So, Should I set memory.oom.group to 1?

Thanks in advance?
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Earlyoom and systemd-oomd together

2021-05-23 Thread Sergio Belkin
El dom, 23 may 2021 a las 11:01, Neal Gompa () escribió:

> On Sun, May 23, 2021 at 9:59 AM Sergio Belkin  wrote:
> >
> > Hi,
> > I've upgraded from F33 to F34 using dnf plugin and I've found that both
> systemd-oomd and earlyoom service are running:
> >
> > systemctl is-active earlyoom.service systemd-oomd.service
> > active
> > active
> >
> > and:
> >
> > systemctl is-active earlyoom.service systemd-oomd.service
> > active
> > active
> >
> > Is this behaviour expected?
> >
>
> No. The earlyoom service is supposed to get disabled on upgrade to
> Fedora Linux 34. This is a bug and needs to be fixed.
>
>
>
I suppposed it, thanks Neal!
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Earlyoom and systemd-oomd together

2021-05-23 Thread Sergio Belkin
Hi,
I've upgraded from F33 to F34 using dnf plugin and I've found that both
systemd-oomd and earlyoom service are running:

systemctl is-active earlyoom.service systemd-oomd.service
active
active

and:

systemctl is-active earlyoom.service systemd-oomd.service
active
active

Is this behaviour expected?

Thanks in advance
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Podman and docker compose

2021-04-11 Thread Sergio Belkin
El dom, 11 abr 2021 a las 23:11, Gwyn Ciesla via devel (<
devel@lists.fedoraproject.org>) escribió:

> Have you tried podman-compose? It's in the Fedora repos.
>
>
> --
> Gwyn Ciesla
> she/her/hers
> 
> in your fear, seek only peace
> in your fear, seek only love
> -d. bowie
>
>
>
> Sent from ProtonMail mobile
>
>
>
> ---- Original Message 
> On Apr 11, 2021, 7:34 PM, Sergio Belkin < seb...@gmail.com> wrote:
>
>
> Hi,
> I'm playing around with podman and docker compose, so I've read the post
> at https://www.redhat.com/sysadmin/podman-docker-compose.
>
> The example with Gitea does not work, this the output:
>
> sudo docker-compose up
> descargas_elasticsearch_1 is up-to-date
> Creating descargas_skydive-analyzer_1 ... error
>
> ERROR: for descargas_skydive-analyzer_1  Cannot create container for
> service skydive-analyzer: bad parameter: Link is not supported
>
> ERROR: for skydive-analyzer  Cannot create container for service
> skydive-analyzer: bad parameter: Link is not supported
> ERROR: Encountered errors while bringing up the project.
>
> Am I doing something wrong?
>
> This is the log:
>
> abr 11 21:28:25 munster.belkin.home systemd[1]: Starting Podman API
> Service...
> abr 11 21:28:25 munster.belkin.home systemd[1]: Started Podman API Service.
> abr 11 21:28:25 munster.belkin.home podman[282]:
> time="2021-04-11T21:28:25-03:00" level=info msg="/usr/bin/podman filtering
> at
> log level info"
> abr 11 21:28:25 munster.belkin.home podman[282]:
> time="2021-04-11T21:28:25-03:00" level=info msg="Error initializing
> configured
> OCI runtime kata: no valid executable found for OCI runtime kata: invalid
> argument"
> abr 11 21:28:25 munster.belkin.home podman[282]:
> time="2021-04-11T21:28:25-03:00" level=info msg="Found CNI network podman
> (typ
> e=bridge) at /etc/cni/net.d/87-podman-bridge.conflist"
> abr 11 21:28:25 munster.belkin.home podman[282]:
> time="2021-04-11T21:28:25-03:00" level=info msg="Found CNI network
> descargas_d
> efault (type=bridge) at /etc/cni/net.d/descargas_default.conflist"
> abr 11 21:28:25 munster.belkin.home podman[282]:
> time="2021-04-11T21:28:25-03:00" level=info msg="Found CNI network
> internet-mo
> nitoring_back-tier (type=bridge) at
> /etc/cni/net.d/internet-monitoring_back-tier.conflist"
> abr 11 21:28:25 munster.belkin.home podman[282]:
> time="2021-04-11T21:28:25-03:00" level=info msg="Found CNI network
> internet-mo
> nitoring_front-tier (type=bridge) at
> /etc/cni/net.d/internet-monitoring_front-tier.conflist"
> abr 11 21:28:25 munster.belkin.home podman[282]:
> time="2021-04-11T21:28:25-03:00" level=info msg="Setting parallel job count
> to
> 25"
> abr 11 21:28:25 munster.belkin.home podman[282]:
> time="2021-04-11T21:28:25-03:00" level=info msg="using systemd socket
> activati
> on to determine API endpoint"
> abr 11 21:28:25 munster.belkin.home podman[282]:
> time="2021-04-11T21:28:25-03:00" level=info msg="using API endpoint: ''"
> abr 11 21:28:25 munster.belkin.home podman[282]:
> time="2021-04-11T21:28:25-03:00" level=info msg="API server listening on
> \"/ru
> n/podman/podman.sock\""
> abr 11 21:28:28 munster.belkin.home podman[282]:
> time="2021-04-11T21:28:28-03:00" level=info
> msg="APIHandler(87f3d612-9e67-4975
> -a52d-e34f8f177998) -- GET /version BEGIN"
> abr 11 21:28:28 munster.belkin.home podman[282]:
> time="2021-04-11T21:28:28-03:00" level=info
> msg="APIHandler(f6beda6a-42c3-414c
> -9d8c-0314e00c86d7) -- GET /v1.40/networks/descargas_default BEGIN"
> abr 11 21:28:28 munster.belkin.home podman[282]:
> time="2021-04-11T21:28:28-03:00" level=info
> msg="APIHandler(60f23924-261e-41fd
> -9e14-459930ec3a0b) -- GET /v1.40/info BEGIN"
> abr 11 21:28:28 munster.belkin.home podman[282]:
> time="2021-04-11T21:28:28-03:00" level=info
> msg="APIHandler(bd218869-1c22-4faf
> -878e-f2bffeaec753) -- GET /v1.40/networks/descargas_default BEGIN"
> abr 11 21:28:28 munster.belkin.home podman[282]:
> time="2021-04-11T21:28:28-03:00" level=info
> msg="APIHandler(25b1c622-5f7d-47c6
> -8d81-cf0f0a497a2f) -- GET
> /v1.40/containers/json?limit=-1&all=0&size=0&trunc_cmd=0&filters=%7B%22label%22%3A+%5B%22com.docker.comp
> ose.project%3Ddescargas%22%2C+%22com.docker.com

Podman and docker compose

2021-04-11 Thread Sergio Belkin
Ddescargas%22%2C+%22com.docker.compose.service%3Dskydive-agent%
22%2C+%22com.docker.compose.oneoff%3DFalse%22%5D%7D BEGIN"
abr 11 21:28:28 munster.belkin.home podman[282]:
time="2021-04-11T21:28:28-03:00" level=info
msg="APIHandler(28fecb63-f8ba-4167
-a1e6-30d81f7ceae4) -- GET
/v1.40/containers/json?limit=-1&all=1&size=0&trunc_cmd=0&filters=%7B%22status%22%3A+%5B%22created%22%2C+
%22exited%22%5D%2C+%22label%22%3A+%5B%22com.docker.compose.project%3Ddescargas%22%2C+%22com.docker.compose.service%3Dskydive-agent%
22%2C+%22com.docker.compose.oneoff%3DFalse%22%5D%7D BEGIN"
abr 11 21:28:28 munster.belkin.home podman[282]:
time="2021-04-11T21:28:28-03:00" level=info
msg="APIHandler(3cfcd0e5-741b-401f
-a3d1-ce2dcc573532) -- GET
/v1.40/containers/json?limit=-1&all=0&size=0&trunc_cmd=0&filters=%7B%22label%22%3A+%5B%22com.docker.comp
ose.project%3Ddescargas%22%2C+%22com.docker.compose.service%3Dskydive-agent%22%2C+%22com.docker.compose.oneoff%3DFalse%22%5D%7D
BEG
IN"
abr 11 21:28:28 munster.belkin.home podman[282]:
time="2021-04-11T21:28:28-03:00" level=info
msg="APIHandler(77b371d3-72b9-40ab
-ac8c-249a3a0aece3) -- GET
/v1.40/containers/json?limit=-1&all=0&size=0&trunc_cmd=0&filters=%7B%22label%22%3A+%5B%22com.docker.comp
ose.project%3Ddescargas%22%2C+%22com.docker.compose.service%3Dskydive-agent%22%2C+%22com.docker.compose.oneoff%3DFalse%22%5D%7D
BEG
IN"
abr 11 21:28:28 munster.belkin.home podman[282]:
time="2021-04-11T21:28:28-03:00" level=info
msg="APIHandler(5996df5c-7a9c-4788
-963a-96e46717b83d) -- GET
/v1.40/containers/json?limit=-1&all=1&size=0&trunc_cmd=0&filters=%7B%22label%22%3A+%5B%22com.docker.comp
ose.project%3Ddescargas%22%2C+%22com.docker.compose.service%3Dskydive-agent%22%2C+%22com.docker.compose.oneoff%3DFalse%22%5D%7D
BEG
IN"
abr 11 21:28:28 munster.belkin.home podman[282]:
time="2021-04-11T21:28:28-03:00" level=info
msg="APIHandler(4e19f391-177a-45e0
-a3af-4376d076a124) -- GET
/v1.40/containers/json?limit=-1&all=1&size=0&trunc_cmd=0&filters=%7B%22label%22%3A+%5B%22com.docker.comp
ose.project%3Ddescargas%22%2C+%22com.docker.compose.service%3Dskydive-agent%22%2C+%22com.docker.compose.oneoff%3DFalse%22%5D%7D
BEG
IN"
abr 11 21:28:28 munster.belkin.home podman[282]:
time="2021-04-11T21:28:28-03:00" level=info
msg="APIHandler(9069fdaa-d77e-4a7e
-9393-057d60c428ea) -- GET
/v1.40/containers/json?limit=-1&all=1&size=0&trunc_cmd=0&filters=%7B%22label%22%3A+%5B%22com.docker.comp
ose.project%3Ddescargas%22%2C+%22com.docker.compose.service%3Dskydive-analyzer%22%2C+%22com.docker.compose.oneoff%3DFalse%22%5D%7D
BEGIN"
abr 11 21:28:28 munster.belkin.home podman[282]:
time="2021-04-11T21:28:28-03:00" level=info
msg="APIHandler(671de41f-3ec8-4520
-bdfe-b88448b3abce) -- GET
/v1.40/containers/json?limit=-1&all=1&size=0&trunc_cmd=0&filters=%7B%22label%22%3A+%5B%22com.docker.comp
ose.project%3Ddescargas%22%2C+%22com.docker.compose.service%3Dskydive-analyzer%22%2C+%22com.docker.compose.oneoff%3DFalse%22%5D%7D
BEGIN"
abr 11 21:28:28 munster.belkin.home podman[282]:
time="2021-04-11T21:28:28-03:00" level=info
msg="APIHandler(1a0ea3d0-9ee7-402f
-9023-606f4c30b4a4) -- GET /v1.40/images/skydive/skydive/json BEGIN"
abr 11 21:28:28 munster.belkin.home podman[282]:
time="2021-04-11T21:28:28-03:00" level=info
msg="APIHandler(412b2bed-0755-41ef
-9578-369441c7b3f1) -- GET /v1.40/images/skydive/skydive/json BEGIN"
abr 11 21:28:28 munster.belkin.home podman[282]:
time="2021-04-11T21:28:28-03:00" level=info
msg="APIHandler(158e8c07-ed2b-4268
-8317-18bfca6b1976) -- GET
/v1.40/containers/json?limit=-1&all=0&size=0&trunc_cmd=0&filters=%7B%22label%22%3A+%5B%22com.docker.comp
ose.project%3Ddescargas%22%2C+%22com.docker.compose.service%3Delasticsearch%22%2C+%22com.docker.compose.oneoff%3DFalse%22%5D%7D
BEG
IN"
abr 11 21:28:28 munster.belkin.home podman[282]:
time="2021-04-11T21:28:28-03:00" level=info
msg="APIHandler(1ce73577-3d42-4f86
-9497-31179e7cc2cd) -- GET
/v1.40/containers/c519bbe7f21e7c01729d62237b819b84b3bf364784a115fa536ad45153224ffc/json
BEGIN"
abr 11 21:28:28 munster.belkin.home podman[282]:
time="2021-04-11T21:28:28-03:00" level=info
msg="APIHandler(e1060f1b-c94e-4031
-8b15-560aa3e6edcf) -- POST
/v1.40/containers/create?name=descargas_skydive-analyzer_1 BEGIN"
abr 11 21:28:28 munster.belkin.home podman[282]:
time="2021-04-11T21:28:28-03:00" level=info msg="Request Failed(Bad
Request):
bad parameter: Link is not supported"
abr 11 21:28:34 munster.belkin.home systemd[1]: podman.service: Succeeded.
abr 11 21:28:34 munster.belkin.home systemd[1]: podman.service: Unit
process 2705292 (dnsmasq) remains runnin

Re: Meaning of Size Directories

2021-02-25 Thread Sergio Belkin
El jue, 25 feb 2021 a las 21:58, John Reiser ()
escribió:

> > Tools such as ls or stat report the size of a directory. Of course it is
> not the content size.
> > stat -c %s  /home/sergio/.config
> > 6550
> >
> > What does 6550 mean in btrfs context?
>
> Regardless of filesystem type, the size of a directory is the sum of the
> sizes
> of the struct linux_dirent (or linux_dirent64) for the filenames of the
> contained files.
> See the manual page "man 2 getdents".
> ___
> 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 on the list, report it:
> https://pagure.io/fedora-infrastructure
>

Thanks everyone, I thought that it had a special meaning for btrfs
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Meaning of Size Directories

2021-02-25 Thread Sergio Belkin
Hi,
Tools such as ls or stat report the size of a directory. Of course it is
not the content size.
stat -c %s  /home/sergio/.config


6550

What does 6550 mean in btrfs context?

Thanks in advance!

-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Fedora Screnshots

2020-12-27 Thread Sergio Belkin
.El dom, 27 dic 2020 a las 12:11, Matthew Miller ()
escribió:

> On Sat, Dec 26, 2020 at 09:48:56PM -0300, Sergio Belkin wrote:
> > I was taking a look at /etc/appstream.conf and I see there is a
> screenshot
> > website for Debian and Ubuntu:
> > ```
> > [debian]
> > ScreenshotUrl=http://screenshots.debian.net
> >
> > [opensuse]
> > ScreenshotUrl=http://software.opensuse.org/package
> > ```
>
> The openSUSE one does not appear to actually be screenshots, but a package
> search. We had something like that before and AIUI a new one is in the
> works.


Great, the openSUSE is a package search, but it seems that most GUI
packages have screenshots.

I was surprised that this files has links to another distros,  but I've
found that appstream.conf has the same content in its sources. I guess
because appstream is distro-agnostic. AFAIK, appstream gets screenshots
from each of the upstream projects.


> But it wasn't screenshot focused. We don't have that, but it's
> traditional for Fedora Marketing to make a wiki page for each release,
> like:
>
> https://fedoraproject.org/wiki/F33_screenshots_library
>

Nice!


>
>
> --
> Matthew Miller
> 
> Fedora Project Leader
> ___
>


-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Fedora Screnshots

2020-12-26 Thread Sergio Belkin
Hi,
I was taking a look at /etc/appstream.conf and I see there is a screenshot
website for Debian and Ubuntu:
```
[debian]
ScreenshotUrl=http://screenshots.debian.net

[opensuse]
ScreenshotUrl=http://software.opensuse.org/package
```
(There is one of Ubuntu but really does not exist)

Is there something alike for Fedora? And just out of curiosity, the
screenshots that we can see Plasma Discover are from upstream?

Thanks in advance!
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: CentOS Project shifts focus to CentOS Stream Re: End of CentOS Linux: What about Fedora?

2020-12-12 Thread Sergio Belkin
El sáb, 12 dic 2020 a las 16:30, Sérgio Basto ()
escribió:

> On Sat, 2020-12-12 at 15:04 -0300, Eduard Lucena wrote:
>
> Quite literally here:
>
> "CentOS Linux 8, as a rebuild of RHEL 8, will end at the end of 2021"
>
>
> and CentOS Stream continues after that date , is also wrote.
>
> For example, samba package [1] we have c8 and c8s (CentOS Stream)
> branches,  and the focus will be c8s, i.e. we should enable Centos 8 stream
> repo as well. I think that is the message .
>
> [1]
>  https://git.centos.org/rpms/samba/branches
>
>
> Br,
>
> El sáb, 12 dic 2020 a las 12:03, Sérgio Basto ()
> escribió:
>
> On Wed, 2020-12-09 at 00:26 -0300, Sergio Belkin wrote:
>
> Hi,
> How does this (https://blog.centos.org/2020/12/future-is-centos-stream/)
> affect Fedora?
>
>
> where you read that is the end of centos ?
>
>
> ___
>
> 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
>
>
> --
>
>
> Sérgio M. B.
>
> _______
>
>
RH and people that wrote that CentOS PR made it clear that it was a really
big-big change. I don't understand the need of underplaying the facts.
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: End of CentOS Linux: What about Fedora?

2020-12-10 Thread Sergio Belkin
El jue, 10 dic 2020 a las 9:52, Josh Boyer ()
escribió:

> On Wed, Dec 9, 2020 at 7:55 AM Sergio Belkin  wrote:
> >
> >
> >
> > El mié, 9 dic 2020 a las 9:28, Peter Robinson ()
> escribió:
> >>
> >> On Wed, Dec 9, 2020 at 11:12 AM Christoph Karl 
> wrote:
> >> >
> >> > Hello!
> >> >
> >> > On 09.12.20 04:26, Sergio Belkin wrote:
> >> > > How does this (
> https://blog.centos.org/2020/12/future-is-centos-stream/)
> >> > > affect Fedora?
> >> >
> >> > I think Fedora now needs some kind of LTS.
> >>
> >> Why? What would it provide that CentOS Stream doesn't?
> >>
> >> > At least I was planning to support CentOS via EPEL as
> >> > a kind of "Fedora LTS".
> >> >
> >> > Best Regards
> >> > Christoph
> >
> >
> > Cutting-edge features?
>
> That's actually really hard.  Every cutting-edge feature one person
> wants is superfluous and risky to a different person.  If you want an
> update of foo to the latest version, it's likely to break someone else
> that was perfectly happy with the current version.  There's a reason
> why CentOS, RHEL, and even Ubuntu LTS aren't really targeted at
> cutting edge feature work.  A Fedora LTS would run into all the same
> problems.
>
> That being said, there *are* opportunities to provide that on CentOS
> Stream (or RHEL).  We have EPEL, we have modularity, etc.  If the OS
> itself isn't providing the features you need, we have projects that
> can fill those gaps while leaving the OS itself at the solid, stable
> base it needs to be.  One thing I'm excited to see is CentOS Stream
> SIGs that take Stream and build out features in a more comprehensive
> (or even invasive) way to meet some of those use cases.
>
> josh
>

I think in features like btrfs or zram...
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: End of CentOS Linux: What about Fedora?

2020-12-09 Thread Sergio Belkin
El mié, 9 dic 2020 a las 9:28, Peter Robinson ()
escribió:

> On Wed, Dec 9, 2020 at 11:12 AM Christoph Karl  wrote:
> >
> > Hello!
> >
> > On 09.12.20 04:26, Sergio Belkin wrote:
> > > How does this (
> https://blog.centos.org/2020/12/future-is-centos-stream/)
> > > affect Fedora?
> >
> > I think Fedora now needs some kind of LTS.
>
> Why? What would it provide that CentOS Stream doesn't?
>
> > At least I was planning to support CentOS via EPEL as
> > a kind of "Fedora LTS".
> >
> > Best Regards
> > Christoph
>

Cutting-edge features?

-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


End of CentOS Linux: What about Fedora?

2020-12-08 Thread Sergio Belkin
Hi,
How does this (https://blog.centos.org/2020/12/future-is-centos-stream/)
affect Fedora?

-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: How do really work RAID1 on btrfs?

2020-12-08 Thread Sergio Belkin
El mar, 8 dic 2020 a las 20:21, Chris Murphy ()
escribió:

> On Tue, Dec 8, 2020 at 12:22 PM Sergio Belkin  wrote:
> >
> > Hi!
> > I've read the explanation about how much space is available using disks
> with different sizes[1]. I understand the rules, but I see a contradiction
> with definition of RAID-1 in btrs:
> >
> > «A form of RAID which stores two complete copies of each piece of data.
> Each copy is stored on a different device. btrfs requires a minimum of two
> devices to use RAID-1. This is the default for btrfs's metadata on more
> than one device.
> >
> > So, let's say we have 3 small disks: 4GB, 3G, and 2GB.
>
> From the btrfs perspective, this is a 9G file system, with raid1
> metadata and data block groups. The "raidness" happens at the block
> group level, it is not at the device level like mdadm raid.
>
> Deep dive: Block groups are a logical range of bytes (variable size,
> typically 1G). Where and what drive a file extent actually exists on
> is a function of the block group to chunk mapping. i.e. a 1G data
> block group using raid1 profile, physically exists as two 1G chunks,
> each one on two devices. What this means is internally to Btrfs it
> sees everything as just one copy in a virtual address space, and it's
> a function of the chunk tree and allocator to handle the details of
> exactly where it's located physically and how it's replicated. It's
> normal to not totally grok this, it's pretty esoteric, but if there's
> one complicated thing to try to get about Btrfs, it's this. Because
> once you get it, all the other unique/unusual/confusing things start
> to make sense.
>
> Because the "pool" is 9G, and each 1G of data results in two 1G
> "mirror" chunks, each written on two drives, writes consume double the
> space. Two copies for raid1. The 'btrfs filesystem usage' command
> reveals this reality. Whereas 'df' kinda lies to try and make it
> behave more like what we've come to expect with more conventional
> raid1 implementation. This lie works ok for even number of same size
> devices. It starts to fall apart [1] with odd number of drives, and
> odd sized devices. So you're likely to run up against some still
> remaining issues in 'df' reporting in this example.
>
> https://carfax.org.uk/btrfs-usage/
>
> Set three disks. On the right side, use preset raid1. Go down to
> Devices sizes and enter 4000,3000,2000. And it'll show you what
> happens.
>
>
>
> > If I create one file of 3GB I think that
> > 3 GB is written on 4GB disk, it leaves 1 GB free.
> > 3 GB  of copy is written on 3 GB disk, it leaves 0 GB Free.
>
> It's more complicated than that because first it'll be broken up into
> 3 1GB block groups (possibly more and smaller block groups), and then
> the allocator tries to maintain equal free space. That means it'll
> tend to initially write to the biggest and 2nd biggest drives, but it
> won't fill either of them up. It'll start writing to the smaller
> device once it has more space than the free space in the middle
> device. And yep, it can split up chunks like this, sorta like Tetris.
>
> The example size 9G is perhaps not a great example of real world
> allocation for btrfs raid1, I'd bump that to T :) 9G is even below the
> threshold of USB sticks you can buy off the shelf these days.
>
> >
> > So, I create one file of 1GB that is written on 4GB disk, it leaves 0 GB
> free.
> > 1 GB of copy is written on 2 GB disk, so it leaves 1 GB free.
> >
> > So I've used 4GB, ok it leaves 1 GB free on only one disk, but cannot be
> mirrored.
> >
> > However as [1] I could use 4.5 ((4GB+3GB+2GB)/2) GB instead of 4GB.
> Surely, I'm missing or mistaking something.
>
> Block groups and chunks. There's lots of reused jargon in btrfs that
> sounds familiar but it's not the same as mdadm or lvm, they're just
> reused terms. Another example: raid1 or raid10 on btrfs don't work
> like you're used to with mdadm and LVM. i.e. raid10 on btrfs is not a
> ""stripe of mirrored drives" it is "striped and mirrored block
> groups". man mkfs.btrfs has quite concise and important information
> about such things, and of course questions welcome.
>
> So it's worth knowing a bit about how it works differently so you can
> properly assess (a) if it fits for your use case and meets your
> expectations (b) how to maintain and manage it, in particular disaster
> recovery. Because that too is different.
>
>
> [1]
> https://github.com/kdave/btrfs-progs/issues/277
&g

How do really work RAID1 on btrfs?

2020-12-08 Thread Sergio Belkin
Hi!
I've read the explanation about how much space is available using disks
with different sizes[1]. I understand the rules, but I see a contradiction
with definition of RAID-1 in btrs:

«A form of *RAID* which stores two complete copies of each piece of data.
Each copy is stored on a different *device*. btrfs requires a minimum of
two devices to use RAID-1. This is the default for btrfs's *metadata* on
more than one device.

So, let's say we have 3 small disks: 4GB, 3G, and 2GB.

If I create one file of 3GB I think that
3 GB is written on 4GB disk, it leaves 1 GB free.
3 GB  of copy is written on 3 GB disk, it leaves 0 GB Free.

So, I create one file of 1GB that is written on 4GB disk, it leaves 0 GB
free.
1 GB of copy is written on 2 GB disk, so it leaves 1 GB free.

So I've used 4GB, ok it leaves 1 GB free on only one disk, but cannot be
mirrored.

However as [1] I could use 4.5 ((4GB+3GB+2GB)/2) GB instead of 4GB. Surely,
I'm missing or mistaking something.

Please could you help me?

[1]:
https://btrfs.wiki.kernel.org/index.php/FAQ#How_much_space_do_I_get_with_unequal_devices_in_RAID-1_mode.3F
[2]: https://btrfs.wiki.kernel.org/index.php/Glossary

Thanks in advance!
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: btrfs: nodatacow and snapshots

2020-12-07 Thread Sergio Belkin
El dom, 6 dic 2020 a las 22:52, Chris Murphy ()
escribió:

> On Sun, Dec 6, 2020 at 3:54 PM Sergio Belkin  wrote:
> >
> > Hi,
> > Let's say that I have 2 subvolumes for both / and /home.  What happen
> with a snapshot of /home if I run before :
> > chattr +C /home/jdoe/VMs ?
>
> If /home/jdoe/VMs is a directory, then it and its contents are
> included in the snapshot. And it means nodatacow extents have become
> shared extents. Writes to shared extents are always cow, even if
> marked as nocow. So the initial VM "overwrite" to a shared extent will
> be cow to a new extent that is exclusive, not shared. Subsequent
> writes to that same exclusive extent will be nocow, i.e. an overwrite.
>
> This same principle applies to reflink copies of any file, whether on
> Btrfs or XFS. A reflink copy also causes extents to become shared
> extents.
>
> My suggestion is to put the VM images in their own subvolume. i.e.
> from ~/ just do:
>
> btrfs sub create VMs
>
> Since Btrfs snapshots are not recursive [1] and instead stop at
> subvolume boundaries, a snapshot of ~/ will not snapshot ~/VMs.
>
> [1] https://github.com/kdave/btrfs-progs/tree/master/libbtrfsutil
> libbtrfsutil provies a C API and python bindings making it possible to
> do recursive snapshot creation and deletion; but this is not exposed
> in the user space tools for a number of reasons, mainly it's
> potentially confusing and risky since btrfs subvolumes and snapshots
> can be created anywhere without any meaningful limits beyond what the
> user institutes. Another advantage of libbtrfsutil is it provides an
> _fd variant of subvolume/snapshot creation and deletion, meaning there
> doesn't need to be a "line of sight" path to the source or destination
> via the mounted file system. Ergo, in effect creating "hidden"
> subvolumes and snapshots; "hidden" as in they're not in the normal
> mounted file system path. A user can of course always mount the
> top-level of the file system and see all such subvolumes.
>
>
> --
> Chris Murphy
>

Thanks Chris, nice explanation
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


btrfs: nodatacow and snapshots

2020-12-06 Thread Sergio Belkin
Hi,
Let's say that I have 2 subvolumes for both / and /home.  What happen with
a snapshot of /home if I run before :
chattr +C /home/jdoe/VMs ?

Thanks in advance!
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: Boot/Install from iso file

2020-11-14 Thread Sergio Belkin
Isn't there anyone that tried to do that?  :-)
Taking into account that Fedora is a distro that is always searching to be
on the cutting edge: Don't you think that is somewhat annoying and a thing
of the past to install from a usb stick (and not to mention from CD)?
It could be nice to download the Fedora ISO to local drive and to install
from it in a straightforward fashion... and to rely on some grub alchemy,
It could be nice that you could tell the installer where do you have the
iso file and install using it..
Yes I know, it sounds crazy, but sometimes nice things are born so...
Greetings

El mar., 10 nov. 2020 a las 10:16, Sergio Belkin ()
escribió:

> Hi!
> I have the following /etc/grub.d/40_custom file:
> #!/usr/bin/sh
> exec tail -n +3 $0
> # This file provides an easy way to add custom menu entries.  Simply type
> the
> # menu entries you want to add after this comment.  Be careful not to
> change
> # the 'exec tail' line above.
>
> menuentry "Start Fedora-KDE-Live 33" --class fedora {
>  set isofile="/Fedora-KDE-Live-x86_64-33-1.2.iso"
>  loopback loop (lvm/fedora-home)/sergio/Descargas/Distros$isofile
>  linuxefi (loop)/isolinux/vmlinuz iso-scan/filename=${isofile}
> root=live:CDLABEL=Fedora-KDE-Live-33-1-2  rd.live.image
>  initrdefi (loop)/isolinux/initrd.img
>  }
> EOF
>
>
> I have used that configuration a few years ago, but now it does not work.
> If I choose that grub entry the screen goes black and I have to reboot. Is
> there something wrong in my custom file?
>
> Thanks in  advance!
>
> --
> --
> Sergio Belkin
> LPIC-2 Certified - http://www.lpi.org
>


-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Boot/Install from iso file

2020-11-10 Thread Sergio Belkin
Hi!
I have the following /etc/grub.d/40_custom file:
#!/usr/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type
the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

menuentry "Start Fedora-KDE-Live 33" --class fedora {
 set isofile="/Fedora-KDE-Live-x86_64-33-1.2.iso"
 loopback loop (lvm/fedora-home)/sergio/Descargas/Distros$isofile
 linuxefi (loop)/isolinux/vmlinuz iso-scan/filename=${isofile}
root=live:CDLABEL=Fedora-KDE-Live-33-1-2  rd.live.image
 initrdefi (loop)/isolinux/initrd.img
 }
EOF


I have used that configuration a few years ago, but now it does not work.
If I choose that grub entry the screen goes black and I have to reboot. Is
there something wrong in my custom file?

Thanks in  advance!

-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: Fedora Account System and Bugzilla Mismatch

2020-10-11 Thread Sergio Belkin
El dom., 11 oct. 2020 a las 14:23, Kevin Fenzi () escribió:
>
> On Sun, Oct 11, 2020 at 12:12:11PM -0300, Sergio Belkin wrote:
> > Hi,
> > I've changed my mail address of FAS because my old one does not exist 
> > anymore.
> > So I've received a mail telling me that "Fedora Account System and
> > Bugzilla Mismatch"
> > Sadly, I forget my bugzilla password, and so if I login using FAS, it tells 
> > me:
> >
> > "Would you like to create an account for... (new address mail)"  ?
> >
> > I'm afraid that doing so, because I wouldn't want to lost my earlier
> > activity, how can I recover my bugzilla password in order to change my
> > mail address in bugzilla.
>
> You need access to the address to reset the password.
> If the old address 'doesn't exist anymore', and you don't have the
> password I don't think there's much that can be done. ;(

I had an account at vmail.me
(https://web.archive.org/web/20130512235054/https://www.vmail.me/),
which does not exist anymore :(


>
> You will just need to make the new account matching your fas account as
> far as I can see.
>
> You can try mailing bugzilla-ow...@redhat.com to see if they have any
> other options.
Ok, thanks, I hope I can recover ir access to bugzilla with account.
>
> kevin
> ___
> 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



-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Fedora Account System and Bugzilla Mismatch

2020-10-11 Thread Sergio Belkin
Hi,
I've changed my mail address of FAS because my old one does not exist anymore.
So I've received a mail telling me that "Fedora Account System and
Bugzilla Mismatch"
Sadly, I forget my bugzilla password, and so if I login using FAS, it tells me:

"Would you like to create an account for... (new address mail)"  ?

I'm afraid that doing so, because I wouldn't want to lost my earlier
activity, how can I recover my bugzilla password in order to change my
mail address in bugzilla.

Thanks in advance
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: Somewhat OT: Sound won't work at all on Firefox (Solved)

2020-09-26 Thread Sergio Belkin
El sáb., 26 sept. 2020 a las 15:25, Sergio Belkin ()
escribió:

> Hi!
> Suddenly I have not any sound in Firefox, whatever be the site: youtube,
> netflix, vimeo, etc. Until yesterday everything worked like a charm.
> And whatever be the version of Firefox, upgraded to 81, Firefox in "safe
> mode", even Firefox ESR.
>
> Besides that, Chrome, Chromium, Falkon, all of them play audio fine.
>
> Any there with this issue?
>
> (Running Fedora 32 with Plasma)
>
> Thanks in advance
> --
>


Shame on me...

It seems that inadvertently silented I muted Firefox, for my surprise in a
persistent fashion. I mean: no matter if you logout, reboot, etc
That configuration can be unmuted again running:
kcmshell5 kcm_pulseaudio
And then going to Applications tab.

¯\_(ツ)_/¯

HTH

-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Somewhat OT: Sound won't work at all on Firefox

2020-09-26 Thread Sergio Belkin
Hi!
Suddenly I have not any sound in Firefox, whatever be the site: youtube,
netflix, vimeo, etc. Until yesterday everything worked like a charm.
And whatever be the version of Firefox, upgraded to 81, Firefox in "safe
mode", even Firefox ESR.

Besides that, Chrome, Chromium, Falkon, all of them play audio fine.

Any there with this issue?

(Running Fedora 32 with Plasma)

Thanks in advance
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: EarlyOOM +ZRAM Only

2020-08-17 Thread Sergio Belkin
El lun., 17 ago. 2020 a las 13:02, Chris Murphy ()
escribió:

> On Mon, Aug 17, 2020 at 8:09 AM Sergio Belkin  wrote:
> >
> >
> >
> > El sáb., 15 ago. 2020 a las 21:46, Samuel Sieb ()
> escribió:
> >>
> >> On 8/15/20 1:32 PM, Sergio Belkin wrote:
> >> > Nice, my only doubt is why smem and tools alike cannot show those
> >> > processes using anon pages in swap...
> >>
> >> I posted a bash command line in an earlier email that will give you that
> >> information.
> >> ___
> >>
> >
> > Samue, Are you talking about this:
> >
> >
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/NNGPG7IXSNG4NU7O3X7PVABWROAS32CN/
> > --
>
> Yes.
>
> I don't know what smem's Swap column is showing. It doesn't match
> /proc/pid/status -> VmSwap
>
> sudo smem -t --sort swap
>
>   PID User Command Swap  USS  PSS
> RSS
> ...
> 3 chris/usr/bin/gnome-shell4912   119760   151274
>  238112
>
> $ grep VmSwap /proc/3/status
> VmSwap:   0 kB
>
>
>
More examples in different languages:

https://github.com/lilydjwg/swapview-rosetta

 These scripts/programs are more updated that smem. I've tried python and
bash examples and it seems to work fine.
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: EarlyOOM +ZRAM Only

2020-08-17 Thread Sergio Belkin
El sáb., 15 ago. 2020 a las 21:46, Samuel Sieb () escribió:

> On 8/15/20 1:32 PM, Sergio Belkin wrote:
> > Nice, my only doubt is why smem and tools alike cannot show those
> > processes using anon pages in swap...
>
> I posted a bash command line in an earlier email that will give you that
> information.
> ___
>
>
Samue, Are you talking about this:

https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/NNGPG7IXSNG4NU7O3X7PVABWROAS32CN/
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: EarlyOOM +ZRAM Only

2020-08-15 Thread Sergio Belkin
El sáb., 15 ago. 2020 a las 17:09, Chris Murphy ()
escribió:

> On Sat, Aug 15, 2020 at 1:59 PM Sergio Belkin  wrote:
> >
> > Right now I have this with sudo smem -c "pid name swap pss" -s swap -k -t
> > 
> >  4105 cleanupd 2.5M   132.0K
> > 731103 firewalld2.7M23.7M
> >  4528 powerline-daemo  3.3M11.2M
> >  5078 colord   3.4M 2.0M
> >  4062 (sd-pam  4.0M28.0K
> >  4061 (sd-pam  4.1M12.0K
> > -
> >   206 70.0M 3.4G
>
> OK so 70M swap
>
>
> > And with free -m:
> >
> > totalusedfree  shared  buff/cache   available
> > Mem:  1588732541662 804   10969
>  11486
> > Swap:  4095  624033
>
> 62M swap
>
>
> >
> > Huge difference, I don't know, There is something bad with plasma, isn't
> it?  :)
> >
> > I don't know if is useful now:
> >  zramctl
> > NAME   ALGORITHM DISKSIZE  DATA COMPR TOTAL STREAMS MOUNTPOINT
> > /dev/zram0 lzo-rle 4G 62,7M   21M 53,8M   4 [SWAP]
>
>
> 62M swap
>
> The log out and log back probably caused most of the anon pages in
> swap to get dropped. So you'll need to use the system normally until
> swap usage is back up to ~3+G and then run that smem command and see
> what's using all of this swap...
>
>
>
> --
> Chris Murphy
>

Nice, my only doubt is why smem and tools alike cannot show those processes
using anon pages in swap...
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: EarlyOOM +ZRAM Only

2020-08-15 Thread Sergio Belkin
El sáb., 15 ago. 2020 a las 14:58, Chris Murphy ()
escribió:

> On Sat, Aug 15, 2020 at 11:54 AM Chris Murphy 
> wrote:
> >
> > On Sat, Aug 15, 2020 at 11:09 AM Sergio Belkin  wrote:
> > >
> > >
> > >
> > > > However swap usage is still high :
> > > > free -m
> > > >   totalusedfree  shared  buff/cache
>  available
> > > > Mem:  158878577118745876123
>   2382
> > > > Swap:  40953854 241
> > > >
> > > > It's weird, isn't it?
> > >
> > > >> It's consistent. Only ~240 MB of 900M for PK had been evicted to
> swap.
> > > >> When restarting PK, it dropped those 240MB in swap. Free memory also
> > > >> went up no doubt. I don't know why it's using so much memory, what
> all
> > > >> these anonymous pages are. If you catch it going above 500M, check
> > > >> /proc/pid/status and let's see what the breakdown is of memory
> usage.
> > >
> > > Ok but smem tell me that around 300M is swap used, and the ~3.5G
> remaining???
> > > Is there a way to find the culprit processes?
> > > Thanks in advance!
> >
> > I'm not familiar enough with smem to know what it does or why it's
> > missing things, but
> >
> > for file in /proc/*/status ; do awk '/VmSwap|Name/{printf $2 "
> > "$3}END{ print ""}' $file; done | sort -k 2 -n -r | less
> >
> > Finds more things using swap than smem. As in, smem isn't showing
> > packagekitd for me at all, and yet /proc/pid/status for pk is showing
> > VmSwap is 16M, which at the moment is 20% of swap.
> >
> > What do you get for zramctl?
>
> Ok for some reason 'sudo' gets me different results with smem. Try this:
>
> sudo smem -t --sort swap
>
>
> --
> Chris Murphy
> ___
> 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
>

Oops, sorry I've read this a bit late... but I tell you what I did and HTH
someone:
I Closed app by app: firefox, two lxc containers, etc and then I logged out
(no reboot), and swap kept on the same level
Then I login again
After logout and re-login with plasma with wayland (I could not use kde
with Xorg I have issues re-logging, I guess that has to do with this
bug:
https://fedoraproject.org/wiki/Common_F32_bugs#User_switching.2Fre-logging_in_KDE_might_often_lead_to_a_black.2Ffrozen_screen

Right now I have this with sudo smem -c "pid name swap pss" -s swap -k -t

 4105 cleanupd 2.5M   132.0K
731103 firewalld2.7M23.7M
 4528 powerline-daemo  3.3M11.2M
 5078 colord   3.4M 2.0M
 4062 (sd-pam  4.0M28.0K
 4061 (sd-pam  4.1M12.0K
-
  206 70.0M 3.4G


And with free -m:

totalusedfree  shared  buff/cache   available
Mem:  1588732541662 804   10969
11486
Swap:  4095  624033

Huge difference, I don't know, There is something bad with plasma, isn't
it?  :)

I don't know if is useful now:
 zramctl
NAME   ALGORITHM DISKSIZE  DATA COMPR TOTAL STREAMS MOUNTPOINT
/dev/zram0 lzo-rle 4G 62,7M   21M 53,8M   4 [SWAP]


TIA
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: EarlyOOM +ZRAM Only

2020-08-15 Thread Sergio Belkin
> However swap usage is still high :
> free -m
>   totalusedfree  shared  buff/cache
 available
> Mem:  158878577118745876123
  2382
> Swap:  40953854 241
>
> It's weird, isn't it?

>> It's consistent. Only ~240 MB of 900M for PK had been evicted to swap.
>> When restarting PK, it dropped those 240MB in swap. Free memory also
>> went up no doubt. I don't know why it's using so much memory, what all
>> these anonymous pages are. If you catch it going above 500M, check
>> /proc/pid/status and let's see what the breakdown is of memory usage.

Ok but smem tell me that around 300M is swap used, and the ~3.5G
remaining???
Is there a way to find the culprit processes?
Thanks in advance!

-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: EarlyOOM +ZRAM Only

2020-08-14 Thread Sergio Belkin
El vie., 14 ago. 2020 a las 16:32, Chris Murphy ()
escribió:

> On Fri, Aug 14, 2020 at 12:42 PM Sergio Belkin  wrote:
> >
> > 2 comments:
> > - I don't use disk-based swap, only zram.
> > - It happened again, and in this case there is no Virtual Machine nor
> Zoom app running:
> > ago 14 15:08:37 dublin.ireland.home earlyoom[888]: sending SIGTERM to
> process 2052260 uid 1000 "Web Content": badness 322, VmRSS 447 MiB
> > ago 14 15:08:40 dublin.ireland.home earlyoom[888]: process exited after
> 2.7 seconds
> > ago 14 15:12:15 dublin.ireland.home earlyoom[888]: mem avail:   395 of
> 15887 MiB ( 2.49%), swap free:0 of 4095 MiB ( 0.00%)
> > ago 14 15:12:15 dublin.ireland.home earlyoom[888]: low memory! at or
> below SIGTERM limits: mem  2.52%, swap 10.00%
> > ago 14 15:12:15 dublin.ireland.home earlyoom[888]: sending SIGTERM to
> process 2055755 uid 1000 "Web Content": badness 319, VmRSS 392 MiB
> > ago 14 15:12:17 dublin.ireland.home earlyoom[888]: process exited after
> 2.8 seconds
> > ago 14 15:28:35 dublin.ireland.home earlyoom[888]: mem avail:   371 of
> 15887 MiB ( 2.34%), swap free:0 of 4095 MiB ( 0.00%)
> > ago 14 15:28:35 dublin.ireland.home earlyoom[888]: low memory! at or
> below SIGTERM limits: mem  2.52%, swap 10.00%
> > ago 14 15:28:35 dublin.ireland.home earlyoom[888]: sending SIGTERM to
> process 2062157 uid 1000 "Web Content": badness 327, VmRSS 553 MiB
> > ago 14 15:28:37 dublin.ireland.home earlyoom[888]: process exited after
> 2.3 seconds
>
>
> What's the workload? What  is filling up 4G of swap with inactive
> pages such that none of them are being freed? The usual case is
> available memory is well below the watermark before swap has filled.
> But in this case, it's the opposite.
>


Good question this the output of he last lines of smem -c "name swap" -s
swap -k -t

kaccess  4.1M
kded54.5M
cadmus   5.0M
konsole  5.4M
xdg-desktop-por 10.6M
mount.ntfs  26.1M
Xorg30.0M
mysqld  36.6M
plasmashell 36.9M
packagekitd239.6M
--
   547.3M


>
> As sigterm is happening, memory available is still dropping. Some
> process is still taking up more memory, but has low enough badness
> that its not being terminated. It could be one of the exempt
> processes.
>
> >
> > Perhaps this ps_mem snippet is useful:
> >  > Private  +   Shared  =  RAM used   Program
> > 
> > 
> > 
> > 294.8 MiB +   4.7 MiB = 299.4 MiB   telegram-desktop.bin
> > 290.3 MiB +  22.1 MiB = 312.4 MiB   rocketchat-desktop (5)
> > 323.8 MiB +   9.5 MiB = 333.2 MiB   kwin_x11 (9)
> > 344.5 MiB +   1.4 MiB = 345.8 MiB   nextcloud
> > 373.2 MiB +  21.2 MiB = 394.4 MiB   spotify (5)
> > 416.6 MiB +   1.3 MiB = 417.9 MiB   plasma-discover
> > 448.5 MiB +  16.6 MiB = 465.2 MiB   MainThread
> > 892.8 MiB + 444.5 KiB = 893.2 MiB   packagekitd
> >   1.0 GiB +   8.6 MiB =   1.0 GiB   plasmashell
> >   1.9 GiB +  81.0 MiB =   1.9 GiB   Web Content (9)
>
> 892M for packagekit? Seems excessive. I wonder what's up with that. It
> is an exempt process. On my current system it's 1/2 that amount, which
> is in turn twice that of GNOME shell. Hmm.
>


systemctl status packagekit
● packagekit.service - PackageKit Daemon
 Loaded: loaded (/usr/lib/systemd/system/packagekit.service; static;
vendor preset: disabled)
 Active: active (running) since Thu 2020-07-30 15:40:51 -03; 2 weeks 1
days ago
   Main PID: 5393 (packagekitd)
  Tasks: 12 (limit: 19015)
 Memory: 903.2M
CPU: 9min 6.976s
 CGroup: /system.slice/packagekit.service
 ├─   5393 /usr/libexec/packagekitd
 ├─2019772 gpg-agent --homedir
/var/cache/PackageKit/32/metadata/fedora-modular-32-x86_64.tmp/gpgdir
--use-standard-socket --daemon
 ├─2019790 gpg-agent --homedir
/var/cache/PackageKit/32/metadata/updates-modular-32-x86_64.tmp/gpgdir
--use-standard-socket --daemon
 ├─2019808 gpg-agent --homedir
/var/cache/PackageKit/32/metadata/google-chrome-32-x86_64.tmp/gpgdir
--use-standard-socket --daemon
 ├─2019819 gpg-agent --homedir
/var/cache/PackageKit/32/metadata/updates-32-x86_64.tmp/gpgdir
--use-standard-socket --daemon
 ├─2019838 gpg-agent --homedir
/var/cache/PackageKit/32/metadata/rpmfusion-free-32-x86_64.tmp/gpgdir
--use-standard-socket --daemon
 ├─2019857 gpg-agent --homedir
/var/cache/PackageKit/32/metadata/ring-32-x86_64.tmp/gpgdir
--use-standard-socket --daemon
   

Re: EarlyOOM +ZRAM Only

2020-08-14 Thread Sergio Belkin
El vie., 14 ago. 2020 a las 9:28, Przemek Klosowski via devel (<
devel@lists.fedoraproject.org>) escribió:

> On 8/14/20 7:33 AM, John M. Harris Jr wrote:
> > On Wednesday, August 12, 2020 1:16:34 PM MST Przemek Klosowski via devel
> > wrote:
> >>
> >> This is weird---your swap was 100% full, and ram almost full, and yet
> >> killing 4GB VirtualBox didn't seem to free up memory. I suspect some
> >> sort of measurement or reporting error---if these numbers were accurate,
> >> EarlyOOM did have a reason to panic and kill zoom. BTW, zoom taking 721
> >> MiB is crazy.
>
> > Are you kidding? The system still had over a quarter of a gigabyte of
> free
> > RAM. There's no reason to start killing off processes at that point.
> That's
> > tons of free memory. To put that into perspective, that's enough free
> memory
> > to store over 1000 average-length novels directly in memory.
>
> When the swap is 100% full, it is not like you have a bunch of processes
> neatly stored in it, and some free memory available---you have a mess of
> partly swapped out processes reading back their pages from swap and
> pushing other processes' RAM pages onto the fragmented swap, when they
> are trying to run.
>
> This is the worst case of disk usage, and as we discussed before, the
> transfer speeds for such traffic will be hundreds/thousands times
> slower---I would expect latencies going into tens of seconds. So, no, I
> am not kidding.
> ___
>

2 comments:
- I don't use disk-based swap, only zram.
- It happened again, and in this case there is no Virtual Machine nor Zoom
app running:
ago 14 15:08:37 dublin.ireland.home earlyoom[888]: sending SIGTERM to
process 2052260 uid 1000 "Web Content": badness 322, VmRSS 447 MiB
ago 14 15:08:40 dublin.ireland.home earlyoom[888]: process exited after 2.7
seconds
ago 14 15:12:15 dublin.ireland.home earlyoom[888]: mem avail:   395 of
15887 MiB ( 2.49%), swap free:0 of 4095 MiB ( 0.00%)
ago 14 15:12:15 dublin.ireland.home earlyoom[888]: low memory! at or below
SIGTERM limits: mem  2.52%, swap 10.00%
ago 14 15:12:15 dublin.ireland.home earlyoom[888]: sending SIGTERM to
process 2055755 uid 1000 "Web Content": badness 319, VmRSS 392 MiB
ago 14 15:12:17 dublin.ireland.home earlyoom[888]: process exited after 2.8
seconds
ago 14 15:28:35 dublin.ireland.home earlyoom[888]: mem avail:   371 of
15887 MiB ( 2.34%), swap free:0 of 4095 MiB ( 0.00%)
ago 14 15:28:35 dublin.ireland.home earlyoom[888]: low memory! at or below
SIGTERM limits: mem  2.52%, swap 10.00%
ago 14 15:28:35 dublin.ireland.home earlyoom[888]: sending SIGTERM to
process 2062157 uid 1000 "Web Content": badness 327, VmRSS 553 MiB
ago 14 15:28:37 dublin.ireland.home earlyoom[888]: process exited after 2.3
seconds

Perhaps this ps_mem snippet is useful:



294.8 MiB +   4.7 MiB = 299.4 MiB   telegram-desktop.bin
290.3 MiB +  22.1 MiB = 312.4 MiB   rocketchat-desktop (5)
323.8 MiB +   9.5 MiB = 333.2 MiB   kwin_x11 (9)
344.5 MiB +   1.4 MiB = 345.8 MiB   nextcloud
373.2 MiB +  21.2 MiB = 394.4 MiB   spotify (5)
416.6 MiB +   1.3 MiB = 417.9 MiB   plasma-discover
448.5 MiB +  16.6 MiB = 465.2 MiB   MainThread
892.8 MiB + 444.5 KiB = 893.2 MiB   packagekitd
  1.0 GiB +   8.6 MiB =   1.0 GiB   plasmashell
  1.9 GiB +  81.0 MiB =   1.9 GiB   Web Content (9)
-----
  9.7 GiB
=


Well I'll report soon, any  idea (remember I have 16 GB of RAM with 4G of
zram-based swap) will be welcome
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: EarlyOOM +ZRAM Only

2020-08-12 Thread Sergio Belkin
El mié., 12 ago. 2020 a las 17:17, Przemek Klosowski via devel (<
devel@lists.fedoraproject.org>) escribió:

> On 8/12/20 2:27 PM, Sergio Belkin wrote:
> > Hi!
> > I 've just had a problem using EarlyOOM + ZRAM. I haven't a disk-based
> > swap partition.
> > I was using mainly Zoom (desktop app) + Firefox + VirtualBox (Debian
> > with 4GB of RAM), and EarlyOOM killed Zoom in the middle of a call :(
>
> This is weird---your swap was 100% full, and ram almost full, and yet
> killing 4GB VirtualBox didn't seem to free up memory. I suspect some
> sort of measurement or reporting error---if these numbers were accurate,
> EarlyOOM did have a reason to panic and kill zoom. BTW, zoom taking 721
> MiB is crazy.
>
> One possibility that comes to mind is that there's a process not
> mentioned in the log (some system process???) that keeps allocating
> memory as soon as it is freed by EarlyOOM, so killing the processes does
> not result in increasing free memory (the first column).
>
> 399 of 15887 MiB ( 2.51%) SIGTERM "Web Content": badness 315, VmRSS 313 MiB
> 397 of 15887 MiB ( 2.50%) SIGTERM "Web Content": badness 304, VmRSS 80 MiB
> 379 of 15887 MiB ( 2.39%) SIGTERM "Web Content": badness 303, VmRSS 74 MiB
> 335 of 15887 MiB ( 2.11%) SIGTERM "Web Content": badness 303, VmRSS 70 MiB
> 315 of 15887 MiB ( 1.98%) SIGTERM "Web Content": badness 301, VmRSS 27 MiB
> 288 of 15887 MiB ( 1.81%) SIGTERM "VirtualBoxVM":badness 212, VmRSS 4244
> MiB
> 337 of 15887 MiB ( 2.13%) SIGTERM "zoom":badness 36, VmRSS 721 MiB
>
> Note how the full log helpfully mentions the actual tresholds for
> SIGTERM: mem 2.52%, swap 10%, Where does 2.52 come from, pray?
> ___
>

The only that I've found in logs is the infamous akonadi :)  and
sysstat-collect... earlyoom
More information:

systemctl status --no-pager --full earlyoom.service
● earlyoom.service - Early OOM Daemon
 Loaded: loaded (/usr/lib/systemd/system/earlyoom.service; enabled;
vendor preset: disabled)
 Active: active (running) since Thu 2020-07-30 15:36:11 -03; 1 weeks 6
days ago
   Docs: man:earlyoom(1)
 https://github.com/rfjakob/earlyoom
   Main PID: 888 (earlyoom)
  Tasks: 1 (limit: 10)
 Memory: 1.8M (max: 50.0M)
CPU: 1min 48.708s
 CGroup: /system.slice/earlyoom.service
 └─888 /usr/bin/earlyoom -r 0 -m 4 -M 409600 --prefer ^Web
Content$ --avoid
^(dnf|packagekitd|gnome-shell|gnome-session-c|gnome-session-b|lightdm|sddm|sddm-helper|gdm|gdm-wayland-ses|gdm-session-wor|gdm-x-session|Xorg|Xwayland|systemd|systemd-logind|dbus-daemon|dbus-broker|cinnamon|cinnamon-sessio|kwin_x11|kwin_wayland|plasmashell|ksmserver|plasma_session|startplasma-way|xfce4-session|mate-session|marco|lxqt-session|openbox)$

ago 12 10:20:14 dublin.ireland.home earlyoom[888]: sending SIGTERM to
process 1899907 uid 1000 "Web Content": badness 301, VmRSS 27 MiB
ago 12 10:20:24 dublin.ireland.home earlyoom[888]: kill failed: Timer
expired
ago 12 10:20:24 dublin.ireland.home earlyoom[888]: mem avail:   288 of
15887 MiB ( 1.81%), swap free:0 of 4095 MiB ( 0.00%)
ago 12 10:20:24 dublin.ireland.home earlyoom[888]: low memory! at or below
SIGTERM limits: mem  2.52%, swap 10.00%
ago 12 10:20:24 dublin.ireland.home earlyoom[888]: sending SIGTERM to
process 1898928 uid 1000 "VirtualBoxVM": badness 212, VmRSS 4244 MiB
ago 12 10:20:24 dublin.ireland.home earlyoom[888]: process exited after 0.0
seconds
ago 12 10:20:24 dublin.ireland.home earlyoom[888]: mem avail:   337 of
15887 MiB ( 2.13%), swap free:0 of 4095 MiB ( 0.00%)
ago 12 10:20:24 dublin.ireland.home earlyoom[888]: low memory! at or below
SIGTERM limits: mem  2.52%, swap 10.00%
ago 12 10:20:24 dublin.ireland.home earlyoom[888]: sending SIGTERM to
process 1898342 uid 1000 "zoom": badness 36, VmRSS 721 MiB
ago 12 10:20:24 dublin.ireland.home earlyoom[888]: process exited after 0.0
seconds

-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: EarlyOOM +ZRAM Only

2020-08-12 Thread Sergio Belkin
El mié., 12 ago. 2020 a las 16:07, John M. Harris Jr ()
escribió:

> On Wednesday, August 12, 2020 11:27:37 AM MST Sergio Belkin wrote:
> > Hi!
> > I 've just had a problem using EarlyOOM + ZRAM. I haven't a disk-based
> swap
> > partition.
> > I was using mainly Zoom (desktop app) + Firefox + VirtualBox (Debian with
> > 4GB of RAM), and EarlyOOM killed Zoom in the middle of a call :(
> >
> > This is the log:
> > mem avail:   399 of 15887 MiB ( 2.51%), swap free:0 of 4095 MiB (
> 0.00%)
> > low memory! at or below SIGTERM limits: mem  2.52%, swap 10.00%
> > sending SIGTERM to process 1899361 uid 1000 "Web Content": badness 315,
> > VmRSS 313 MiB
> > process exited after 2.2 seconds
> > mem avail:   397 of 15887 MiB ( 2.50%), swap free:0 of 4095 MiB (
> 0.00%)
> > low memory! at or below SIGTERM limits: mem  2.52%, swap 10.00%
> > sending SIGTERM to process 1899726 uid 1000 "Web Content": badness 304,
> > VmRSS 80 MiB
> > process exited after 3.7 seconds
> > mem avail:   379 of 15887 MiB ( 2.39%), swap free:0 of 4095 MiB (
> 0.00%)
> > low memory! at or below SIGTERM limits: mem  2.52%, swap 10.00%
> > sending SIGTERM to process 1896099 uid 1000 "Web Content": badness 303,
> > VmRSS 74 MiB
> > process exited after 3.6 seconds
> > mem avail:   335 of 15887 MiB ( 2.11%), swap free:0 of 4095 MiB (
> 0.00%)
> > low memory! at or below SIGTERM limits: mem  2.52%, swap 10.00%
> > sending SIGTERM to process 1899195 uid 1000 "Web Content": badness 303,
> > VmRSS 70 MiB
> > process exited after 3.6 seconds
> > mem avail:   315 of 15887 MiB ( 1.98%), swap free:0 of 4095 MiB (
> 0.00%)
> > low memory! at or below SIGTERM limits: mem  2.52%, swap 10.00%
> > sending SIGTERM to process 1899907 uid 1000 "Web Content": badness 301,
> > VmRSS 27 MiB
> > kill failed: Timer expired
> > mem avail:   288 of 15887 MiB ( 1.81%), swap free:0 of 4095 MiB (
> 0.00%)
> > low memory! at or below SIGTERM limits: mem  2.52%, swap 10.00%
> > sending SIGTERM to process 1898928 uid 1000 "VirtualBoxVM": badness 212,
> > VmRSS 4244 MiB
> > process exited after 0.0 seconds
> > mem avail:   337 of 15887 MiB ( 2.13%), swap free:0 of 4095 MiB (
> 0.00%)
> > low memory! at or below SIGTERM limits: mem  2.52%, swap 10.00%
> > sending SIGTERM to process 1898342 uid 1000 "zoom": badness 36, VmRSS 721
> > MiB
> > process exited after 0.0 seconds
> >
> >
> > So I wonder if is advisable using EarlyOOM + ZRAM Only, what do you
> > think?
> > Thanks in advance!
>
> Please keep this in mind going forward, and take a moment to consider
> enabling
> EarlyOOM in Fedora. As it turns out, EarlyOOM does exactly what it says it
> does: It kills your programs when you've still got plenty of free memory.
>
> --
> John M. Harris, Jr.
>
> ___
>

The OS is Fedora 32... Debian is the guest OS running on VirtualBox

-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: EarlyOOM +ZRAM Only

2020-08-12 Thread Sergio Belkin
El mié., 12 ago. 2020 a las 15:49, Samuel Sieb () escribió:

> On 8/12/20 11:27 AM, Sergio Belkin wrote:
> > I 've just had a problem using EarlyOOM + ZRAM. I haven't a disk-based
> > swap partition.
> > I was using mainly Zoom (desktop app) + Firefox + VirtualBox (Debian
> > with 4GB of RAM), and EarlyOOM killed Zoom in the middle of a call :(
> >
> > This is the log:
>
> The log of what?  Are there no timestamps?
>
> > mem avail:   399 of 15887 MiB ( 2.51%), swap free:0 of 4095 MiB (
> 0.00%)
> > low memory! at or below SIGTERM limits: mem  2.52%, swap 10.00%
> > sending SIGTERM to process 1899361 uid 1000 "Web Content": badness 315,
> > VmRSS 313 MiB
> > process exited after 2.2 seconds
> > mem avail:   397 of 15887 MiB ( 2.50%), swap free:0 of 4095 MiB (
> 0.00%)
> > low memory! at or below SIGTERM limits: mem  2.52%, swap 10.00%
> > sending SIGTERM to process 1899726 uid 1000 "Web Content": badness 304,
> > VmRSS 80 MiB
> > process exited after 3.7 seconds
> > mem avail:   379 of 15887 MiB ( 2.39%), swap free:0 of 4095 MiB (
> 0.00%)
> > low memory! at or below SIGTERM limits: mem  2.52%, swap 10.00%
> > sending SIGTERM to process 1896099 uid 1000 "Web Content": badness 303,
> > VmRSS 74 MiB
> > process exited after 3.6 seconds
> > mem avail:   335 of 15887 MiB ( 2.11%), swap free:0 of 4095 MiB (
> 0.00%)
> > low memory! at or below SIGTERM limits: mem  2.52%, swap 10.00%
> > sending SIGTERM to process 1899195 uid 1000 "Web Content": badness 303,
> > VmRSS 70 MiB
> > process exited after 3.6 seconds
> > mem avail:   315 of 15887 MiB ( 1.98%), swap free:0 of 4095 MiB (
> 0.00%)
> > low memory! at or below SIGTERM limits: mem  2.52%, swap 10.00%
> > sending SIGTERM to process 1899907 uid 1000 "Web Content": badness 301,
> > VmRSS 27 MiB
> > kill failed: Timer expired
> > mem avail:   288 of 15887 MiB ( 1.81%), swap free:0 of 4095 MiB (
> 0.00%)
> > low memory! at or below SIGTERM limits: mem  2.52%, swap 10.00%
> > sending SIGTERM to process 1898928 uid 1000 "VirtualBoxVM": badness 212,
> > VmRSS 4244 MiB
> > process exited after 0.0 seconds
> > mem avail:   337 of 15887 MiB ( 2.13%), swap free:0 of 4095 MiB (
> 0.00%)
> > low memory! at or below SIGTERM limits: mem  2.52%, swap 10.00%
> > sending SIGTERM to process 1898342 uid 1000 "zoom": badness 36, VmRSS
> > 721 MiB
> > process exited after 0.0 seconds
>
> According to this, you were completely out of memory.  zoom was the last
> resort.  I wonder what was taking up the memory that even killing the VM
> didn't free up enough.
> ___
> 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
>

It's the output of journalctl:
ago 12 10:01:01 dublin.ireland.home earlyoom[888]: mem avail:   399 of
15887 MiB ( 2.51%), swap free:0 of 4095 MiB ( 0.00%)
ago 12 10:01:01 dublin.ireland.home earlyoom[888]: low memory! at or below
SIGTERM limits: mem  2.52%, swap 10.00%
ago 12 10:01:01 dublin.ireland.home earlyoom[888]: sending SIGTERM to
process 1899361 uid 1000 "Web Content": badness 315, VmRSS 313 MiB
ago 12 10:01:03 dublin.ireland.home earlyoom[888]: process exited after 2.2
seconds
ago 12 10:20:03 dublin.ireland.home earlyoom[888]: mem avail:   397 of
15887 MiB ( 2.50%), swap free:0 of 4095 MiB ( 0.00%)
ago 12 10:20:03 dublin.ireland.home earlyoom[888]: low memory! at or below
SIGTERM limits: mem  2.52%, swap 10.00%
ago 12 10:20:03 dublin.ireland.home earlyoom[888]: sending SIGTERM to
process 1899726 uid 1000 "Web Content": badness 304, VmRSS 80 MiB
ago 12 10:20:07 dublin.ireland.home earlyoom[888]: process exited after 3.7
seconds
ago 12 10:20:07 dublin.ireland.home earlyoom[888]: mem avail:   379 of
15887 MiB ( 2.39%), swap free:0 of 4095 MiB ( 0.00%)
ago 12 10:20:07 dublin.ireland.home earlyoom[888]: low memory! at or below
SIGTERM limits: mem  2.52%, swap 10.00%
ago 12 10:20:07 dublin.ireland.home earlyoom[888]: sending SIGTERM to
process 1896099 uid 1000 "Web Content": badness 303, VmRSS 74 MiB
ago 12 10:20:10 dublin.ireland.home earlyoom[888]: process exited after 3.6
seconds
ago 12 10:20:10 dublin.ireland.home earlyoom[888]: mem avail:   335 of
15887 MiB ( 2.11%), swap free:0 of 4095 MiB ( 0.00%)
ago 12 10:20:10

EarlyOOM +ZRAM Only

2020-08-12 Thread Sergio Belkin
Hi!
I 've just had a problem using EarlyOOM + ZRAM. I haven't a disk-based swap
partition.
I was using mainly Zoom (desktop app) + Firefox + VirtualBox (Debian with
4GB of RAM), and EarlyOOM killed Zoom in the middle of a call :(

This is the log:
mem avail:   399 of 15887 MiB ( 2.51%), swap free:0 of 4095 MiB ( 0.00%)
low memory! at or below SIGTERM limits: mem  2.52%, swap 10.00%
sending SIGTERM to process 1899361 uid 1000 "Web Content": badness 315,
VmRSS 313 MiB
process exited after 2.2 seconds
mem avail:   397 of 15887 MiB ( 2.50%), swap free:0 of 4095 MiB ( 0.00%)
low memory! at or below SIGTERM limits: mem  2.52%, swap 10.00%
sending SIGTERM to process 1899726 uid 1000 "Web Content": badness 304,
VmRSS 80 MiB
process exited after 3.7 seconds
mem avail:   379 of 15887 MiB ( 2.39%), swap free:0 of 4095 MiB ( 0.00%)
low memory! at or below SIGTERM limits: mem  2.52%, swap 10.00%
sending SIGTERM to process 1896099 uid 1000 "Web Content": badness 303,
VmRSS 74 MiB
process exited after 3.6 seconds
mem avail:   335 of 15887 MiB ( 2.11%), swap free:0 of 4095 MiB ( 0.00%)
low memory! at or below SIGTERM limits: mem  2.52%, swap 10.00%
sending SIGTERM to process 1899195 uid 1000 "Web Content": badness 303,
VmRSS 70 MiB
process exited after 3.6 seconds
mem avail:   315 of 15887 MiB ( 1.98%), swap free:0 of 4095 MiB ( 0.00%)
low memory! at or below SIGTERM limits: mem  2.52%, swap 10.00%
sending SIGTERM to process 1899907 uid 1000 "Web Content": badness 301,
VmRSS 27 MiB
kill failed: Timer expired
mem avail:   288 of 15887 MiB ( 1.81%), swap free:0 of 4095 MiB ( 0.00%)
low memory! at or below SIGTERM limits: mem  2.52%, swap 10.00%
sending SIGTERM to process 1898928 uid 1000 "VirtualBoxVM": badness 212,
VmRSS 4244 MiB
process exited after 0.0 seconds
mem avail:   337 of 15887 MiB ( 2.13%), swap free:0 of 4095 MiB ( 0.00%)
low memory! at or below SIGTERM limits: mem  2.52%, swap 10.00%
sending SIGTERM to process 1898342 uid 1000 "zoom": badness 36, VmRSS 721
MiB
process exited after 0.0 seconds


So I wonder if is advisable using EarlyOOM + ZRAM Only, what do you
think?
Thanks in advance!


-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Why lxd is not included in Fedora?

2020-08-02 Thread Sergio Belkin
Hi!
Just out of curiosity, why is lxd not included in Fedora?
Thanks in advance!

-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-07-29 Thread Sergio Belkin
El lun., 6 jul. 2020 a las 18:15, Samuel Sieb () escribió:

> On 7/6/20 1:48 PM, Sergio Belkin wrote:
> > At
> >
> https://fedoraproject.org/wiki/Changes/SwapOnZRAM#Why_systemd_zram-generator.3F
> > it says:
> >
> > "Do not create swap partition/LV with default installations."
> > I don't understand if it is a description or a prescription :)I mean,
> > can coexist swap partition/LV and zram?
>
> Yes, zram is just a compressed block device in RAM and it's being used
> here as swap.  You can have multiple swap devices active at the same
> time.  That's what I'm currently using.  I have a zram swap device and a
> disk swap partition as overflow.  But the plan is to avoid having any
> swap on disk by default.
> ___
> 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
>

Thanks, event for the late answer :)
 For the record, I'm using zram as a swap device and I disabled the swap on
disk. I have 16 GB of RAM and am using earlyoom on F32. There was only one
several issue using a lot of apps and VirtualBox VM's.
HTH

-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: vim has lost it's damn mind

2020-07-28 Thread Sergio Belkin
El mar., 28 jul. 2020 a las 18:49, John Florian ()
escribió:

> I also have seen some weirdness of late, but I'm still on F31.  I had yaml
> files indented with sw=4 and my foldmethod=indent.  Now I have to open the
> fold twice, once for the invisible fold that seems to be implied as if sw=2
> and one more to get the real thing.  If I reformat to use 2-space indents
> the folding works like I'd expect but something changed.  I've also gotten
> lots of pain with certain key combos that were solid for ages.  Ctrl-6 to
> swap buffers % and # now must be Ctrl-Shift-6 for vim, though the former
> still works in gvim.  I have a mapping for  :nohlsearch that
> I've used for over a decade to un-highlight a search.  That no longer works
> in vim or gvim.  Until I'd found that I figured something in konsole had
> changed.  But once gvim revealed weird issues I figured it must be more of
> a vim thing. Now seeing this message, I'm becoming even more certain.
>
> John Florian
>
> On 2020-07-25 09:21, Richard Shaw wrote:
>
> After upgrading to Fedora 32 I've noticed when editing files, especially
> spec files that vim does some crazy jumps/indents that it didn't do before.
>
> Right now I'm pressing i to insert a line before a Requires: and when I
> hit enter it jumps to the next line (fine) but with 4 indents and one
> space... WTF?
>
> Anyone else seeing strange vim behavior?
>
> Thanks,
> Richard
>
> ___
> 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
>
> ___
> 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
>

Since a couple of years ago, I'm a happy user of neovim on Fedora :)
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: Anyone using Tiled windows on Plasma out there ?

2020-07-22 Thread Sergio Belkin
El jue., 16 jul. 2020 a las 15:14, John Florian ()
escribió:

> On 2020-07-16 13:59, Sergio Belkin wrote:
>
>
>
> El jue., 16 jul. 2020 a las 12:22, John Florian ()
> escribió:
>
>> In any case, the few hassles I encounter are so much less time demanding
>> than all the window management I manually did before adopting
>> kwin-tiling.  If I could only have "focus follows eyes", I'd be quite
>> happy in the WM serving me rather than the other way around.  :-)
>>
>>
>> John Florian
>>
>
> LoL
> I have set "focus follows mouse"
>
> Same here; it's the next best thing.
>
> Actually what I find most useful is an hybrid approach. I mean, tiled
> windows, but sometimes I need to focus on only one windows and to maximize
> it :)
>
> I too do this now and then and kwin-tiling is really good at allowing this
> as well as allowing me to resize the windows for a temporary override.
>
> --
> --
> Sergio Belkin
> LPIC-2 Certified - http://www.lpi.org
>
> ___
> 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
>
> ___
> 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
>

Well since a few days ago Tiling Extension (
https://github.com/kwin-scripts/kwin-tiling ) goes very well stable and
without crashes :)

-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: Anyone using Tiled windows on Plasma out there ?

2020-07-16 Thread Sergio Belkin
El jue., 16 jul. 2020 a las 12:22, John Florian ()
escribió:

> In any case, the few hassles I encounter are so much less time demanding
> than all the window management I manually did before adopting
> kwin-tiling.  If I could only have "focus follows eyes", I'd be quite
> happy in the WM serving me rather than the other way around.  :-)
>
>
> John Florian
>

LoL
I have set "focus follows mouse"
Actually what I find most useful is an hybrid approach. I mean, tiled
windows, but sometimes I need to focus on only one windows and to maximize
it :)
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: Anyone using Tiled windows on Plasma out there ?

2020-07-14 Thread Sergio Belkin
El mar., 14 jul. 2020 a las 18:17, John Florian ()
escribió:

> On 2020-07-14 13:42, Sergio Belkin wrote:
>
> What is the better option to to get tiled windows in Plasma?
>
> I've tried a few kwin scripts with no luck, for example:
>
> - Grid-Tiling
> - Krohnkite
> - Tiling Extension
>
> The best I've tried so far is the last one, but can be too unstable...
>
> What is your experience about it?
> --
> --
> Sergio Belkin
> LPIC-2 Certified - http://www.lpi.org
>
>
> I'm using and mostly quite happy with
> https://github.com/kwin-scripts/kwin-tiling.  I didn't realize there were
> so many options, so if anyone has used kwin-tiling and any of the others,
> I'd be curious to hear opinions.
>

Yup, AFAIK  "Tiling Extension" is
https://github.com/kwin-scripts/kwin-tiling. In fact, I think is the best
option available, but it happens sometimes on non-weekend days that it
becomes buggy and unstable, and it's pain, kwin crashes, I have to use
openbox, to recover it the session control, but I think that is when I open
Thunderbird for my job...
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: Anyone using Tiled windows on Plasma out there ?

2020-07-14 Thread Sergio Belkin
El mar., 14 jul. 2020 a las 17:06, Robert-André Mauchin ()
escribió:

> On Tuesday, 14 July 2020 19:42:17 CEST Sergio Belkin wrote:
>
> I've never heard about Krohnkite, nor Tiling Extension? Where is it
> available?
>
>
> Krohnkite is available here  https://github.com/esjeon/krohnkite , well
it's funny I'm testing it again, and it behaves well so far. It would be
nice that kwin had full support for tiled windows :)


-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: Anyone using Tiled windows on Plasma out there ?

2020-07-14 Thread Sergio Belkin
El mar., 14 jul. 2020 a las 17:06, Robert-André Mauchin ()
escribió:

> On Tuesday, 14 July 2020 19:42:17 CEST Sergio Belkin wrote:
> > What is the better option to to get tiled windows in Plasma?
> >
> > I've tried a few kwin scripts with no luck, for example:
> >
> > - Grid-Tiling
> > - Krohnkite
> > - Tiling Extension
> >
> > The best I've tried so far is the last one, but can be too unstable...
> >
> > What is your experience about it?
>
> I use https://github.com/lingtjien/Grid-Tiling-Kwin I've got no issue
> with it
> except it doesn't work in Wayland.
>

I've tried with Grid-Tiling-Kwin, but the behavior it's bit weird or at
least I have to restart the session, I will do that and tell you if it gets
better.



-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Anyone using Tiled windows on Plasma out there ?

2020-07-14 Thread Sergio Belkin
What is the better option to to get tiled windows in Plasma?

I've tried a few kwin scripts with no luck, for example:

- Grid-Tiling
- Krohnkite
- Tiling Extension

The best I've tried so far is the last one, but can be too unstable...

What is your experience about it?
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: Enable EarlyOOM on Fedora KDE - Fedora 33 Self-Contained Change proposal

2020-07-11 Thread Sergio Belkin
El sáb., 11 jul. 2020 a las 16:39, Benjamin Berg ()
escribió:

> On Sat, 2020-07-11 at 14:31 -0300, Sergio Belkin wrote:
> > My only question is if measuring memory pressure is a better indication.
> > If nohang-desktop uses PSI, isn't it a more proper solution?
>
> The basic problem is that PSI can only be reactive. You need to measure
> it over a period of time and then react if matters have turned bad for
> long enough. Generally, I believe that you will be looking at reacting
> after 10-30s, which is already a really bad situation.
>
> Also, to do this properly, you may want to have different rules
> depending on which parts of the system (i.e. systemd unit or cgroup) is
> under memory pressure. This requires a few things:
>
>  1. A daemon to monitor cgroups
> (possibly nohang, but realistically you really want systemd-oomd)
>  2. A desktop that properly places everything into separate cgroups
>
> Both of these items are work-in-progress areas. It is going to happen,
> but we are not quite there yet (KDE is also working it).
>
>
> Back to the original claim. If PSI requires measuring the pressure over
> a period of time, then the reaction will only happen *after* the
> situation has turned bad. In general this is a *good* thing, you don't
> want to go into panic mode just because the system is sluggish for a
> bit. However, it is also *bad*, because the graphical user interface
> really should *not* freeze for 10-30s.
>
> This is where the uresourced proposal ("Reserve resources for active
> users") that I submitted earlier ties in. It approaches the problem
> from the other side, by protecting the core session processes from the
> effects of memory pressure[1]. It does so by guaranteeing a memory
> allocation of 250MiB to those important processes[2].
>
> By doing this, the UI should remain reasonable responsive even if the
> rest of the system is under huge memory pressure and is heavily
> thrashing.
>
>
> So, from my point of view the right thing here is to:
>
>  1. Go with a simple approach for now, because things are changing.
> EarlyOOM probably fits the bill here.
>  2. Also consider using uresourced, it is simple and should improve
> things a bit further.
> This only makes sense if KDE is already starting using systemd.
>  3. Move to a purely PSI based approach once systemd-oomd comes along.
>
> Benjamin
>
> [1] The KDE systemd startup work is fully compatible. Not sure if that
> is merged and usable in Fedora.
> [2] From a memory management point of view the kernel basically behaves
> as if those processes are using 250MiB less. Which means considerably
> less swapping and such for those processes.
> ___
> 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
>

Thanks Chris and Benjamin, I love this kind of constructive discussions :)
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: Enable EarlyOOM on Fedora KDE - Fedora 33 Self-Contained Change proposal

2020-07-11 Thread Sergio Belkin
>
> My suggestion is to stop the 'complaining for the sake of complaining'
> phase of the feature. And move to the "when I do X Y Z, this other app
> is killed off - how to tweak this?" And then does the tweak represent
> covering an edge case? Or is it good enough to be the new default?
>
>
 Nice, I'm all in favour of a proactive approach that makes the Linux
desktop more responsive.
AFAIK earlyoom uses free physical memory to send TERM/KILL signals. My only
question is if measuring memory pressure is a better indication.
If nohang-desktop uses PSI, isn't it a more proper solution?
___
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


Re: Enable EarlyOOM on Fedora KDE - Fedora 33 Self-Contained Change proposal

2020-07-09 Thread Sergio Belkin
> * Contingency mechanism: (What to do?  Who will do it?) Owner reverts
> changes
> * Contingency deadline: Final freeze
> * Blocks release? No
>
> == Documentation ==
> * {{code|man earlyoom}}
> * https://github.com/rfjakob/earlyoom
> * https://www.kernel.org/doc/gorman/html/understand/understand016.html
>
> == Release Notes ==
> The earlyoom service is now enabled by default in Fedora KDE.
>
> The earlyoom service monitors system memory usage. If free memory falls
> below a set limit, earlyoom terminates an appropriate process to free up
> memory. As a result, the system does not become unresponsive for long
> periods of time in low-memory situations.
>
> The following is the default earlyoom configuration:
>
> * If both RAM and swap go below 10% free, earlyoom sends the SIGTERM
> signal to the process with the largest oom_score.
> * If both RAM and swap go below 5% free, earlyoom sends the SIGKILL signal
> to the process with the largest oom_score.
>
> For more information, see the earlyoom man page.
>
> --
> Ben Cotton
> He / Him / His
> Senior Program Manager, Fedora & CentOS Stream
> Red Hat
> TZ=America/Indiana/Indianapolis
> _______
> 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
>

+1 This would be a genuine improvement for end users!
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: Fedora 33 System-Wide Change proposal: swap on zram

2020-07-06 Thread Sergio Belkin
El vie., 5 jun. 2020 a las 16:10, John M. Harris Jr ()
escribió:

> On Friday, June 5, 2020 12:03:03 PM MST Chris Murphy wrote:
> > On Fri, Jun 5, 2020 at 11:47 AM John M. Harris Jr 
> > wrote:
> > >
> > >
> > > On Thursday, June 4, 2020 11:54:37 PM MST Kevin Kofler wrote:
> >
> >
> >
> > > > Also -1 to adding something to the core system that is written in a
> > > > language for which we do not even have dynamic linking support. Or
> > > > even real static linking support, as opposed to packaging libraries
> as
> > > > source code.> >
> > > > Kevin Kofler
> > >
> > >
> > >
> > > Agreed. Besides, GNOME already has this enabled, right? It's definitely
> > > not right for servers, as I brought up the last time this was thrown
> > > around.
> >
> > In discussions with both cloud and server folks, their use cases often
> > do not even create disk-based swap at all. A small swap-on-zram
> > provides all the benefits of inactive anonymous page eviction,
> > including reducing reclaim of file pages, without the black hole
> > performance problems of swap-on-drive.
> >
> > So yes it's well suited for these cases and the proposal does include
> > them. If they wish to be left out, that's up to those working groups.
> > It's possible to make sure /etc/systemd/zram-generator is not present.
>
> That doesn't seem to reflect reality. If you download the Server image
> right
> now, and go with its automatic partitioning scheme generation, it'll give
> you
> a swap partition on LVM. This is correct for most servers, not necessarily
> the
> LVM part, but having swap on disk.
>
> It really seems like this is wrong for most of Fedora, but that individual
> parts, such as Fedora GNOME or IoT, should be left to make the decision
> for
> themselves, without affecting the rest.
>
> --
> John M. Harris, Jr.
>
> ___
> 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
>


At
https://fedoraproject.org/wiki/Changes/SwapOnZRAM#Why_systemd_zram-generator.3F
it says:

"Do not create swap partition/LV with default installations."
I don't understand if it is a description or a prescription :)I mean, can
coexist swap partition/LV and zram?

Thanks in advance!


-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: Is allowed in certain cases to override default Fedora compiler flags?

2020-07-02 Thread Sergio Belkin
El jue., 2 jul. 2020 a las 13:30, Vitaly Zaitsev via devel (<
devel@lists.fedoraproject.org>) escribió:

> On 01.07.2020 22:47, Sergio Belkin wrote:
> > So the question is: in this case I can override the Fedora compiler
> flags?
>
> Don't do this, please. You should fix such potentially vulnerable parts
> of code and send your patch to upstream.
>
> --
> Sincerely,
>   Vitaly Zaitsev (vit...@easycoding.org)
> ___
> 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
>

Thanks everyone, I guess the same thing goes for:

warning: ignoring return value of 'ssize_t write(int, const void*, size_t)'
declared with attribute 'warn_unused_result'

(The line in the source code  is if(upLogPerror) ::write(2,logbuf,n); \  )

doesn't it?




-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Is allowed in certain cases to override default Fedora compiler flags?

2020-07-01 Thread Sergio Belkin
Hi,

I'm trying to build a package for resubmission. However it fails with
messages like that

In file included from ./include/UpTools/UpLog.h:77,
 from UpLog.cc:46:
UpLog.cc: In function 'void upOpenLogFileInternal(const char*, int, const
char*, int, int (*)(char*))':
./include/UpTools/UpLog.inl:63:30: error: format not a string literal and
no format arguments [-Werror=format-security]
   63 |syslog(level, __VA_ARGS__ ); \
  |  ^

End of message

The line in the code is:

n += snprintf(logbuf+n,MAXLOGLINE-1-n, __VA_ARGS__ ); \

And also this warning:

UpLog.cc: In function 'void upOpenLogInternal(const char*, int, int, int)':
./include/UpTools/UpLog.inl:69:11: warning: ignoring return value of
'ssize_t write(int, const void*, size_t)' declared with attribute
'warn_unused_result' [-Wunused-result]
   69 |::write(upLogFd,logbuf,n); \
  |~~~^~
./include/UpTools/UpLog.h:115:26: note: in expansion of macro '_UPLOG_'
  115 | #define UPLOG(level,...) _UPLOG_(level, __VA_ARGS__ )

End of message

The line in the code is :

 if(upLogPerror) ::write(2,logbuf,n); \

Regarding to " format not a string literal and no format arguments
[-Werror=format-security]" message.
Afaik instructions of kind printf(format,var1,var2,...) always be fail,
since it can't verify in compile time  that the format includes the number
of variables that appears later.

If the developer does not use entered formats by the user, the exploit
disappear, doesn't it?

So the question is: in this case I can override the Fedora compiler flags?

Thanks in advance!
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: Fedora 33 System-Wide Change proposal: Make nano the default editor

2020-06-26 Thread Sergio Belkin
El vie., 26 jun. 2020 a las 9:29, Jonathan Wakely (<
jwak...@fedoraproject.org>) escribió:

> On 26/06/20 09:22 -0300, Sergio Belkin wrote:
> >Really do we believe that setting nano as a default editor will attract
> new
> >users to Linux? How many end users in last years use Debian because of the
> >default editor change? A newbie generally does know nothing about vi/vim,
> >cron, git, etc...
>
> The proposal doesn't say it will *attract* new users.
>

Yes, you'right . The problem is not the proposal itself but the "arguments"
of their supporters :)

-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: Fedora 33 System-Wide Change proposal: Make nano the default editor

2020-06-26 Thread Sergio Belkin
>
> Why would $EDITOR even matter if they're not using the terminal?
> ___
> 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
>


I agree with you. And it's funny because people that support the use of
nano over vi/vim say "don't talk about personal beliefs" and come to talk
about meme's and how vim is hard to our grandmothers :)

Really do we believe that setting nano as a default editor will attract new
users to Linux? How many end users in last years use Debian because of the
default editor change? A newbie generally does know nothing about vi/vim,
cron, git, etc...
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: Fedora 33 System-Wide Change proposal: Make nano the default editor

2020-06-26 Thread Sergio Belkin
> That's been there for years, so I think the "stuck in vim" meme is
> outdated.
>
>
I agree is a funny meme, but even unreal. Sift+zz is not hard that Ctrl-o.
Perhaps vim  needs a footer such as nano :)
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: Fedora 33 System-Wide Change proposal: Make nano the default editor

2020-06-26 Thread Sergio Belkin
El vie., 26 jun. 2020 a las 8:10, Ankur Sinha ()
escribió:

> On Thu, Jun 25, 2020 23:38:13 +0200, Jan Kratochvil wrote:
> > On Thu, 25 Jun 2020 21:21:37 +0200, Chris Adams wrote:
> > > I'm not sure why you think end-users can't use a free OS.
> >
> > First steps of end-users is to install Chrome, Spotify and VirtualBox.
> > So there is left no advantage of a Free OS.
>
> That's anecdotal generalisation at best. I know enough people to
> disprove this statement using my set of anecdotal evidence---and it
> won't get us any where.
>
> We are a FOSS community and we will keep promoting FOSS as much as
> we can. It is our First Foundation:
> https://docs.fedoraproject.org/en-US/project/
>
> So, let's keep the discussion on topic: about the default editor.
>
> --
> Thanks,
> Regards,
> Ankur Sinha "FranciscoD" (He / Him / His) |
> https://fedoraproject.org/wiki/User:Ankursinha
> Time zone: Europe/London
> ___
> 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
>

Again, I'm not against the proposal, but I would prefer a better and sane
discussion.
Honestly most end users dislike the CLI.
However I understand that discussion is not about "what is my preferred
editor?".
I understand that discussion is "if by chance an end user has to use CLI,
he/she will not know what/how to do with vim".
In such a case nano is easier (regardless that the argument about how hard
is quitting vim is exaggerated, Ctrl+o is not easier that ZZ).
A better for a newcomer that faces cli would be something like mcedit, but
sadly it is not a standalone editor.
But please, again, most end users prefer to use a gui editor. Is not about
that a newcomer has to know **what** is KWrite/Kate/Gedit/etc, it's about
that choices are of easy access through KDE/GNOME/MATE/XFce/etc graphical
environments.


-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: Fedora 33 System-Wide Change proposal: Make nano the default editor

2020-06-25 Thread Sergio Belkin
El jue., 25 jun. 2020 a las 21:45, Qiyu Yan ()
escribió:

> What about to provide a prompt to the user telling them the difference
> between editors?
> For example, when a new user to fedora first invokes git commit
> without $EDITOR set, a program named fedora-default-editor comes up
> and asks: Which editor do you like?
> User can do his or hers choice and the choice will be remembered by
> setting $EDITOR in his or hers ~/.bashrc
>
> The fedora-default-editor can be a small script that shows user all
> the difference and set $EDITOR for the user.
> ___
> 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
>

Well, I strongy disagree whit this move.
In fact on of the things that I hate of Debian/Ubuntu is the choice of nano
and the poor version that they offer by default of vi.
More friendly for end-users? Really?
Please thinking so, the end-user use GUI's. Nano has no any significative
advantage over vi and even lesser over vim. What's the wrong with vim?
Really I don't understand.
If one end-user wants to use a text editor, he will find kate, gedit and
the like better options. If you don't like a modal editor, propose a better
option not a mediocre one. For example, micro is a non-modal editor but
more powerful that nano.
If has no real benefit, please could you reconsider it and let the
community give his voice?
Thanks in advance.
SB
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


About insert again a package

2020-05-23 Thread Sergio Belkin
Hi!
I am package maintainer of UpTools:
https://koji.fedoraproject.org/koji/packageinfo?packageID=11676

Some years ago I lost contact with upstream so could not maintain in a
proper way, so AFAIK the package was retired, . I recovered contact with
upstream.
I would like to add it again to Fedora, what steps should I take? Is as
with new package? Or is as in an update? Please could you help me to do it?

Thanks in advance...
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Difference between pungi and livemedia-creator

2019-07-14 Thread Sergio Belkin
Hi,
I was using livemedia-creator but I'd want to understand well what's the
differences between both pungi and livemedia-creator.

Thanks in advance
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Preferred way of creating a Fedora Spin

2019-06-20 Thread Sergio Belkin
Hi folks,
How is the best way to create a custom spin of fedora nowadays? Is
https://fedoraproject.org/wiki/Livemedia-creator-_How_to_create_and_use_a_Live_CD
the right way?

Thanks in advance!
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
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


Re: keyboard is partially honored in kickstart

2016-10-18 Thread Sergio Belkin
2016-10-12 10:54 GMT-03:00 Sergio Belkin :

> Hi,
>
> I'm trying to remasterize a Fedora Spin, but keyboard options is not
> working.
>
> I've configured as follows:
>
> keyboard --vckeymap=latam --xlayouts='latam'
>
>
> The option " --vckeymap=latam" works fine. But --xlayouts='latam' is
> ignored.
>
> If I boot from LiveCD, in Xorg I get:
>
> setxkbmap -query
> rules:  evdev
> model:  pc105
> layout: us
>
> Any ideas?
>
> You may take a look at kickstart file here:
>
> http://pastebin.com/vuQjXqi2
>
> Thanks in advance!
>
>
Sorry for insist on it...

Is just me? or is a bug?

Only way I've found is adding in ks file:

echo "setxkbmap latam" >> /home/liveuser/.bashrc

Thanks in advance!

> --
> --
> Sergio Belkin
> LPIC-2 Certified - http://www.lpi.org
>



-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


keyboard is partially honored in kickstart

2016-10-12 Thread Sergio Belkin
Hi,

I'm trying to remasterize a Fedora Spin, but keyboard options is not
working.

I've configured as follows:

keyboard --vckeymap=latam --xlayouts='latam'


The option " --vckeymap=latam" works fine. But --xlayouts='latam' is
ignored.

If I boot from LiveCD, in Xorg I get:

setxkbmap -query
rules:  evdev
model:  pc105
layout: us

Any ideas?

You may take a look at kickstart file here:

http://pastebin.com/vuQjXqi2

Thanks in advance!

-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Cannot build live iso using livemedia-creator

2016-10-12 Thread Sergio Belkin
Thanks, by now I will go back to livecd-creator!

Greetings

2016-09-30 21:19 GMT-03:00 Brian C. Lane :

> Looks like this is similar to
> https://bugzilla.redhat.com/show_bug.cgi?id=1245960
>
> and probably depends on something unique in your environment. As adam
> said, running it inside a mock is safer, or if you have libvirt setup
> you could use that with a f24 boot.iso to further isolate things.
>
> --
> Brian C. Lane (PST8PDT)
> ___
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
>



-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Cannot build live iso using livemedia-creator

2016-09-30 Thread Sergio Belkin
2016-09-30 19:04 GMT-03:00 Adam Williamson :

> On Fri, 2016-09-30 at 23:53 +0200, Kevin Kofler wrote:
> > Sergio Belkin wrote:
> > > You can take a look at http://pastebin.com/U3RPX0qK (Anaconda log)
> >
> >
> > Here's your error:
> >
> > >  File "/usr/lib64/python3.5/site-packages/pyanaconda/nm.py", line
> 762, in
> >
> > nm_device_setting_value
> > >raise SettingsNotFoundError(name)
> > >
> > > pyanaconda.nm.SettingsNotFoundError: SettingsNotFoundError('
> vboxnet0',)
>
> ...which looks like you used a kickstart intended for installing to
> VirtualBox or something. The live media kickstarts are kind of a
> specific layout and it's really best to start from one of the official
> kickstarts when building a live image, rather than starting from a
> typical system installation kickstart.
> --
> Adam Williamson
> Fedora QA Community Monkey
> IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
> http://www.happyassassin.net
> ___
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
>


I've taken the example from Fedora Wiki and made litlle customizations:

http://pastebin.com/MWDczEis


VirtualBox was opened at moment of running lmc, but then I even closed and
the errors persisted...

Any ideas?

Thanks in advance!

-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Cannot build live iso using livemedia-creator

2016-09-30 Thread Sergio Belkin
Hi Adam,

Thanks for your clarifications

You can take a look at http://pastebin.com/U3RPX0qK (Anaconda log)

Meanwhile I will use system-config-kickstart

Greetings



2016-09-29 19:13 GMT-03:00 Adam Williamson :

> On Thu, 2016-09-29 at 15:08 -0700, Adam Williamson wrote:
> >
> > That error means the anaconda install failed. The way livemedia_creator
> > works is that it actually runs an anaconda install using the kickstart
> > specified - using its 'install to a directory' method if you pass --no-
> > virt, otherwise in a VM - then creates an image file from the resulting
> > installation.
>
> ...well, okay, that's a lie. It actually creates the image file, then
> either attaches it to a VM and runs the install in the VM (virt mode)
> or mounts it and runs an anaconda directory install into the mounted
> path (novirt mode), so either way, the image now contains an installed
> system. Once anaconda is done it twiddles about a bit more with the
> image.
> --
> Adam Williamson
> Fedora QA Community Monkey
> IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
> http://www.happyassassin.net
> ___
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
>



-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Cannot build live iso using livemedia-creator

2016-09-29 Thread Sergio Belkin
Hi,

I've tried to create a Live ISO using livemedia-creator, and followed the
steps from
https://fedoraproject.org/wiki/Livemedia-creator-_How_to_create_and_use_a_Live_CD
.

But I cannot do it, these is the errors:

sudo livemedia-creator --ks
/home/sergio/Descargas/Pagure/flat-fedora-live-base.ks --no-virt
--resultdir /home/lmc  --project Fedora-Rescate-Silicon --make-iso --volid
Fedora24-Rescate-Silicon --iso-only --iso-name F24-R-R-Silicon.iso
/usr/lib64/python3.5/optparse.py:999: PendingDeprecationWarning: The
KSOption class is deprecated and will be removed in pykickstart-3.  Use the
argparse module instead.
  option = self.option_class(*args, **kwargs)
2016-09-29 15:23:19,900: disk_img = /home/lmc/lmc-disk-flpdk287.img
2016-09-29 15:23:19,901: Using disk size of 5122MiB
2016-09-29 15:23:22,380: Running anaconda.
2016-09-29 15:23:24,103: Processing logs from ('127.0.0.1', 51634)
2016-09-29 15:23:27,388: The 'logging' function is not a part of DNF API
and will be removed in the upcoming DNF release. Please use only officially
supported API functions. DNF API documentation is available at
https://dnf.readthedocs.org/en/latest/api.html.
2016-09-29 15:23:27,388: Starting installer, one moment...
2016-09-29 15:23:27,389: terminal size detection failed, using default width
2016-09-29 15:23:27,389: anaconda 24.13.7-1 for Fedora-Rescate-Silicon 24
(pre-release) started.
2016-09-29 15:23:27,389: The 'logging' function is not a part of DNF API
and will be removed in the upcoming DNF release. Please use only officially
supported API functions. DNF API documentation is available at
https://dnf.readthedocs.org/en/latest/api.html.
2016-09-29 15:23:29,478: Running anaconda failed: process '['anaconda',
'--kickstart', '/home/sergio/Descargas/Pagure/flat-fedora-live-base.ks',
'--cmdline', '--dirinstall', '--remotelog', '127.0.0.1:46181']' exited with
status 1
2016-09-29 15:23:29,478: Shutting down log processing
2016-09-29 15:23:29,650: Install failed: novirt_install failed
2016-09-29 15:23:29,652: Removing bad disk image
2016-09-29 15:23:29,684: ERROR: Image creation failed: novirt_install failed

Am I doing something wrong?

system info:

[root@hope sergio]# uname -a ; rpm -qa | egrep 'kickstart|lorax'
Linux hope.belkin.home 4.7.3-200.fc24.x86_64 #1 SMP Wed Sep 7 17:31:21 UTC
2016 x86_64 x86_64 x86_64 GNU/Linux
lorax-templates-generic-24.20-1.fc24.x86_64
fedora-kickstarts-0.24.6-1.fc24.noarch
python3-kickstart-2.25-4.fc24.noarch
spin-kickstarts-0.24.6-1.fc24.noarch
lorax-24.20-1.fc24.x86_64
pykickstart-2.25-4.fc24.noarch
custom-kickstarts-0.24.6-1.fc24.noarch
[root@hope sergio]# cat /etc/redhat-release
Fedora release 24 (Twenty Four)



Thanks in advance!

-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Cannot install Fedora 23 from iso file

2015-11-21 Thread Sergio Belkin
Well,

I think that I've found the solution: the problem was that iso fiile was in
the very root partition, because of that, Liveinst refused to unmount it.
I've verified moving iso file to another partition and this error went away.

HTH

2015-11-21 15:53 GMT-03:00 Sergio Belkin :

> Hi,
>
> I have the following options in "/etc/grub.d/40_custom":
>
> #!/bin/sh
> exec tail -n +3 $0
> # This file provides an easy way to add custom menu entries.  Simply type
> the
> # menu entries you want to add after this comment.  Be careful not to
> change
> # the 'exec tail' line above.
>
> menuentry 'Live Fedora 23' --class fedora {
>   set isofile=/boot/Fedora-Live-KDE-x86_64-23-10.iso
>   loopback loop (hd1,gpt3)$isofile
>   linuxefi (loop)/isolinux/vmlinuz0 iso-scan/filename=${isofile}
> root=live:CDLABEL=Fedora-Live-KDE-x86_64-23-10 rootfstype=auto ro
> rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0
>   initrdefi (loop)/isolinux/initrd0.img
> }
>
> It boots fine, but I cannot install it says:
>
> "blivet.errors.DeviceError: ('cannot replace active format', 'sdb3')   "
>
> /dev/sdb3 es my current rootfs
>
> I've reported the bug https://bugzilla.redhat.com/show_bug.cgi?id=1284187
>
> In the mean time, please could you tell me that if a grub2
> misconfiguration in 40_custom file?
>
> Thanks in advance!
>
>
>
>
> --
> --
> Sergio Belkin
> LPIC-2 Certified - http://www.lpi.org
>



-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Cannot install Fedora 23 from iso file

2015-11-21 Thread Sergio Belkin
Hi,

I have the following options in "/etc/grub.d/40_custom":

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type
the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

menuentry 'Live Fedora 23' --class fedora {
  set isofile=/boot/Fedora-Live-KDE-x86_64-23-10.iso
  loopback loop (hd1,gpt3)$isofile
  linuxefi (loop)/isolinux/vmlinuz0 iso-scan/filename=${isofile}
root=live:CDLABEL=Fedora-Live-KDE-x86_64-23-10 rootfstype=auto ro
rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0
  initrdefi (loop)/isolinux/initrd0.img
}

It boots fine, but I cannot install it says:

"blivet.errors.DeviceError: ('cannot replace active format', 'sdb3')   "

/dev/sdb3 es my current rootfs

I've reported the bug https://bugzilla.redhat.com/show_bug.cgi?id=1284187

In the mean time, please could you tell me that if a grub2 misconfiguration
in 40_custom file?

Thanks in advance!




-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Problem with bluetooth in Fedora 22

2015-07-10 Thread Sergio Belkin
I've finally get connected using bluedevil in KDE.

I don't know exactly how this was happened... anyway error messages persist:

journalctl -f

jul 10 09:30:10 newhope.belkin.home obexd[1859]: CONNECT(0x0),
(null)(0x)
jul 10 09:30:10 newhope.belkin.home obexd[1859]: CONNECT(0x0), (null)(0x0)
jul 10 09:30:11 newhope.belkin.home obexd[1859]: PUT(0x2),
(null)(0x)
jul 10 09:30:14 newhope.belkin.home obexd[1859]: PUT(0x2), CONTINUE(0x10)
jul 10 09:30:23 newhope.belkin.home obexd[1859]: DISCONNECT(0x1),
(null)(0x)
jul 10 09:30:23 newhope.belkin.home obexd[1859]: DISCONNECT(0x1),
SUCCESS(0x20)
jul 10 09:30:23 newhope.belkin.home obexd[1859]: disconnected: Transport
got disconnected
jul 10 09:30:23 newhope.belkin.home bluetoothd[738]: Unable to get io data
for Object Push: getpeername: Transport endpoint is not connected (107)

systemctl status bluetooth
● bluetooth.service - Bluetooth service
   Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled;
vendor preset: enabled)
   Active: active (running) since vie 2015-07-10 09:14:49 ART; 16min ago
 Docs: man:bluetoothd(8)
 Main PID: 738 (bluetoothd)
   Status: "Running"
   CGroup: /system.slice/bluetooth.service
   └─738 /usr/libexec/bluetooth/bluetoothd

jul 10 09:14:49 newhope.belkin.home systemd[1]: Starting Bluetooth
service...
jul 10 09:14:49 newhope.belkin.home bluetoothd[738]: Bluetooth daemon 5.29
jul 10 09:14:49 newhope.belkin.home systemd[1]: Started Bluetooth service.
jul 10 09:14:49 newhope.belkin.home bluetoothd[738]: Starting SDP server
jul 10 09:14:49 newhope.belkin.home bluetoothd[738]: Bluetooth management
interface 1.8 initialized
jul 10 09:14:49 newhope.belkin.home bluetoothd[738]: Failed to obtain
handles for "Service Changed" characteristic
jul 10 09:15:14 newhope.belkin.home bluetoothd[738]: Endpoint registered:
sender=:1.36 path=/MediaEndpoint/A2DPSource
jul 10 09:15:14 newhope.belkin.home bluetoothd[738]: Endpoint registered:
sender=:1.36 path=/MediaEndpoint/A2DPSink
jul 10 09:30:23 newhope.belkin.home bluetoothd[738]: Unable to get io data
for Object Push: getpeername: Transport ...107)
Hint: Some lines were ellipsized, use -l to show in full.

Your comments will be appreaciated!

2015-07-10 9:20 GMT-03:00 Sergio Belkin :

> Hi community,
>
>
> Bluetooth does not work in Fedora 22:
>
> [root@newhope sergio]# systemctl status bluetooth
> ● bluetooth.service - Bluetooth service
>Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled;
> vendor preset: enabled)
>Active: active (running) since vie 2015-07-10 09:14:49 ART; 1min 9s ago
>  Docs: man:bluetoothd(8)
>  Main PID: 738 (bluetoothd)
>Status: "Running"
>CGroup: /system.slice/bluetooth.service
>└─738 /usr/libexec/bluetooth/bluetoothd
>
> jul 10 09:14:49 newhope.belkin.home systemd[1]: Starting Bluetooth
> service...
> jul 10 09:14:49 newhope.belkin.home bluetoothd[738]: Bluetooth daemon 5.29
> jul 10 09:14:49 newhope.belkin.home systemd[1]: Started Bluetooth service.
> jul 10 09:14:49 newhope.belkin.home bluetoothd[738]: Starting SDP server
> jul 10 09:14:49 newhope.belkin.home bluetoothd[738]: Bluetooth management
> interface 1.8 initialized
> jul 10 09:14:49 newhope.belkin.home bluetoothd[738]: Failed to obtain
> handles for "Service Changed" characteristic
> jul 10 09:15:14 newhope.belkin.home bluetoothd[738]: Endpoint registered:
> sender=:1.36 path=/MediaEndpoint/A2DPSource
> jul 10 09:15:14 newhope.belkin.home bluetoothd[738]: Endpoint registered:
> sender=:1.36 path=/MediaEndpoint/A2DPSink
>
> [root@newhope sergio]# rfkill
> list
>
> 0: hci0:
> Bluetooth
>
> Soft blocked:
> no
>
> Hard blocked:
> no
>
> 1: phy0: Wireless LAN
> Soft blocked: no
> Hard blocked: no
>
> [root@newhope sergio]# hciconfig
> hci0:   Type: BR/EDR  Bus: USB
> BD Address: 0C:84:DC:02:4D:40  ACL MTU: 1022:8  SCO MTU: 183:5
>     UP RUNNING PSCAN ISCAN
> RX bytes:1262 acl:0 sco:0 events:79 errors:0
> TX bytes:3290 acl:0 sco:0 commands:79 errors:0
>
>
> Any idea?
>
> Thanks in advance!
>
> --
> --
> Sergio Belkin
> LPIC-2 Certified - http://www.lpi.org
>



-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Problem with bluetooth in Fedora 22

2015-07-10 Thread Sergio Belkin
Hi community,


Bluetooth does not work in Fedora 22:

[root@newhope sergio]# systemctl status bluetooth
● bluetooth.service - Bluetooth service
   Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled;
vendor preset: enabled)
   Active: active (running) since vie 2015-07-10 09:14:49 ART; 1min 9s ago
 Docs: man:bluetoothd(8)
 Main PID: 738 (bluetoothd)
   Status: "Running"
   CGroup: /system.slice/bluetooth.service
   └─738 /usr/libexec/bluetooth/bluetoothd

jul 10 09:14:49 newhope.belkin.home systemd[1]: Starting Bluetooth
service...
jul 10 09:14:49 newhope.belkin.home bluetoothd[738]: Bluetooth daemon 5.29
jul 10 09:14:49 newhope.belkin.home systemd[1]: Started Bluetooth service.
jul 10 09:14:49 newhope.belkin.home bluetoothd[738]: Starting SDP server
jul 10 09:14:49 newhope.belkin.home bluetoothd[738]: Bluetooth management
interface 1.8 initialized
jul 10 09:14:49 newhope.belkin.home bluetoothd[738]: Failed to obtain
handles for "Service Changed" characteristic
jul 10 09:15:14 newhope.belkin.home bluetoothd[738]: Endpoint registered:
sender=:1.36 path=/MediaEndpoint/A2DPSource
jul 10 09:15:14 newhope.belkin.home bluetoothd[738]: Endpoint registered:
sender=:1.36 path=/MediaEndpoint/A2DPSink

[root@newhope sergio]# rfkill
list

0: hci0:
Bluetooth

Soft blocked:
no

Hard blocked:
no

1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no

[root@newhope sergio]# hciconfig
hci0:   Type: BR/EDR  Bus: USB
BD Address: 0C:84:DC:02:4D:40  ACL MTU: 1022:8  SCO MTU: 183:5
UP RUNNING PSCAN ISCAN
RX bytes:1262 acl:0 sco:0 events:79 errors:0
TX bytes:3290 acl:0 sco:0 commands:79 errors:0


Any idea?

Thanks in advance!

-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Intel driver pain

2015-06-16 Thread Sergio Belkin
2015-06-16 11:30 GMT-03:00 Reindl Harald :

>
>
> Am 16.06.2015 um 16:14 schrieb Sergio Belkin:
>
>> Well,
>>
>> I was not crazy:
>>
>>
>> http://fedoramagazine.org/solution-graphics-issues-intel-graphics-chipsets-fedora-22/
>>
>
> well, you did not mention your hardware nor any issues
> you just showed some log warnings
>


Yes, you're right I tought that it was an issue for every graphic Intel
chipset, but this issue involve only old Intel video cards...

Anyway the problem with Intel driver does exist, and it's great that it was
detected and fixed...


>
>  2015-05-29 7:57 GMT-03:00 kendell clark > <mailto:coffeekin...@gmail.com>>:
>>
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA512
>>
>> hi
>> Well, I don't know about the OP, but for me there are no symptoms. I
>> just get the error at every startup, but the system functions normally
>> Thanks
>> Kendell clark
>>
>>
>> drago01 wrote:
>> > On Fri, May 29, 2015 at 12:13 PM, Sergio Belkin > <mailto:seb...@gmail.com>>
>> > wrote:
>> >> Hi,
>> >>
>> >> Could you tell me if anyone else is having this kind of issues:
>> >>
>> >> [vie may 29 07:01:22 2015] [drm] Initialized drm 1.1.0 20060810
>> >> [vie may 29 07:01:22 2015] [drm] Memory usable by graphics device
>> >> = 2048M [vie may 29 07:01:22 2015] fb: switching to inteldrmfb
>> >> from EFI VGA [vie may 29 07:01:22 2015] [drm] Replacing VGA
>> >> console driver [vie may 29 07:01:22 2015] [drm] Supports vblank
>> >> timestamp caching Rev 2 (21.10.2013). [vie may 29 07:01:22 2015]
>> >> [drm] Driver supports precise vblank timestamp query. [vie may 29
>> >> 07:01:22 2015] [drm] Initialized i915 1.6.0 20150130 for
>> >> :00:02.0 on minor 0 [vie may 29 07:01:22 2015] fbcon:
>> >> inteldrmfb (fb0) is primary device [vie may 29 07:01:22 2015]
>> >> [drm:intel_set_pch_fifo_underrun_reporting [i915]] *ERROR*
>> >> uncleared pch fifo underrun on pch transcoder A [vie may 29
>> >> 07:01:22 2015] [drm:intel_pch_fifo_underrun_irq_handler [i915]]
>> >> *ERROR* PCH transcoder A FIFO underrun [vie may 29 07:01:23 2015]
>> >> i915 :00:02.0: fb0: inteldrmfb frame buffer device
>> >
>> > What exactly is your problem? What are the symptoms? Also bugzilla
>> > is a better place for those kind of things
>>
>
>
> --
> devel mailing list
> devel@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
>



-- 
--
Sergio Belkin  http://www.sergiobelkin.com
LPIC-2 Certified - http://www.lpi.org
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Intel driver pain

2015-06-16 Thread Sergio Belkin
Well,

I was not crazy:

http://fedoramagazine.org/solution-graphics-issues-intel-graphics-chipsets-fedora-22/

HTH

2015-05-29 7:57 GMT-03:00 kendell clark :

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
>
> hi
> Well, I don't know about the OP, but for me there are no symptoms. I
> just get the error at every startup, but the system functions normally
> Thanks
> Kendell clark
>
>
> drago01 wrote:
> > On Fri, May 29, 2015 at 12:13 PM, Sergio Belkin 
> > wrote:
> >> Hi,
> >>
> >> Could you tell me if anyone else is having this kind of issues:
> >>
> >> [vie may 29 07:01:22 2015] [drm] Initialized drm 1.1.0 20060810
> >> [vie may 29 07:01:22 2015] [drm] Memory usable by graphics device
> >> = 2048M [vie may 29 07:01:22 2015] fb: switching to inteldrmfb
> >> from EFI VGA [vie may 29 07:01:22 2015] [drm] Replacing VGA
> >> console driver [vie may 29 07:01:22 2015] [drm] Supports vblank
> >> timestamp caching Rev 2 (21.10.2013). [vie may 29 07:01:22 2015]
> >> [drm] Driver supports precise vblank timestamp query. [vie may 29
> >> 07:01:22 2015] [drm] Initialized i915 1.6.0 20150130 for
> >> :00:02.0 on minor 0 [vie may 29 07:01:22 2015] fbcon:
> >> inteldrmfb (fb0) is primary device [vie may 29 07:01:22 2015]
> >> [drm:intel_set_pch_fifo_underrun_reporting [i915]] *ERROR*
> >> uncleared pch fifo underrun on pch transcoder A [vie may 29
> >> 07:01:22 2015] [drm:intel_pch_fifo_underrun_irq_handler [i915]]
> >> *ERROR* PCH transcoder A FIFO underrun [vie may 29 07:01:23 2015]
> >> i915 :00:02.0: fb0: inteldrmfb frame buffer device
> >
> > What exactly is your problem? What are the symptoms? Also bugzilla
> > is a better place for those kind of things.
> >
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2
>
> iQIcBAEBCgAGBQJVaEYcAAoJEGYgJ5/kqBTdyT0QAIE+8Xl2t3k4v/FREgej7YGQ
> k/Kc0qHU+PvDChJCuTETsvChOeHRgHifZtk2Yqev2ZURe3g1A2XU5YxcnjOb2ckO
> 3NEI9Z5+4QcKD0TxTsCxmlP6EBnKrNFEq8VfNPltzVhMqAB0CsfSMDRXVoD6KdhB
> sq3XkaPOqE/0MbVUVoIyAvXL+S1bgx0ExxkVC8DLc4oxbovdn6//BB+OLF3oBcj6
> elZ2hM8Aw/PcNT66Mv/5kRm7OYqC9MXTsN860s78eva3lCHzmMMrh/tFzRybU3a0
> Fpra7oOiare65rRwIxB09WiGv+Akg3u3sCyGdHG9KDHm4epVUrc+7eWz5cY5EZbc
> 88FLK14Z2mNyfaq7WpxOeaEN9gjaCDwCp2Bn8Aa9dVSh/Uvp0mIG3aFQkEIvgwst
> eOLI/ZHKUCKSonIp90v1cVnVORpYDeldhwU+OKr2GxKhD2UzoQxfAF4RD4/wJ98F
> 39a1lBNcrfHVEkao4e4lm3DR3RDPI2Hi0eTwsT12Fbx2jAub9wB09AFbVG9x5R+I
> ya0V6UZvVt1Q52a0TI8v1q9CZS24EsPdkQ+CZG0mh19Oyc7KjAj8BihlKoDnI+yb
> Qd+7zS3CTFfPQ3ZcbrrgqYiBoM2y7DCLCEyVSmhmQEJINzzeFMHziRpwcJzQYZ6Q
> /xJreevltz3I3bafY3nr
> =n0Pa
> -END PGP SIGNATURE-
> --
> devel mailing list
> devel@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
>



-- 
--
Sergio Belkin  http://www.sergiobelkin.com
LPIC-2 Certified - http://www.lpi.org
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Intel driver pain

2015-05-29 Thread Sergio Belkin
Hi,

Could you tell me if anyone else is having this kind of issues:

[vie may 29 07:01:22 2015] [drm] Initialized drm 1.1.0 20060810
[vie may 29 07:01:22 2015] [drm] Memory usable by graphics device = 2048M
[vie may 29 07:01:22 2015] fb: switching to inteldrmfb from EFI VGA
[vie may 29 07:01:22 2015] [drm] Replacing VGA console driver
[vie may 29 07:01:22 2015] [drm] Supports vblank timestamp caching Rev 2
(21.10.2013).
[vie may 29 07:01:22 2015] [drm] Driver supports precise vblank timestamp
query.
[vie may 29 07:01:22 2015] [drm] Initialized i915 1.6.0 20150130 for
:00:02.0 on minor 0
[vie may 29 07:01:22 2015] fbcon: inteldrmfb (fb0) is primary device
[vie may 29 07:01:22 2015] [drm:intel_set_pch_fifo_underrun_reporting
[i915]] *ERROR* uncleared pch fifo underrun on pch transcoder A
[vie may 29 07:01:22 2015] [drm:intel_pch_fifo_underrun_irq_handler [i915]]
*ERROR* PCH transcoder A FIFO underrun
[vie may 29 07:01:23 2015] i915 :00:02.0: fb0: inteldrmfb frame buffer
device


Thanks in advance

-- 
--
Sergio Belkin  http://www.sergiobelkin.com
LPIC-2 Certified - http://www.lpi.org
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Fedora 22 Dispplay with stripes

2015-05-28 Thread Sergio Belkin
2015-05-27 13:16 GMT-03:00 Ralf Corsepius :

> On 05/27/2015 05:27 PM, Sergio Belkin wrote:
>
>  Video card:
>>>>>
>>>>> Slot:   00:02.0
>>>>> Class:  VGA compatible controller
>>>>> Vendor: Intel Corporation
>>>>> Device: 82945G/GZ Integrated Graphics Controller
>>>>> SVendor:Elitegroup Computer Systems
>>>>> SDevice:Device 1b76
>>>>> Rev:02
>>>>> Driver: i915
>>>>> Module: i915
>>>>>
>>>>>
>>>>>  What did you use to get this list?  It's different than the lspci
>>>> output.  lspci identifies mine as:
>>>> Intel Corporation 82865G Integrated Graphics Controller (rev 02)
>>>>
>>>
>>>
>>>
>>> lspci -v -mm -k ;) Nice, isn't it?
>>>
>>> It's a bit weird I've reenabled the composite in KDE and problem it went
>>> away...
>>>
>>>
>>>>
>> Hi,
>>
>> any news, ideas, with about this topic, driver is working terrible, I
>> thought that was a KDE issue, but in MATE it happens either...
>>
>
> Today, a similar issue happened to me with the Fedora installer, when
> installing F22 on my old netbook.
>
> When the installation started, initially a couple of horizontal strips
> appeared, which gradually accumulated until the display was entirely
> unreadable and distorted.
>
> Video card:
> Slot:   00:02.0
> Class:  VGA compatible controller
> Vendor: Intel Corporation
> Device: Mobile 945GSE Express Integrated Graphics Controller
> SVendor:Micro-Star International Co., Ltd. [MSI]
> SDevice:Device 0110
> Rev:03
> Driver: i915
> Module: i915
>
> Ralf
>
>
I've managed for reduce failures appending the kernel parameter
i915.enable_ips=0, but it didn't disappear completely, but at least, I can
work using this graphic card.



-- 
--
Sergio Belkin  http://www.sergiobelkin.com
LPIC-2 Certified - http://www.lpi.org
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Fedora 22 Dispplay with stripes

2015-05-27 Thread Sergio Belkin
2015-05-12 12:27 GMT-03:00 Sergio Belkin :
>
> 2015-05-12 12:16 GMT-03:00 Samuel Sieb :
>>
>> On 05/12/2015 07:29 AM, Sergio Belkin wrote:
>>>
>>> I'm trying Fedora 22 and shows randomly stripes, my info:
>>>
>> It didn't do this with F21?  Can you describe the effect more or take a 
>> picture?  I have some weird background image distortions on a similar video 
>> controller with F21.
>
>
>
> This machine had installed before Ubuntu.
>
>>
>>
>>> Video card:
>>>
>>> Slot:   00:02.0
>>> Class:  VGA compatible controller
>>> Vendor: Intel Corporation
>>> Device: 82945G/GZ Integrated Graphics Controller
>>> SVendor:        Elitegroup Computer Systems
>>> SDevice:        Device 1b76
>>> Rev:    02
>>> Driver: i915
>>> Module: i915
>>>
>>>
>> What did you use to get this list?  It's different than the lspci output.  
>> lspci identifies mine as:
>> Intel Corporation 82865G Integrated Graphics Controller (rev 02)
>
>
>
> lspci -v -mm -k ;) Nice, isn't it?
>
> It's a bit weird I've reenabled the composite in KDE and problem it went 
> away...
>
>>

Hi,

any news, ideas, with about this topic, driver is working terrible, I
thought that was a KDE issue, but in MATE it happens either...



-- 
--
Sergio Belkin  http://www.sergiobelkin.com
LPIC-2 Certified - http://www.lpi.org
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Fedora 22 Dispplay with stripes

2015-05-12 Thread Sergio Belkin
2015-05-12 12:16 GMT-03:00 Samuel Sieb :

> On 05/12/2015 07:29 AM, Sergio Belkin wrote:
>
>> I'm trying Fedora 22 and shows randomly stripes, my info:
>>
>>  It didn't do this with F21?  Can you describe the effect more or take a
> picture?  I have some weird background image distortions on a similar video
> controller with F21.
>


This machine had installed before Ubuntu.


>
>  Video card:
>>
>> Slot:   00:02.0
>> Class:  VGA compatible controller
>> Vendor: Intel Corporation
>> Device: 82945G/GZ Integrated Graphics Controller
>> SVendor:Elitegroup Computer Systems
>> SDevice:Device 1b76
>> Rev:02
>> Driver: i915
>> Module: i915
>>
>
>>  What did you use to get this list?  It's different than the lspci
> output.  lspci identifies mine as:
> Intel Corporation 82865G Integrated Graphics Controller (rev 02)
>


lspci -v -mm -k ;) Nice, isn't it?

It's a bit weird I've reenabled the composite in KDE and problem it went
away...


> --
> devel mailing list
> devel@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct




-- 
--
Sergio Belkin  http://www.sergiobelkin.com
LPIC-2 Certified - http://www.lpi.org
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Fedora 22 Dispplay with stripes

2015-05-12 Thread Sergio Belkin
Hi,

I'm trying Fedora 22 and shows randomly stripes, my info:

Video card:

Slot:   00:02.0
Class:  VGA compatible controller
Vendor: Intel Corporation
Device: 82945G/GZ Integrated Graphics Controller
SVendor:Elitegroup Computer Systems
SDevice:Device 1b76
Rev:02
Driver: i915
Module: i915

Version drivers:

filename:
/lib/modules/4.0.1-300.fc22.x86_64/kernel/drivers/gpu/drm/i915/i915.ko.xz
xorg-x11-drv-intel-2.99.917-6.20150211.fc22.x86_64

Thaanks in advance!
-- 
--
Sergio Belkin  http://www.sergiobelkin.com
LPIC-2 Certified - http://www.lpi.org
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Samba as AD DC

2014-09-07 Thread Sergio Belkin
Thanks!


2014-09-07 14:58 GMT-03:00 Simo Sorce :

> On Sun, 2014-09-07 at 01:12 -0300, Sergio Belkin wrote:
> > Hi,
> >
> > Is (Samba) Fedora 20 still not capable of being Active Directory Domain
> > Controller?
> >
> > I mean is that page current:
> > http://fedoraproject.org/wiki/Features/Samba4#Current_status ?
> >
> > Thanks in advance!
>
> It is current, and Samba in F20 will never have the AD bits.
> Maybe F22, or perhaps even F21, the work to replace Heimdal with MIT is
> proceeding well enough.
>
> Simo.
>
> --
> Simo Sorce * Red Hat, Inc * New York
>
> --
> devel mailing list
> devel@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
>



-- 
--
Sergio Belkin  http://www.sergiobelkin.com
LPIC-2 Certified - http://www.lpi.org
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Samba as AD DC

2014-09-06 Thread Sergio Belkin
Hi,

Is (Samba) Fedora 20 still not capable of being Active Directory Domain
Controller?

I mean is that page current:
http://fedoraproject.org/wiki/Features/Samba4#Current_status ?

Thanks in advance!
-- 
--
Sergio Belkin  http://www.sergiobelkin.com
LPIC-2 Certified - http://www.lpi.org
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Half-OT: Secure boot and thirdy party kernel modules

2014-07-08 Thread Sergio Belkin
2014-07-08 5:47 GMT-03:00 Florian Weimer :

> On 07/08/2014 10:19 AM, Petr Pisar wrote:
>
>> On 2014-07-07, Florian Weimer  wrote:
>>
>>> Note that Microsoft's current policy may not allow unrestricted
>>> virtualization (KVM or Virtualbox—does not matter) because that "permits
>>> launch of another operating system instance after execution of
>>> unauthenticated code"—the wording is rather unclear.  If Microsoft
>>> clarifies that this is forbidden, a future Fedora update will remove
>>> this functionality, so you will be forced to disable Secure Boot at this
>>> point anyway if you want to continue to use virtualization.
>>>
>>
>  Could you elaborate more what "unauthenticated code" is in this case?
>>
>
> I think it's code that is not cryptographically tied (indirectly) to one
> of the Secure Boot trust roots.
>
> However, I don't really know what Microsoft means.  It's conceivable that
> they assume we sign all of user space (not just for installation purposes),
> and they might have a wrong idea about what we can implement in our system.
>
>
>  Is
>> it a userspace tool for controlling in-kernel virtualization (e.g. qemu
>> in case of KVM)? Because KVM as a kernel module is signed.
>>
>
> It's unclear.  One possible interpretation is that virtualization acts as
> a barrier because it does not provide access to "real" ring 0 on the host.
>  It sounds reasonable, but it doesn't really match Microsoft's wording I
> quoted above (from a public blog post).
>
>
> --
> Florian Weimer / Red Hat Product Security
> --
> devel mailing list
> devel@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
>

Thanks everybody for enlighten me about this obscure topic :)

-- 
--
Sergio Belkin  http://www.sergiobelkin.com
LPIC-2 Certified - http://www.lpi.org
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Half-OT: Secure boot and thirdy party kernel modules

2014-07-06 Thread Sergio Belkin
Hi Fedora folks,

I've found that Oracle VirtualBox kernel module are not signed so I have to
disable secure boot. Oracle says that is not a VirtualBox bug. And Fedora
cannot sign it because of license, can it?

So, the question is: Is it worth signing "my own" kernel? Of course I can
circunvent this problem simply by disabling secureboot... what do you
think, is there a simple way of doing that, or should I spend a weekend
doing all of it?

I've found this:
http://www.linuxfoundation.org/news-media/blogs/browse/2013/09/booting-self-signed-linux-kernel

Can I sign only the virtualbox kernel module, or should I recompile the
entire kernel and sign it?

Thanks in advance!

-- 
--
Sergio Belkin  http://www.sergiobelkin.com
LPIC-2 Certified - http://www.lpi.org
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

kdenlive and ffmpeg

2014-03-30 Thread Sergio Belkin
Hi folks,

I am using 0.9.6 on Fedora 20 with ffmpeg-2.1.4-1.

Gui crashes when using ffmpeg

The settings of ffmpeg (Normal MPEG) are:

Code: Select all <http://forum.kde.org/viewtopic.php?f=265&t=120391#> f=mpeg
acodec=mp2 ab=128k ar=48000 vcodec=mpeg2video minrate=0 vb=4000k

If I do the following steps

   1. Go to Record Monitor tab in Clip Monitor
   2. Select FFmpeg in combo box
   3. Select either Video or Audio
   4. Click on Record button
   5. Click on Stop button


then kdenlive GUi freezes [image: :(]

The only useful information is

[wav @ 0x7f676015cc40] Encoder did not produce proper pts, making some up.


And I have to send a signal to term the process...

The Screen grab works fine... any ideas?

Thanks in advance

-- 
--
Sergio Belkin  http://www.sergiobelkin.com
LPIC-2 Certified - http://www.lpi.org
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: NetworkManager "forget" user network configurations: bug or feature?

2014-03-26 Thread Sergio Belkin

El 26/03/14 12:45, Stephen John Smoogen escribió:




On 25 March 2014 13:53, Sergio Belkin <mailto:seb...@gmail.com>> wrote:




Adam,

I've found that by default when I create a user, the checkbox in
NetworkManager that says

"All users may connect to this network" is checked!

If I uncheck anyway the network configuration files are in
/etc/sysconfig/network-scripts/

Really I don't understand this behavior (using mate-desktop on F20)



I believe the reason for this is due to various users who have their 
home directories on network mounted systems (even if only the user is 
the only one to set up the network connection.) If the data was stored 
in the home directory then the network could not start to thus mount 
the home directory to get the account. A similar problem occurs if the 
/home is encrypted separately from the root partition.


In general, I just make sure that /root /etc and /home are backed up 
when I move from OS version to OS version so that I don't lose stuff I 
might need later.

--
Stephen J Smoogen.





Hmmm... but NetworkManager should think in desktop users (ok, somewhat 
power desktop users) that install a new release/distro and a user 
configuration should be completely independent. Or at least give the 
chance to save either systemwide or "userwide". Anyway thanks for your 
answers and ideas, I understand that all of this is somewhat Off-Topic :)


Cheers

--
Sergio Belkin
Certificado Linux LPIC-2

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: NetworkManager "forget" user network configurations: bug or feature?

2014-03-25 Thread Sergio Belkin
2014-03-25 16:20 GMT-03:00 Adam Williamson :

> On Tue, 2014-03-25 at 16:19 -0300, Sergio Belkin wrote:
> > Hi Fedora folks,
> >
> > Since NetworkManager I suffer the same issue, release after release, ok,
> > it's not a Fedora issue
> >
> > If I preserve the home partition and perform a newly installation, eg
> > f19->f20 NetworkManager configurations per user are lost. I think that
> > NM should respect the user settings and not "happily" send them to trash.
> >
> > But what do you think? What is the rationale of saving user
> > configurations in the /etc directory?
> >
> > What do you think?
>
> Um. Are you sure this is what is happening? Are you sure these aren't
> set as systemwide connections?
> --
> Adam Williamson
> Fedora QA Community Monkey
> IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
> http://www.happyassassin.net
>
> --
> devel mailing list
> devel@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct



Adam,

I've found that by default when I create a user, the checkbox in
NetworkManager that says

"All users may connect to this network" is checked!

If I uncheck anyway the network configuration files are in
/etc/sysconfig/network-scripts/

Really I don't understand this behavior (using mate-desktop on F20)



-- 
--
Sergio Belkin  http://www.sergiobelkin.com
LPIC-2 Certified - http://www.lpi.org
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

NetworkManager "forget" user network configurations: bug or feature?

2014-03-25 Thread Sergio Belkin

Hi Fedora folks,

Since NetworkManager I suffer the same issue, release after release, ok, 
it's not a Fedora issue


If I preserve the home partition and perform a newly installation, eg 
f19->f20 NetworkManager configurations per user are lost. I think that 
NM should respect the user settings and not "happily" send them to trash.


But what do you think? What is the rationale of saving user 
configurations in the /etc directory?


What do you think?

--
Sergio Belkin
Certificado Linux LPIC-2

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

hardlink command

2013-11-10 Thread Sergio Belkin
I've found the interesting tool hardlink, supposedly it scans
directories looking for duplicates files and eventually can
consolidate them using hardlinks
Well it doesn't work for me, eg:

[sergio@madryn tmp]$ ls  /tmp/test1 /tmp/test2
/tmp/test1:
alpha

/tmp/test2:
alpha
[sergio@madryn tmp]$ hardlink   -n -v -v /tmp/


Directories 11
Objects 25
IFREG 9
Comparisons 0
Would link 0
Would save 0

Only it works if I use the -c option:

[sergio@madryn tmp]$ hardlink  -c   -v -v  /tmp/
Linked /tmp//alpha to /tmp//examples/alpha, saved 12
Linked /tmp//test1/alpha to /tmp//test2/alpha, saved 558


Directories 11
Objects 25
IFREG 9
Comparisons 2
Linked 2
saved 8192
[sergio@madryn tmp]$ ls -i /tmp/test1 /tmp/test2
/tmp/test1:
46798 alpha

/tmp/test2:
46798 alpha

Please tell me if it happens you the same, so I report the bug, don't I?

OS and pkg Data:

[sergio@madryn tmp]$ cat /etc/redhat-release
Fedora release 19 (Schrödinger’s Cat)
[sergio@madryn tmp]$ rpm -q hardlink
hardlink-1.0-17.fc19.x86_64

Thanks in advance
-- 
--
Sergio Belkin  http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified - http://www.lpi.org
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Scratch Builds

2013-07-09 Thread Sergio Belkin
Hi folks,

Just in case, let's say we have the package foo-1.0  if I make a scratch
build of package foo-1.1, that doesn't count at all, isn't it?

I mean can I send an update foo-.1.1 completely different of the foo-1.1
sent as a scratch build, can't I?

Thanks in advance

-- 
--
Sergio Belkin  http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified - http://www.lpi.org
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

  1   2   >