| *** RobertBerger <RobertBerger!~rber|res@62-47-47-177.adsl.highway.telekom.at> has joined #oe | 01:32 | |
| *** rber|res <rber|res!~rber|res@62-47-47-177.adsl.highway.telekom.at> has quit IRC (Ping timeout: 252 seconds) | 01:34 | |
| *** sakoman <sakoman!~steve@dhcp-72-253-6-214.hawaiiantel.net> has quit IRC (Quit: Leaving.) | 01:47 | |
| *** sakoman <sakoman!~steve@dhcp-72-253-6-214.hawaiiantel.net> has joined #oe | 02:23 | |
| *** sakoman <sakoman!~steve@dhcp-72-253-6-214.hawaiiantel.net> has quit IRC (Quit: Leaving.) | 04:37 | |
| *** mvlad <mvlad!~mvlad@2a02:2f08:400a:ee00:24d7:51ff:fed6:906d> has joined #oe | 05:55 | |
| *** pbergin <pbergin!~pbergin@83.218.73.98> has joined #oe | 06:33 | |
| *** frieder <frieder!~frieder@200116b824e0f0815b4798f1139ab50e.dip.versatel-1u1.de> has joined #oe | 06:45 | |
| *** ptsneves <ptsneves!~Thunderbi@031011128120.dynamic-3-poz-k-0-2-0.vectranet.pl> has joined #oe | 07:18 | |
| *** leon-anavi <leon-anavi!~Leon@46.55.231.62> has joined #oe | 07:33 | |
| ptsneves | good morning all. | 07:57 |
|---|---|---|
| ptsneves | Yesterday got some funny situation with Popen. | 07:59 |
| ptsneves | > import subprocess; subprocess.call(('echo', 'foo'), cwd="./mypath", stdout=subprocess.STDOUT, stderr=subprocess.STDOUT) | 07:59 |
| ptsneves | Leads to OSError: [Errno 9] Bad file descriptor: './mypath' | 07:59 |
| ptsneves | sharing with you as it was not obvious for me at all | 07:59 |
| *** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has joined #oe | 08:10 | |
| *** dl9pf[m] <dl9pf[m]!~dl9pfmatr@2001:470:69fc:105::9a8> has quit IRC (Quit: You have been kicked for being idle) | 09:01 | |
| *** mannerism <mannerism!~tic@107.191.100.185> has quit IRC (Remote host closed the connection) | 10:04 | |
| *** mannerism <mannerism!~tic@107.191.100.185> has joined #oe | 10:08 | |
| Habbie | ptsneves, but is it obvious now? | 10:53 |
| *** dl9pf[m] <dl9pf[m]!~dl9pfmatr@2001:470:69fc:105::9a8> has joined #oe | 10:53 | |
| ptsneves | Well this is something you cannot do. The point is you cannot have stdout=STDOUT | 11:01 |
| ptsneves | instead if you want stdout enabled you need to set it to None. Otherwise you get that message | 11:01 |
| ptsneves | i wondered if this was straightforward for you, because guys at #python told me it kind of is. | 11:02 |
| ptsneves | and that it is in the docs | 11:02 |
| Habbie | ahh, so the errno is not about ./mypath at all | 11:07 |
| Habbie | strace showed me dup2() failing, which makes sense | 11:07 |
| ptsneves | yes! | 12:00 |
| ptsneves | the mypath is an artifact | 12:00 |
| ptsneves | and if cwd is None you will just get Bad file descriptor. Which seems to me very obscure just the same | 12:01 |
| *** maelcum <maelcum!~horst@2001:9e8:269:5d00:2de7:c0a3:3bf:8289> has joined #oe | 12:35 | |
| *** pbergin <pbergin!~pbergin@83.218.73.98> has quit IRC (Quit: Leaving) | 13:44 | |
| *** sakoman <sakoman!~steve@dhcp-72-253-6-214.hawaiiantel.net> has joined #oe | 13:54 | |
| *** mihai <mihai!~mihai@user/mihai> has joined #oe | 14:06 | |
| *** kscherer <kscherer!~kscherer@dsl-173-206-148-172.tor.primus.ca> has joined #oe | 14:18 | |
| *** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Remote host closed the connection) | 14:55 | |
| *** Guest63 <Guest63!~Guest63@mtl.savoirfairelinux.net> has joined #oe | 14:58 | |
| Guest63 | Hi | 15:00 |
| Guest63 | is there any way to execute command using '${@' expression | 15:00 |
| Guest63 | ${@os.system(command)} doesn't seem to work | 15:00 |
| Saur[m] | DvorkinDmitry: Well, if you are building an image that only you will use, then there are no problems with creating an SSH key at build time. However, if you are building an image that will be deployed to many different products, then you do not want them all to use the same SSH key. | 15:35 |
| DvorkinDmitry | Saur[m], but it requires the password to authenticate anyway.... | 15:37 |
| kergoth | JaMa: Hey, quick question for whenever you're around, we're wondering if there's a better way to switch to an eglfs-based environment, removing all weston/x11 stuff in one go. DISTRO_FEATURES+PACKAGECONFIG? It'd be nice for a user to have an easy way to switch | 15:42 |
| Saur[m] | DvorkinDmitry: I thought you were referring to the server key, but now it sounds more like you are talking about the public key used when accessing the product. You can of course install your public key to `${ROOT_HOME}/.ssh/authorized_keys` and as long as you have registered your key with ssh-add, you can then access the product without having to login (just like any other server where you have authorized your public key). | 15:44 |
| DvorkinDmitry | Saur[m], I am talking about the generation of the /etc/ssh/ssh_host* files that is automatically running on very first ssh login | 15:53 |
| Saur[m] | DvorkinDmitry: Here is the code we use in our extension to rootfs-postprocess.bbclass to add an SSH server key for developers: https://pastebin.com/awqcGYYB | 16:06 |
| Saur[m] | In our environment, OE_USER_DIR is set to `~/.openembedded`, but you can of course use whatever path you want. | 16:07 |
| DvorkinDmitry | Saur[m], thank you! is it safe enougth to use pre-generated files and force password auth? | 16:15 |
| Saur[m] | DvorkinDmitry: Well, we only use this for developers that build their own images and there it should be fine. It is definitely not suitable for production. | 16:45 |
| *** maelcum <maelcum!~horst@2001:9e8:269:5d00:2de7:c0a3:3bf:8289> has quit IRC (Quit: Konversation terminated!) | 17:59 | |
| *** leon-anavi <leon-anavi!~Leon@46.55.231.62> has quit IRC (Quit: Leaving) | 18:18 | |
| *** otavio <otavio!~otavio@200-102-164-25.user3p.brasiltelecom.net.br> has quit IRC (Remote host closed the connection) | 18:49 | |
| *** otavio <otavio!~otavio@200-102-164-25.user3p.brasiltelecom.net.br> has joined #oe | 18:54 | |
| *** florian <florian!~florian@dynamic-002-243-049-011.2.243.pool.telefonica.de> has joined #oe | 19:24 | |
| *** rsalveti <rsalveti!uid117878@id-117878.uxbridge.irccloud.com> has quit IRC (Quit: Connection closed for inactivity) | 20:05 | |
| *** florian <florian!~florian@dynamic-002-243-049-011.2.243.pool.telefonica.de> has quit IRC (Ping timeout: 244 seconds) | 20:19 | |
| DvorkinDmitry | Saur[m], yea. thank you | 20:40 |
| *** DvorkinDmitry <DvorkinDmitry!~dvorkin@5.167.98.73> has quit IRC (Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/) | 20:51 | |
| *** frieder <frieder!~frieder@200116b824e0f0815b4798f1139ab50e.dip.versatel-1u1.de> has quit IRC (Remote host closed the connection) | 20:58 | |
| *** mvlad <mvlad!~mvlad@2a02:2f08:400a:ee00:24d7:51ff:fed6:906d> has quit IRC (Remote host closed the connection) | 22:19 | |
| *** florian <florian!~florian@dynamic-002-243-049-011.2.243.pool.telefonica.de> has joined #oe | 22:47 | |
| *** kscherer <kscherer!~kscherer@dsl-173-206-148-172.tor.primus.ca> has quit IRC (Quit: Konversation terminated!) | 22:59 | |
| *** florian <florian!~florian@dynamic-002-243-049-011.2.243.pool.telefonica.de> has quit IRC (Ping timeout: 248 seconds) | 23:35 | |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!