network buffering

2020-09-29 Thread Shivam Mehra
Hi everyone,
I came across this documentation
https://www.infradead.org/~tgr/libnl/doc/api/route_2qdisc_2plug_8c_source.html
for providing network buffering to applications.

My kernel version is *5.3.0-64-generic.*
I want to build a network buffering thing for packets of certain
applications, will this be useful to me, can i reuse the file given that it
doesn't do any damage to the host?
and the real problem is how should i implement it and call functions of it
to do that, where is the parameters such as *qdiscs, tc, *defined which are
passed to these function, i don't see the definition and declaration of it.

A simple working example will be really helpful.
Please help in this.

Best,
Shivam
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Bugs in building glibc

2020-09-29 Thread rafi Moor


Hello,
I would like to report two bugs I’ve encountered while trying to build glibc on 
Ubuntu 18.04.
I’ve used glibc_2.27-3ubuntu1.3.
I’ve only investigated the source of the second, since I’ve found a workaround 
for the first.

1

Problem:
The following tests fail during the build:
FAIL: misc/tst-preadvwritev2
FAIL: misc/tst-preadvwritev64v2

Workaround:
Remove gdb for the time of the build. This make these unsupported and the tests 
are skiped.

2

Problem:
With kernel 5.5.7 and higher the following test fails:
FAIL: misc/test-errno-linux

Root cause:
In the file sysdeps/unix/sysv/linux/test-errno-linux.c the first argument to 
quotactl() is Q_GETINFO instead of QCMD(Q_GETINFO, )
Kernel 5.4.0 returns (wrongly) ENODEV which is in the list of expected errors, 
so the test passes.
Kernel 5.5.7 returns (correctly) EINVAL and the test fails

Solution:
Edit the file and replace the line:
  quotactl, Q_GETINFO, NULL, -1, (caddr_t) &dqblk);
with:
  quotactl, QCMD(Q_GETINFO,USRQUOTA), NULL, -1, (caddr_t) 
&dqblk);

Integrate the change in the build source:
dpkg-source --commit

In addition I couldn’t download glibc_2.27-3ubuntu1.3 with “apt source”, so I 
had do download it manually.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


GNU Guix

2020-09-29 Thread Cuckoo's Calling
Hello All,

I came across an amazing project called GNU Guix.

So, I made an animation to introduce the novel concepts of this project.

Here is the link for the video,
https://gnuguix-drive.mycozy.cloud/public?sharecode=YvERPGX14g5S

Please leave me a feedback on your experience.

Cheers,
Cuckoo's Calling.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


dpkg: passwd :1:4.5-1ubuntu2

2020-09-29 Thread sam

Hello,

If you could help me with below dpkg matter with passwd issue ??


Regards

Sami


(base) sam@sam-xps:~$ sudo dpkg -C
The following packages are only half configured, probably due to problems
configuring them the first time.  The configuration should be retried using
dpkg --configure  or the configure menu option in dselect:
 passwd   change and administer password and group data

dpkg: error: info database format (2) is bogus or too new; try getting a 
newer dpkg

(base) sam@sam-xps:~$ dpkg --list | grep -v "^ii \|^rc "
Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name    Version  Architecture 
Description

+++-===---=
iF  passwd  1:4.5-1ubuntu2   amd64 change and 
administer password and group data


(base) sam@sam-xps:~$ dpkg -s passwd
Package: passwd
Status: install ok half-configured
Priority: required
Section: admin
Installed-Size: 2549
Maintainer: Ubuntu Developers 
Architecture: amd64
Multi-Arch: foreign
Source: shadow
Version: 1:4.5-1ubuntu2
Replaces: manpages-tr (<< 1.0.5), manpages-zh (<< 1.5.1-1)
Depends: libaudit1 (>= 1:2.2.1), libc6 (>= 2.14), libpam0g (>= 
0.99.7.1), libselinux1 (>= 1.32), libsemanage1 (>= 2.0.3), libpam-modules

Conffiles:
 /etc/cron.daily/passwd db990990933b6f56322725223f13c2bc
 /etc/default/useradd cc9f9a7713ab62a32cd38363d958f396
 /etc/pam.d/chfn 4d466e00a348ba426130664d795e8afa
 /etc/pam.d/chpasswd 9900720564cb4ee98b7da29e2d183cb2
 /etc/pam.d/chsh a6e9b589e90009334ffd030d819290a6
 /etc/pam.d/newusers 1454e29bfa9f2a10836563e76936cea5
 /etc/pam.d/passwd eaf2ad85b5ccd06cceb19a3e75f40c63
Description: change and administer password and group data
 This package includes passwd, chsh, chfn, and many other programs to
 maintain password and group data.
 .
 Shadow passwords are supported.  See /usr/share/doc/passwd/README.Debian
Homepage: https://github.com/shadow-maint/shadow
Original-Maintainer: Shadow package maintainers 




--
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss