/srv/irclogs.ubuntu.com/2019/07/23/#ubuntu.txt

oddtodhello everyone, i'm building a deployment pipeline using Microsoft's team foundation server, I gave permission to the useraccount running the agent stop/start permissions in sudoers file with no password requireed but it looks like TFS executes scripts using "/bin/bash --noprofile --norc /home/geard/vstsagent/_work/_temp/1224df2e-e441-4036-8145-8bcd823eb98b.sh"00:09
oddtodI am curious how I can give this type of execution permission to stop and start nginx00:10
OerHeksoddtod, for the WSL part, there is a dedicated channel00:11
OerHeks!wsl00:11
ubottuWindows 10 has a feature called Windows Subsystem for Linux, which allows it to run Ubuntu (and other Linux distro) userspace programs without porting/recompliation. For discussion and support, see #ubuntu-on-windows or ##windows. For installation instructions, see https://msdn.microsoft.com/en-us/commandline/wsl/install_guide00:11
sarnoldoddtod: do you have any control over the contents of those scripts?00:13
=== zbenjamin is now known as Guest54424
=== zbenjamin_ is now known as zbenjamin
oddtodOerHeks: this isn't WSL01:29
oddtodsarnold: I do, TFS just pushes files and commands to it the Ubuntu server via VSTSagent.01:30
oddtodsarnold: sorry for the delay in response, wife came home01:31
sarnoldoddtod: you could stuff 'sudo' commands in that script directly; it's usually not a good idea to write scripts with sudo in them, but it's not the worst thing either..01:31
oddtodsarnold: yeah. i am curious who i would have to add as a sudoer in that situation. it says no profile so i assume it isn't running it as who the agent is running as, do i have that incorrect?01:33
sarnoldoddtod: hmmm.. you could stuff an id command in there and see what user is executing the script01:33
leonardusHow do I get consolas on ubuntu?01:40
OerHeksleonardus, consolas as in the TTF?01:44
leonardusyes01:44
OerHeksif the version is still 1.12 > https://gist.github.com/sigoden/d01ad118da677f796bab01781b7eae2301:45
OerHeksthis will install systemwide, not in the user folder01:46
leonardusOerHeks: thanks, that worked!01:47
OerHekshave fun!01:47
oddtodsarnold: I was thinkiing the same thing. Thanks for the advice, i'll get back to you.01:48
oddtodsarnold: odd it runs as me but it says "Failed to stop nginx.service: Interactive authentication required."01:52
sarnoldoddtod: hmm, what's your sudoers look like?01:53
oddtodhttps://pastebin.com/L3RpLqa101:55
LimeThi01:59
LimeTI am trying to install mozjpeg but I failed:01:59
LimeThttps://dpaste.de/ZDJx/raw01:59
LimeTwhat is wrong?01:59
oddtodsarnold:01:59
sarnoldoddtod: so.. try adding a line like Defaults = !requiretty   -- BE SURE TO USE visudo -- I'm not convinced this is perfect.. it should default to off, but it sure feels like what you're seeing02:01
oddtodsarnold: i'll have to look into requirepretty thanks for the information02:07
sarnoldoddtod: if that doesn't work out, maybe systemd's polkit integration02:08
sarnoldoddtod: I know that even less than sudoers, but it's there02:08
oddtodsarnold: thanks for the leads, i really appreciate it02:13
sarnoldoddtod: you're welcome; I just wish that it'd have been easy02:14
oddtodsarnold: nothing about team foundation server is easy :P02:15
sarnold:(02:15
oddtodits actually not too bad, just has some strange quirks cause it is trying to be a one stop shop02:15
=== [b0b] is now known as b0b
Kon-Why, when I remove a snap, does it say it's saving a snapshot of the removed snap? Where can I see these files, and can I remove them?02:33
Kon-This showed up while running "snap remove," which unfortunately doesn't maintain complete logs in the terminal. But it did claim it was saving a snapshot and it appears to have used quite a lot of disk space - almost as much as the removed snap02:34
ZaZaGXin the snap folder02:36
ZaZaGXits in the home directory02:36
Kon-Thanks. And is there a way to forcibly remove the "core" snap? Kubuntu comes with snapd preinstalled, but not "core," but once the core snap is installed, it doesn't allow the user to uninstall it through "snap remove core"02:38
ZaZaGXnot sure02:40
OerHekscore is part of snapd, so that is why02:50
StupidLikeAFoxis there an easy way to install grub onto an hdd when booted from liveusb?02:56
lotuspsychje!grub | StupidLikeAFox02:58
ubottuStupidLikeAFox: GRUB2 is the default Ubuntu boot manager. Lost GRUB after installing Windows? See https://help.ubuntu.com/community/RestoreGrub - For more information and troubleshooting for GRUB2 please refer to https://help.ubuntu.com/community/Grub202:58
Kon-I fixed it. Recovered 900MB on my / partition and "snap list" command functions properly to show no snaps installed03:00
Kon-Basically remove /var/lib/snapd, /snap/, and all snapd-associated systemd services. Reboot, and a barebones snapd will still be working03:02
Kon-OerHeks: Several *ubuntu desktop flavors ship with snapd installed in this minimal state, sans the core snap03:03
StupidLikeAFoxhttps://help.ubuntu.com/community/Boot-Repair#A2nd_option_:_install_Boot-Repair_in_Ubuntu03:04
StupidLikeAFoxthe first command, add-apt isn't working-03:04
StupidLikeAFoxin a live usb of xubuntu 18.04.2lts03:05
OerHeksrun apt update first, to get fresh lists03:06
StupidLikeAFoxit's saying add-apt isn03:08
StupidLikeAFoxt a valid command03:08
OerHekssudo add-apt-repository ..03:10
StupidLikeAFoxOh.03:11
StupidLikeAFoxUgh, the font and screen settings on here aren't doing me any favors, thank you.03:12
StupidLikeAFoxhmm, I don't think it did what I was trying to get it to do03:17
StupidLikeAFoxtrying to install grub on z drive with no OS on it yet, not sure I partitioned it properly for guid this time03:18
tg-127Hello03:24
uRockzzz03:30
tg-127zzzz03:30
tg-127tyzoid, could you by any chance be tyzoid from the former AI on discord?03:33
yao_ziyuanafter an update, all bold text are not rendered bold in chrome!04:05
yao_ziyuani saw this problem in ubuntu 18.10 and that's why i keep running 18.04 LTS till today04:06
exospecieshi, i would like to install ubuntu desktop on an old laptop, but i noticed Ubuntu 18.04.3 LTS is too big for a CD R, and i only have CD R's05:24
=== Ben65 is now known as Ben64
exospeciesis there only a 64 bit version?05:27
DanDareexospecies, i think you can try https://help.ubuntu.com/community/Installation/MinimalCD05:36
SwedeMikeexospecies: https://ubuntu.com/download/alternative-downloads  there is a "network installer" that's supposedly will fit CD ?05:37
cstk421have a simple bash script that pulls an image from a camera via curl.  Requires sudo to run and no matter what i do i am unable to get it to run without elevated rights.  I added the user to the sudoers group and still not working.  Suggestions ?05:56
cstk421ha nm i got it06:01
=== korzq1 is now known as korzq
=== NickG365_ is now known as NickG365
ZaZaGXhello, off topic here, but how do i auth in SASL on Irssi chat client on ubuntu?06:43
=== imsurit_ofc is now known as imsurit
OerHeksZaZaGX, easy to find, no?07:16
OerHekshttps://freenode.net/kb/answer/irssi07:16
=== JanC_ is now known as JanC
=== korzq5 is now known as korzq
cart_manHi everyone. My ethernet connection recently simply vanished and I think it might be realated to an OS upgrade I did a while ago. I reinstalled the realtek drivers using "apt-get install r8168-dkms" but it didnt seem to do anything. The actual ethernet card does not even show up on "IFCONFIG"07:37
cart_manlsmod shows that it is there as r8168 but simply doesnt connect. Cant choose it on the UI network setup either07:38
pavlushkacart_man: can you post the "lspci -nnk" output?08:05
cart_man@pavlushka: Yes one second08:13
cart_man@pavlushka -> https://hastebin.com/fosuhasihu.makefile08:15
cart_manThere is allot of commands and a quick explanation of what I did08:15
cart_man@pavlushka btw even the lights on my ethernet card goes on. greena and orange08:17
cart_manpavlushka: Hi sorry I Disconnected08:32
cart_manpavlushka: Did you perhaps have a look at the hastebin?08:33
pavlushkacart_man: yes08:33
cart_manpavlushka: I just saw that I can see the card but its DOWN. When I UP it nothing happens though08:33
pavlushkacart_man: how you can see the card state?08:35
cart_manpavlushka: ip link show08:36
pavlushkacart_man: I was thinking of telling you that but you got it08:37
cart_manpavlushka: The thing is though even if I activate the card is just refuses to show up ... this is crazy ?08:37
pavlushkacart_man: now try to troubleshoot the conf with the help of https://wiki.archlinux.org/index.php/Network_Debugging08:38
pavlushkacart_man: your device is enp2s0 right?08:40
cart_manpavlushka: Ok I am going offline quickly to see if it works. So I have to drop this connection quickly but Ill be back. Yes In can see it now after restarting and flushing DHCP whatever that means08:41
cart_manthe Kubuntu UI doesnt know it exists though08:41
cart_manifconfig seems to know it does08:41
pavlushkaaha08:42
cart_manim still here? Lol ok so it does work .. I DCed networkn conf and apparently ive been on ethernet for the last 5 mins08:42
cart_manYAY08:42
cart_man@pavlushka Thanks allot for the assitance08:42
carogahi all08:45
pavlushkacart_man: always nice to assist fixing issue just by talking :)09:00
pavlushkacaroga: hi09:00

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!