Opened 12 months ago

Closed 8 months ago

#23766 closed task (fixed)

Document build error when resolv.conf contains 127.0.0.1 in README.BUILD_ERRORS

Reported by: kkuehl@… Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: tbb-rbm, TorBrowserTeam201801R
Cc: boklm Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

$ sudo runc --version
runc version 1.0.0-rc4
spec: 1.0.0
$ make testbuild-linux-x86_64
git submodule update --init
./rbm/rbm build release --target testbuild --target torbrowser-linux-x86_64
Building project tor-browser - tor-browser-7.5a5-linux-x86_64-a14a6a
Building project container-image - container-image_wheezy-amd64-df3a332e7b34.tar.gz
Building project debootstrap-image - container-image_wheezy-amd64.tar.gz
Using file /home/kkuehl/Downloads/tor-browser-build/out/debootstrap-image/container-image_ubuntu-base-17.04-base-amd64.tar.gz
Build log: /home/kkuehl/Downloads/tor-browser-build/logs/debootstrap-image-.log
Error running build
Opening debug shell
Warning: build files will be removed when you exit this shell.
Container directory: /home/kkuehl/Downloads/tor-browser-build/tmp/rbm-VVRGNR/rbm-containers/57870e7709fe3f3d4e0c557d05b94261d803b70d43e8298f6e2efebcf9477ac0
bash: cannot set terminal process group (8): Inappropriate ioctl for device
bash: no job control in this shell
root@runc:/var/tmp/tmp.ILRlYNjrAb#

Child Tickets

Attachments (1)

README.BUILD_ERRORS.patch (961 bytes) - added by kkuehl@… 12 months ago.
patch file documenting README.BUILD_ERRORS

Download all attachments as: .zip

Change History (12)

comment:1 Changed 12 months ago by kkuehl@…

Component: - Select a componentApplications/Tor Browser
Owner: set to tbb-team

comment:2 Changed 12 months ago by kkuehl@…

I figured out that this was due to me running dnsmasq which sets resolv.conf to 127.0.0.1 so when the container mounts
After seeing:

{
"type": "bind",
"source": "/etc/resolv.conf",
"destination": "/etc/resolv.conf",
"options": [
"rbind",
"ro"
]
},

It wouldn't work.
Solution: put reasonable values in resolv.conf and disable dnsmasq.

Feel free to close ticket.

Last edited 12 months ago by kkuehl@… (previous) (diff)

comment:3 Changed 12 months ago by boklm

Summary: runc bash: cannot set terminal process group (8): Inappropriate ioctl for deviceDocument build error when resolv.conf contains 127.0.0.1 in README.BUILD_ERRORS
Type: defecttask

Thanks.

I think we can mention this in the list of possible errors in the README.BUILD_ERRORS file.

comment:4 Changed 12 months ago by boklm

Keywords: tbb-rbm TorBrowserTeam201710 added

comment:5 Changed 12 months ago by kkuehl@…

Not currently in README.BUILD_ERRORS

Changed 12 months ago by kkuehl@…

Attachment: README.BUILD_ERRORS.patch added

patch file documenting README.BUILD_ERRORS

comment:6 Changed 12 months ago by gk

Cc: boklm added
Keywords: TorBrowserTeam201710R added; TorBrowserTeam201710 removed
Status: newneeds_review

comment:7 Changed 11 months ago by gk

Keywords: TorBrowserTeam201711R added; TorBrowserTeam201710R removed

Moving review to November

comment:8 Changed 10 months ago by gk

Keywords: TorBrowserTeam201712R added; TorBrowserTeam201711R removed

Moving review tickets over to December

comment:9 Changed 9 months ago by gk

Moving review tickets to 2018

comment:10 Changed 9 months ago by gk

Keywords: TorBrowserTeam201801R added; TorBrowserTeam201712R removed

Moving review tickets for real.

comment:11 Changed 8 months ago by gk

Resolution: fixed
Status: needs_reviewclosed

Sorry, for the delay. I adapted your patch slightly and applied it to master with commit 62ee652c588858ded1aa02261510f1c05234795a, thanks!

Note: See TracTickets for help on using tickets.