[00:01] <xinobi> jerichowasahoax my server only has these php.ini files /etc/php/7.0/fpm/php.ini /etc/php/7.0/cli/php.ini
[00:01] <jerichowasahoax> xinobi: well it's not using the cli one, that's for sure
[00:02] <jerichowasahoax> xinobi: i was hoping there would be an /etc/php/7.0/apache2 as well, though, for you to double check
[00:02] <xinobi> jerichowasahoax exactly so I believe that my php.ini has something missing
[00:02] <jerichowasahoax> xinobi: because i'm on apache2 and that's where minei s
[00:03] <xinobi> jerichowasahoax: no /etc/php/7.0/apache2 is not present in my system
[00:10] <xinobi> jerichowasahoax I'll try to figure this later have a nice time ;) thank you
[01:03] <mojtaba> Hello, does anybody know what could be wrong with this command?
[01:03] <mojtaba> (09:01:58 PM) mojtaba: if [ $(df /home/osmc/Movies/Cartoon/ --output=pcent | awk -F '%' 'NR=2{print $1}') -ge 80 ]; then echo "hi";fi
[01:03] <mojtaba> I don't know awk, I found this on the web.
[01:03] <mojtaba> I am going to check if a mounted drive is used more than a specific amount.
[01:04] <mojtaba> What I am getting is: -bash: [: too many arguments
[01:11] <dpb1> mojtaba: first step is simplify, just run df /home/osmc/Movies/Cartoon/ --output=pcent
[01:11] <dpb1> mojtaba: then, build up
[01:11] <mojtaba> dpb1: sure, thanks
[01:11] <dpb1> but, the answer is, you are missing a closing paren (at least)
[01:12] <mojtaba> I see
[01:18] <mojtaba> brb
[04:50] <soahccc> Hey I just shredded my mysql server (I uninstalled it, tried to install mariadb, it failed, can't install mysql anymore). I purged every mysql/mariadb package, removed /etc/mysql and /var/lib/mysql and tried to reinstall mysql server. It just doesn't start up with no error whatsoever :S
[04:51] <soahccc> anything I missed?
[07:37] <sikun> soahccc, try apt-purge mysql*
[07:38] <sikun> I remember doing something similar and I think that is what I ended up doing
[07:38] <sikun> I mean, apt purge mysql*  (no dash of course)
[08:12] <JanC> sikun: that could also purge some mysql-related tools which aren't part of mysql
[08:13] <JanC> and I guess soahccc would also want to purge everything that's part of mariadb
[11:40] <gunix> OpenTokix: i try to use your preseed and i am stuck because it doesn't find any root partition
[11:58] <gunix> nevermind, i figured that out
[17:50] <gunix> i added the preseed to an ubuntu iso, made it completely unattended, however proliant servers refuse to boot it
[17:50] <gunix> the iso works great with vms
[17:50] <gunix> but the proliant server refuse it
[17:50] <gunix> and the proliant servers do work great with normal ubuntu iso
[17:50] <gunix> this is very confusing
[17:52] <powersj> gunix: do you even get the language selection screen? any flash of the start of an install? how are you booting it?
[17:52] <powersj> oh and how did you add the preseed
[17:53] <gunix> powersj: there is no language selection screen. it is fully automated
[17:53] <dpb1> gunix: you'll need to describe what happens more than "refuse it" :)
[17:53] <gunix> dpb1: it tries to boot from other sources instead of the iso
[17:54] <gunix> dpb1: it just completely ignored i added the iso from iLO
[17:54] <dpb1> my first suspicion would be corrupted media
[17:54] <gunix> dpb1: than how does the media work on KVM vms ?
[17:54] <dpb1> as that has happened to me more times than I count
[17:55] <gunix> dpb1:  if it's corrupted, why does it work with kvm? it goes through the full install
[17:55] <dpb1> same disc?
[17:55] <dpb1> or are you using the .iso
[17:55] <gunix> dpb1: yes, same disc lol
[17:55] <gunix> dpb1: the same exact iso is working on KVM vms, but is not working in the proliant
[17:55] <dpb1> not iso
[17:55] <dpb1> same physical disk
[17:55] <gunix> what are you talking about?
[17:56] <gunix> are you talking about a physical CD/DVD ?
[17:56] <dpb1> "the same exact iso is working on KVM vms"
[17:56] <dpb1> yes, physical disc
[17:56] <gunix> dpb1: omg man
[17:56] <gunix> dpb1: you don't need to burn CDs, it's not 1999
[17:57] <dpb1> so you are blinking the .iso over there?
[17:57] <gunix> dpb1: you can add the iso to KVM VMs via virt-manager, and to iLO via web interface... in iLO you add the http address of the .iso and in virt-manager you need the .iso to be on the same server as the libvirt/qemu/kvm services
[17:58] <dpb1> good, getting details now
[17:58] <gunix> dpb1: in iLO i tried to add the normal .iso (located on THE SAME web server)
[17:58] <gunix> so tcp connection can't be an issue
[17:58] <dpb1> and your ilo mount of the standard ubuntu-server .iso works
[17:59] <gunix> yes
[17:59] <gunix> :(
[17:59] <compdoc> virt-manager is awesome
[17:59] <gunix> compdoc: yea, i run virt-manager on my local system and connect it to the server from the DC. it's great :D
[17:59] <dpb1> gunix: can you try another physical server?
[17:59] <gunix> dpb1: i tried two physical servers, but both gen9
[17:59] <gunix> this are the files i change in the iso, before repackaging it: https://github.com/TommyKTheDJ/hydra/commit/2741997149d0fdcf96e5d947f32b3dab7bf49157
[18:00] <gunix> this is the command I am building the iso with:
[18:00] <gunix> mkisofs -D -r -V "UNATTENDED_UBUNTU" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o /opt/ubuntu16-desktop-unattended-install.iso /opt/ubuntuiso
[18:05] <dpb1> ya, dunno, that looks okish to me, and clearly the kvm test case is proving your .iso isn't DOA.
[18:06] <gunix> yes :(
[18:07] <dpb1> my next guess would be something EFI vs legacy
[18:07] <dpb1> that's intentionally handwavy
[18:08] <gunix> i can try to switch the server to bios
[18:08] <gunix> but afaik the iso has some efi flags
[18:11] <powersj> also check for secure boot, but switching to legacy would be best as I'm willing to bet you weren't using EFI with virt-manager
[18:13] <gunix> dpb1: holy fuck, it's working on bios
[18:14] <gunix> powersj: yea, that's what i thought after dpb1 mentioned it. virt-manager can't be using efi
[18:14] <gunix> i need to go agian through the process of creating the dvd. must be something there that damaged efi
[18:15] <gunix> *creatig the .iso, not the DVD
[18:15] <gunix> thank you for the help, guys, i can move forward now!
[18:18] <dpb1> gunix: good luck
[19:24] <PhoulJAOF9K> .-.            .-.
[19:24] <PhoulJAOF9K> .-.            .-.
[19:24] <PhoulJAOF9K> .-.            .-.
[19:24] <PhoulJAOF9K> .-.            .-.
[19:24] <PhoulJAOF9K> .-.            .-.
[19:24] <PhoulJAOF9K> .-.            .-.
[19:24] <PhoulJAOF9K> .-.            .-.
[19:24] <PhoulJAOF9K> /   \          /   \
[19:24] <PhoulJAOF9K> /   \          /   \
[19:24] <PhoulJAOF9K> /   \          /   \
[19:24] <PhoulJAOF9K> /   \          /   \
[19:24] <PhoulJAOF9K> /   \          /   \
[19:24] <PhoulJAOF9K> /   \          /   \
[19:24] <PhoulJAOF9K> /   \          /   \
[19:24] <PhoulJAOF9K> |   _ \        / _   |
[19:24] <PhoulJAOF9K> |   _ \        / _   |
[19:24] <PhoulJAOF9K> |   _ \        / _   |
[19:24] <PhoulJAOF9K> |   _ \        / _   |
[19:25] <PhoulJAOF9K> '. '.;'    ';,' .'
[19:25] <PhoulJAOF9K> '. '.;'    ';,' .'
[19:25] <PhoulJAOF9K> '. '.;'    ';,' .'
[19:25] <PhoulJAOF9K> '. '.;'    ';,' .'
[19:25] <PhoulJAOF9K> '. '.;'    ';,' .'
[19:25] <PhoulJAOF9K> '. '.;'    ';,' .'
[19:25] <PhoulJAOF9K> '. '.;'    ';,' .'
[19:25] <PhoulJAOF9K> './ _    _ \.'
[19:25] <PhoulJAOF9K> './ _    _ \.'
[19:25] <PhoulJAOF9K> './ _    _ \.'
[19:25] <PhoulJAOF9K> './ _    _ \.'
[19:25] <PhoulJAOF9K> './ _    _ \.'
[19:25] <PhoulJAOF9K> './ _    _ \.'
[19:25] <PhoulJAOF9K> './ _    _ \.'
[19:25] <PhoulJAOF9K> .'  a __ a  '.
[19:25] <PhoulJAOF9K> .'  a __ a  '.
[19:25] <PhoulJAOF9K> .'  a __ a  '.
[19:25] <PhoulJAOF9K> .'  a __ a  '.
[19:25] <PhoulJAOF9K> .--'\   '-'  '-'    /'--.
[19:25] <PhoulJAOF9K> .--'\   '-'  '-'    /'--.
[19:25] <PhoulJAOF9K> .--'\   '-'  '-'    /'--.
[19:25] <PhoulJAOF9K> .--'\   '-'  '-'    /'--.
[19:25] <PhoulJAOF9K> .--'\   '-'  '-'    /'--.
[19:25] <PhoulJAOF9K> .--'\   '-'  '-'    /'--.
[19:25] <PhoulJAOF9K> .--'\   '-'  '-'    /'--.
[19:25] <PhoulJAOF9K> _>.__  -- _.-  `;
[19:25] <PhoulJAOF9K> _>.__  -- _.-  `;
[19:25] <PhoulJAOF9K> _>.__  -- _.-  `;
[19:25] <PhoulJAOF9K> _>.__  -- _.-  `;
[19:25] <PhoulJAOF9K> _>.__  -- _.-  `;
[19:25] <PhoulJAOF9K> _>.__  -- _.-  `;
[19:25] <PhoulJAOF9K> _>.__  -- _.-  `;
[19:25] <PhoulJAOF9K> .' _     __/     _/
[19:25] <PhoulJAOF9K> .' _     __/     _/
[19:25] <PhoulJAOF9K> .' _     __/     _/
[19:25] <PhoulJAOF9K> .' _     __/     _/
[19:25] <PhoulJAOF9K> '-,.__/  _   .-.  ;|_
[19:25] <PhoulJAOF9K> '-,.__/  _   .-.  ;|_
[19:25] <PhoulJAOF9K> '-,.__/  _   .-.  ;|_
[19:25] <PhoulJAOF9K> '-,.__/  _   .-.  ;|_
[19:25] <PhoulJAOF9K> '-,.__/  _   .-.  ;|_
[19:25] <PhoulJAOF9K> '-,.__/  _   .-.  ;|_
[19:25] <PhoulJAOF9K> '-,.__/  _   .-.  ;|_
[19:25] <PhoulJAOF9K> /` `|| _/ `\/_  \_|| `\
[19:25] <PhoulJAOF9K> /` `|| _/ `\/_  \_|| `\
[19:25] <PhoulJAOF9K> /` `|| _/ `\/_  \_|| `\
[19:25] <PhoulJAOF9K> /` `|| _/ `\/_  \_|| `\
[19:25] <PhoulJAOF9K> /` `|| _/ `\/_  \_|| `\
[19:25] <PhoulJAOF9K> /` `|| _/ `\/_  \_|| `\
[19:25] <PhoulJAOF9K> /` `|| _/ `\/_  \_|| `\
[19:25] <PhoulJAOF9K> |    ||/ \-./` \ / ||   |
[19:25] <PhoulJAOF9K> |    ||/ \-./` \ / ||   |
[19:25] <PhoulJAOF9K> |    ||/ \-./` \ / ||   |
[19:25] <PhoulJAOF9K> |    ||/ \-./` \ / ||   |
[19:26] <PhoulJAOF9K> jgs .'  \ =  _= _ = _= /`\
[19:26] <PhoulJAOF9K> jgs .'  \ =  _= _ = _= /`\
[19:26] <PhoulJAOF9K> jgs .'  \ =  _= _ = _= /`\
[19:26] <PhoulJAOF9K> jgs .'  \ =  _= _ = _= /`\
[19:26] <PhoulJAOF9K> jgs .'  \ =  _= _ = _= /`\
[19:26] <PhoulJAOF9K> jgs .'  \ =  _= _ = _= /`\
[19:26] <PhoulJAOF9K> jgs .'  \ =  _= _ = _= /`\
[19:26] <PhoulJAOF9K> /     `-;----=--;--'   \
[19:26] <PhoulJAOF9K> /     `-;----=--;--'   \
[19:26] <PhoulJAOF9K> /     `-;----=--;--'   \
[19:26] <PhoulJAOF9K> /     `-;----=--;--'   \
[19:26] <PhoulJAOF9K> /     `-;----=--;--'   \
[19:26] <PhoulJAOF9K> /     `-;----=--;--'   \
[19:26] <PhoulJAOF9K> /     `-;----=--;--'   \
[19:26] <PhoulJAOF9K> \    _.-'        '.    /
[19:26] <PhoulJAOF9K> \    _.-'        '.    /
[19:26] <PhoulJAOF9K> \    _.-'        '.    /
[19:26] <PhoulJAOF9K> \    _.-'        '.    /
[19:26] <PhoulJAOF9K> l t x d a   l a g a r c i a   V o l u n d   m i k e - z a l   A z t e c 0 3   b a l d e r s o n   l e d _ i r 2 2   D e n B e i r e n _   f a t d r a g o n   P e s t   N e o 4   k i r k l a n d   V e r y _ s l o w   c o m p d o c   p m a t u l i s _ _   k n e e k i   F r e e j a c k   k a r l t h a n e   n e i l o y   N i z u m z e n   D i e m u z i   p a t d k - l p   v 1 2 a m l   m e m i n e m y _   T J -   b e a t z z  
[19:26] <PhoulJAOF9K> ltxda lagarcia Volund mike-zal Aztec03 balderson led_ir22 DenBeiren_ fatdragon Pest Neo4 kirkland Very_slow compdoc pmatulis__ kneeki Freejack karlthane neiloy Nizumzen Diemuzi patdk-lp v12aml meminemy_ TJ- beatzz Aison adac disposable2 mikal Oatmeal ptx0 mhache m_tadeu y0sh lordievader ktosiek trevor_s DalekSec Thumpxr marlinc compuguy freakyy soren_ jgornick_ tdn apw Piper-Off logan- vtapia pjdc a1berto dino82 Mercury_Vap
[19:27] <Volund> ....if you say so man
[19:27] <Volund> wtf was that ASCII bomb supposed to be anyways
[19:39] <dpb1> ah, I'm close
[19:39] <dpb1> some kind of mouse?
[19:40] <dpb1> https://paste.ubuntu.com/p/rQmzKzd23d/
[19:43] <qman__> my guess is an easter bunny
[19:58] <gunix> when you spam, at least spam right
[21:15] <gunix> any idea why "d-i netcfg/choose_interface select eno1" is not picking eno1 ?
[21:15] <gunix> i get an option to select the primary network interface
[21:15] <gunix> through the setup
[21:18] <nacc> gunix: is it actually called eno1 at that point?
[21:19] <gunix> let me try to screen picture it for you
[21:21] <gunix> nacc: https://ibb.co/muaWAS
[21:22] <gunix> nacc: already tryed to add it to append too: https://bpaste.net/show/90dded721504
[21:22] <gunix> but no idea if i did something wrong or not
[21:22] <nacc> gunix: how are you serving your preseed ?
[21:22] <gunix> nacc: it's part of the .iso
[21:23] <gunix> i rebuild the iso with the preseed as part of it
[21:23] <nacc> gunix: ok, you might need to preseed more (iirc, it prompts unless you pressed something else) -- google for NQA preseed
[21:23] <powersj> you can also look at the syslog to see why it asked you a question
[21:23] <nacc> powersj: ah nice
[21:24] <powersj> it should say something like "X not answered", "asking..." or something like that
[21:24] <powersj> although your verbosity may need to be turned up for that
[21:24] <powersj> that's how we debug the ISO smoke tests when we have issues
[21:24] <gunix> nacc: https://help.ubuntu.com/community/Cobbler/Preseed
[21:24] <gunix> here he configures it probably for 1 single interface and that's why it works with no option
[21:26] <nacc> gunix: i'd try what powersj is saying to debug
[21:26] <gunix> powersj: how do i turn on verbosity ?
[21:27] <powersj> gunix: first take a look at 'syslog' on the system during an install and see what it says it may already have enough
[21:27] <gunix> powersj: ok, dropping to shell\
[21:28] <gunix> how am i supposed to scroll up without less ? :D
[21:29] <gunix> it doesn't accept shift + pageup :D
[21:30] <gunix> cat syslog | grep -i net | more
[21:30] <gunix> ...
[21:30] <powersj> if you are using less you can use 'u' for up half a page and 'd' for down
[21:31] <powersj> the issue will be towards the very end, should be last 50 or so messages unless you have tried things since then
[21:32] <gunix> warning couldn't read wpasupplicant pid file, not trying to kill
[21:32] <gunix> info: couldn't find BOOTIF= entry in /proc/cmdline
[21:33] <gunix> nothing else that looks suspicious
[21:35] <powersj> gunix: are you seeing any messages with 'debconf' in the syslog: https://paste.ubuntu.com/p/ZJDRxhg92N/
[21:36] <powersj> there would be 100s of messages if there are
[21:37] <powersj> it is very, very verbose
[21:38] <gunix> powersj: i rebooted :D
[21:38] <powersj> lol
[21:38] <gunix> i need to wait 10 mins
[21:39] <powersj> in either case if there are no messages you can rebuild your ISO with the following added to the append option, so instead of 'quiet' have 'DEBCONF_DEBUG=developer'
[21:39] <gunix> powersj: i will grep for debconf and netcfg next time
[21:39] <powersj> and that will make sure these messages show up
[21:39] <powersj> it is perfect for debugging these types of issues
[21:39] <powersj> it will spit out each question that is asked how it is responded to and if something comes up or a question is not answered it will be right there in syslog
[21:39] <gunix> powersj: how do you know this stuff? this is nowhere on the internet :D
[21:40] <powersj> gotta ask the right question
[21:40] <powersj> ;)
[21:41] <powersj> and because I foster the ubuntu server ISO tests I had to pick up some ISO/debconf know-how
[21:41] <gunix> what does foster mean? :D
[21:41] <powersj> nurture :) own?
[21:42] <gunix> yea :D
[21:42] <powersj> take care of
[21:42] <gunix> yea
[21:42] <gunix> you work at canonical ?
[21:42] <powersj> yes
[21:42] <gunix> nice!
[21:44] <gunix> not enough debconf messages ///
[22:02] <gunix> powersj: i have only 4 messages from debconf
[22:03] <gunix> all for setting up debconf/language
[22:04] <nacc> rbasak: dpb1: up to 58% coverage ... and i am almost finished getting actual commit-level comparison correct
[22:04] <nacc> (which is our hash-level testsing)
[22:04] <powersj> gunix: heh well then you are going to want to rebuild your ISO with that debug option
[22:04] <gunix> powersj: i did
[22:04] <powersj> hmm
[22:04] <gunix> powersj: now i am getting confused about the iso
[22:09] <gunix> powersj: yes, i was not using the right iso. great.
[22:09] <powersj> heh
[22:09] <gunix> what can i say, at least i learned something ...
[22:21] <nacc> powersj: do you have a moment for some mock assistance?
[22:22] <powersj> nacc: yeah - however rharper may be more useful :)
[22:22] <nacc> powersj: rharper: to ensure Git commit hashes are consistent, I want to stub out some functions that we use for generating the commit and tag messages
[22:23] <nacc> powersj: rharper: so I am trying to use unittest.mock.patch() as a decorator to my test function
[22:23] <nacc> but since this in a file that does 'import gitubuntu.importer as target', i think gitubuntu.importer has already been imported, so patching it has no effect when i'm trying to patch a module-level method
[22:28] <powersj> link to the file? Were you trying something like: @patch('gitubuntu.importer.method_name')
[22:28] <gunix> powersj: it powered through the entire install now. it's booting the system on 2 servers atm
[22:29] <powersj> gunix: \o/
[22:29] <powersj> gunix: what did you have to fix?
[22:29] <gunix> nacc: powersj: dpb1: thank you for your help these days
[22:29] <nacc> gunix: yw
[22:29] <nacc> powersj: one memoent
[22:29] <nacc> powersj: and yes
[22:29] <gunix> powersj: well a lot of stuff a long the way. the last part was an error in the documentation that had the right text in the hyperlink but was pointing to the wrong link ...
[22:30] <powersj> gunix: so the debug messages were helpful?
[22:30] <nacc> powersj: rharper: http://paste.ubuntu.com/p/Snhcg9HTvR/
[22:30] <gunix> powersj: so it actually said ubuntu16-preseed.iso but it was pointing to ubuntu-preseed.iso :D
[22:30] <nacc> powersj: lines 598/599
[22:30] <gunix> powersj: it was helpful you asked me to look for the debug message. because when i configured them and they didn't show up, it was clear that i was using the wrong iso :)))
[22:31] <nacc> powersj: and i'm trying to use the decorator, because if i do it inline in the testmethod, it leaks to later test methods
[22:31] <nacc> powersj: i could use a context manager instead, i guess
[22:31] <nacc> just feels like it shouldn't be necessary
[22:33] <powersj> nacc: currently that test just fails as your return values are not set or does it even run?
[22:34] <nacc> powersj: it runs, but the mock has no effect
[22:34] <nacc> (afaict)
[22:40] <nacc> powersj: hold on may be PEBKAC
[22:43] <nacc> powersj: ok, it worked, nm
[22:43] <nacc> powersj: sorry!
[22:43] <powersj> nacc: curious what was up
[22:47] <nacc> powersj: i had made a typo, and so i had 6 failing tests instead of 5, the 6th was a red herring as it wasn't fully patched
[22:47] <nacc> s o it was showing me irrelevant, but bad data
[22:47] <powersj> ok :)
[23:40] <hashwagon> What's the best way to flush dns on 16.04 server?