Re: [Bug 1732030] Re: 'apt update' dies with seccomp error

2018-04-19 Thread Balan Cosmin Tudorel
Tanks

On Tue, Apr 17, 2018 at 4:16 PM, Simon Déziel <1732...@bugs.launchpad.net>
wrote:

> It's already mentioned in the NEWS file but for those who would like to
> test the seccomp sanbox, all that's needed is:
>
>   APT::Sandbox::Seccomp "true";
>
> Thanks Julian
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1756652).
> https://bugs.launchpad.net/bugs/1732030
>
> Title:
>   'apt update' dies with seccomp error
>
> Status in apt package in Ubuntu:
>   Fix Released
> Status in libvirt package in Ubuntu:
>   Fix Released
>
> Bug description:
>   $ apt-get update
>   0% [Working]
> Seccomp prevented execution of syscall 78 on architecture
> amd64 
>   Reading package lists... Done
>   E: Method mirror has died unexpectedly!
>   E: Sub-process mirror returned an error code (31)
>
>   ProblemType: Bug
>   DistroRelease: Ubuntu 18.04
>   Package: apt 1.6~alpha5
>   ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
>   Uname: Linux 4.13.0-16-generic x86_64
>   NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
>   ApportVersion: 2.20.7-0ubuntu4
>   Architecture: amd64
>   Date: Mon Nov 13 23:10:57 2017
>   ProcEnviron:
>LANGUAGE=en_US:en
>TERM=xterm
>PATH=(custom, no user)
>LANG=en_US.UTF-8
>SHELL=/bin/zsh
>   SourcePackage: apt
>   UpgradeStatus: Upgraded to bionic on 2017-05-20 (177 days ago)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1732030/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1732030

Title:
  'apt update' dies with seccomp error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1732030/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1732030] Re: 'apt update' dies with seccomp error

2018-04-04 Thread ChristianEhrhardt
On Wed, Apr 4, 2018 at 10:12 AM, Jimmy Olsen  wrote:

> It`still giving me same error:
>
> marcos@marcos:~$ echo 'apt::sandbox::seccomp::allow { "socket" };' | sudo
> tee
> [sudo] password for marcos:
> apt::sandbox::seccomp::allow { "socket" };
> marcos@marcos:~$ sudo apt update
>
[...]

>   Seccomp prevented execution of syscall 41 on architecture
> amd64 
>

Hmm, maybe my override isn't perfect - yet since I can't reproduce to
improve it I have to wait for Julian to take a look at this.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1732030

Title:
  'apt update' dies with seccomp error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1732030/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1732030] Re: 'apt update' dies with seccomp error

2018-04-04 Thread ChristianEhrhardt
On Wed, Apr 4, 2018 at 8:29 AM, Jimmy Olsen  wrote:

> Hi Christian. I tried to run this command but it didnt work:
>
> marcos@marcos:~$ echo 'apt::sandbox::seccomp::allow { "socket" };' >
> /etc/apt/apt.conf.d/99seccomp
> bash: /etc/apt/apt.conf.d/99seccomp: Permission denied
>

The path this gets placed in is only writable by root.
So you either need to "sudo su" before you do the above.
Or you can use sudo to write with permissions through tee, like:

 $ echo 'apt::sandbox::seccomp::allow { "socket" };' | sudo tee
/etc/apt/apt.conf.d/99seccomp

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1732030

Title:
  'apt update' dies with seccomp error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1732030/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs