[00:11] <deadmund> I followed a guide and made a .deb package.  How can I submit it to be included in the Ubuntu repositories?
[00:11] <deadmund> I think it's a hot mess!  But I tested it and it does appear to work right now.
[00:14] <ekaj> running ubuntu 18.04, trying the 2nd answer located here, python script in /bin/myscript.py isn't running. does it also need to be executable even if i call "python /bin/myscript.py" ? https://askubuntu.com/questions/814/how-to-run-scripts-on-start-up
[00:15] <sarnold> ekaj: what errors do you get?
[00:15] <pragmaticenigma> deadmund: You may want to start with searching and finding documentation that readily available: https://wiki.ubuntu.com/Upstream
[00:16] <ekaj> well i'm used to centos and there being a /var/log/cron log, but i don't see that file. also, i don't see the output in ps
[00:16] <ekaj> so no errors that i've found yet sarnold
[00:16] <deadmund> pragmaticenigma: thanks
[00:16] <sarnold> ekaj: aha, cron usually mails errors to people, look in /var/spool/mail/root or similar
[00:17] <ekaj> hold on
[00:17] <pragmaticenigma> ekaj: which python version is your script targeting? Also, /bin is not where you should be placing your own stuff
[00:17] <ekaj> in syslog i do see "CRON[413]: (root) CMD (python /bin/myscript.py &)"
[00:17] <ekaj> 2.7
[00:17] <ekaj> it's currently in bin because i was following a different guide that didn't work
[00:17] <ekaj> it's usually in /home/user
[00:18] <ekaj> also nothing in /var/spool/mail
[00:18] <ekaj> i went ahead and moved it back to /home and updated crontab
[00:18] <sarnold> ekaj: try taking that & off
[00:19] <pragmaticenigma> ekaj: You should be able to run a python script from your home folder. If I'm planning on something being more perm, I use /opt
[00:19] <ekaj> rebooting, 1s
[00:20] <pragmaticenigma> ekaj: Yes, sarnold is right... don't launch your script with "&" at the end until you have confirmed it is actually working, and for sure do not use & in a cron tass
[00:20] <pragmaticenigma> *task
[00:20] <mattfly> does anyone know how can i get the ip of a android phone connected thru kde connect from my computer?
[00:21] <ekaj> no change removing the &
[00:21] <pragmaticenigma> mattfly: Is the device connected via USB?
[00:21] <mattfly> wifi
[00:21] <pragmaticenigma> ekaj: does the script have any print statements?
[00:21] <Ryvius> ekaj: I think the systemd solution is more modern, maybe give it a try
[00:21] <ekaj> pragmaticenigma yes
[00:22] <ekaj> but it prints to a file as well
[00:22] <pragmaticenigma> Ryvius: that's a nice suggestions, but we have to get the script executing first
[00:22] <pragmaticenigma> ekaj: Is the script a direct copy from the CentOS box?
[00:22] <Ryvius> It executes if he runs it manually, yes?
[00:22] <pragmaticenigma> Ryvius: no, it's not
[00:23] <ekaj> pragmaticenigma no, no centos boxes were used. it was made on the box i'm trying to get it to run on boot
[00:23] <ekaj> and yes it runs manually
[00:23] <Ryvius> So he's trying to autorun something that doesn't work at all?
[00:23] <pragmaticenigma> ekaj: is it possible to post the script to paste.ubuntu.com?
[00:23] <ekaj> the script runs and works fine
[00:23] <pragmaticenigma> ekaj: or explain what the script does?
[00:23] <sarnold> I didn't love how *one* line on crontab turned into multiple systemd files
[00:23] <ekaj> essentially records video when a door is opened, uploads the script via scp when door closes, repeats
[00:24] <ekaj> plus a bunch of error checking
[00:24] <ekaj> so i noticed it's breaking when it tries to establish an ssh connection
[00:25] <sarnold> ekaj: try adding something like writing the date to a file in /var/log/sarnold in the first or second line of the script -- maybe it's executing, but just not working when run through cron
[00:25] <ekaj> it is executing, it's failing when it tries to establish an ssh connection
[00:25] <sarnold> aha there we go :)
[00:25] <pragmaticenigma> ekaj: what are you using to establish the SSH connection? A library or system call?
[00:26] <ekaj> before i do the try/catch for my ssh connections i have an "Attempting ssh connection.." line, but nothing is written after that
[00:26] <ekaj> paramiko
[00:27] <ekaj> worst case scenario i can just autologin the user i think? But I'd prefer not to
[00:28] <pragmaticenigma> ekaj: It might not be so much a difference in platforms as much as the progression of certain elements moving into userspace and attempts to ensure the system is secured when no user is active
[00:29] <pragmaticenigma> ekaj: I'm not familiar with paramiko... I typically use subprocess to make an outgoing connection
[00:30] <ekaj> i had assumed it was something userspace related
[00:30] <ekaj> is there a way to just auto-login the user then?
[00:31] <pragmaticenigma> ekaj: You can auto login a user... should be in the settings control panel, Users
[00:31] <ekaj> no gui :p
[00:31] <pragmaticenigma> oh
[00:31] <pragmaticenigma> well... that's a bit trickier
[00:31] <ekaj> intention is for this device (when it works) to just sit somewhere forever and do this
[00:31] <ekaj> so didn't bother installing one
[00:33] <pragmaticenigma> ekaj: I can understand that philosophy... the intention is for it to run as a system service though?
[00:33] <pragmaticenigma> or "like" a system service
[00:33] <ekaj> i don't know, i was just going to have the user run the process
[00:33] <ekaj> doesn't matter which user
[00:33] <ekaj> all of the paths in the file are hardcoded
[00:34] <sarnold> ekaj: another possibility is to use incron or systemd units: https://www.freedesktop.org/software/systemd/man/systemd.path.html
[00:34] <ekaj> i had just stumbled on this as well https://selivan.github.io/2017/12/27/console-autologin-systemd-ubuntu.html
[00:35] <sarnold> ekaj: that way you could get the files a lot faster than waiting a full minute, *and* it wouldn't run the script every minute, 1440 times a day, just when needed
[00:35] <pragmaticenigma> ekaj: in truth, if you could get that running, I suspect you could get your python script going
[00:35] <ekaj> it doesn't run every minute, it runs a while true: loop and constantly runs
[00:36] <sarnold> eek. that might be way worse, depending on what you're doing :)
[00:36] <ekaj> it has to catch a door as soon as it opens, so if i had it on a timer i could potentially miss people
[00:37] <ekaj> a reed switch is tied to some of the gpio pins on the pi
[00:37] <ekaj> pragmaticenigma were you referring to the autologin?
[00:38] <pragmaticenigma> ywa
[00:38] <pragmaticenigma> yes
[00:38] <ekaj> shoulda just bought a damn camera lol
[00:38] <sarnold> :)
[00:39] <ekaj> it's been fun though, learned quite a bit
[00:39] <pragmaticenigma> ekaj: or look into the project "motion" which does a lot of that stuff
[00:39] <ekaj> it doesn't need motion detection though.. i woulda used that one if it did
[00:40] <pragmaticenigma> i use "motion" for my cameras to detect and record when it sense motion. I believe a camera can be configured to trigger with switches as well
[00:40] <ekaj> the reason it's tied to a reed switch is that the only time people use this particular door is when something is being stolen, or an emergency
[00:40] <ekaj> but traffic passes by it on a regular basis
[00:42] <pragmaticenigma> kind of sounds like if it was working before... why change anything with the OS?
[00:44] <ekaj> i had to manually run it before
[00:44] <ekaj> also, this link worked, which is odd because i didn't set a password https://selivan.github.io/2017/12/27/console-autologin-systemd-ubuntu.html
[00:48] <ekaj> well script runs but now there's a new error yay.
[00:50] <sarnold> yay :D
[00:53] <ekaj> interesting, receiving two errors, seems to maybe be some type of race condition
[00:54] <ekaj> but anyways, my ubuntu specific part is solved, thanks all for the help
[00:55] <ekaj> oh fixed it.. either the network service hasn't started yet is one cause, other cause is because i didnt' remove the script in root's crontab, so root made the file in /home/user/logfile.log, so it said permission denied and failed
[00:56] <ekaj> when user tried to run
[00:59] <elPuma> I recently installed the email client seamonkey and noticed that the icon does not remain in the dock after I close out of the app. I right-clicked the icon in the dock while seamonkey was running but there was no option to "add to favorites". Any ideas?
[01:02] <elPuma> For context, this is SeaMonkey 2.49.4 on Ubuntu 19.04 x86_64
[01:13] <elPuma> The documentation is bit outdated. It mentions GNOME panel.
[01:15] <uRock> "gnome panel" it's been a while since I heard that one
[01:16] <uRock> elPuma, You're trying to add the launcher to the bar?
[01:17] <elPuma> , uRock yes exactly
[01:17] <uRock> elPuma,  This might give you a new gray hair or two. https://linuxconfig.org/how-to-create-desktop-shortcut-launcher-on-ubuntu-18-04-bionic-beaver-linux
[01:19] <elPuma> , uRock word thanks.
[01:20] <uRock> elPuma, anytime
[01:23] <elPuma> does the foo.desktop file have to be saved in `~/Desktop`?
[01:25] <elPuma> whoops, ignore backticks. I ask because I try to remove or hide superfluous default directories so they don't clutter my home. But
[01:28] <uRock> elPuma, I'm looking. I am pretty sure they go somewhere else
[01:28] <elPuma> this seems necessary.
[01:32] <uRock> elPuma, should be able to drop them in /usr/share/applications/
[01:32] <uRock> That's where the rest of them are.
[01:34] <elPuma> The .desktop files for the launcher icons are typically saved in /usr/share/applications/ ?
[01:39] <elPuma> Update: Partial success. The icon is in the applications menu. So I can access it with the super button now. Still can't add it to the dock, but I'm good with this. I just wanted an easy option to launch the app in case I forgot the command I created for in .bash_aliases
[01:39] <Bashing-om> elPuma: On xfce4 here - and yes /usr/share/applications/ :)
[01:40] <elPuma> The logo is pretty ugly anyways lol
[01:46] <elPuma> Wait nevermind. I can add to favorites from the super/applications menu. Everything is right again. It's weird how so much of what I learn about unix related tools stems from a desire to change some minor cosmetic thing, or to save a few keystrokes in bash
[02:03] <ekaj> hunter
[02:09] <slyrobot> tomreyn any development for https://bugs.launchpad.net/bugs/1833829 ?
[02:44] <maxcell_> I'm trying to activate the BFQ scheduler via grub boot options, for kernel 4.21>, but it isn't working on ubuntu.
[02:46] <sarnold> maxcell_: do you get any error messages?
[02:47] <maxcell_> sarnold, no it boots fine but when i type the command to show what's going on i only have MQ-Deadline and None activated.
[02:47] <maxcell_> I need bfq-mq or bfq for my rotate disk
[02:47] <OerHeks> https://wiki.ubuntu.com/Kernel/Reference/IOSchedulers
[02:47] <OerHeks> For Ubuntu 19.10 (Linux 4.20) onwards, multiqueue is enabled by default providing the bfq, kyber, mq-deadline and none I/O schedulers.
[02:48] <maxcell_> i don't have bfq here, only mq-deadline and none OerHeks
[02:48] <maxcell_> let me show you.
[02:48] <sarnold> maxcell_: try "modprobe bfq" then try setting your scheduler again
[02:48] <maxcell_> sarnold, OerHeks https://paste.ubuntu.com/p/7PpZw6dPzt/
[02:48] <maxcell_> sarnold, ok
[02:49] <maxcell_> yay worked
[02:49] <sarnold> woot
[02:49] <maxcell_> how i can make bfq goes up on the boot?
[02:49] <maxcell_> thank you very much sarnold
[02:50] <maxcell_> hehe
[02:50] <sarnold> maxcell_: sticking a file in /etc/modules-load.d/ with the module name will be enough to get it loaded, but I'm not sure if there's a similarly polite way to change it for all your devices automatically or not
[02:51] <maxcell_> sarnold, that is https://community.chakralinux.org/t/how-to-enable-the-bfq-i-o-scheduler-on-kernel-4-12/6418 an udev rule on this website to do that
[02:52] <sarnold> maxcell_: oh cool!
[02:52] <maxcell_> i've used many times it works
[02:53] <maxcell_> you only need to make the code right by changing the deadline to mq-deadline and cfq to bfq
[02:53] <maxcell_> also the first bfq is actually mq-deadline
[02:55] <maxcell_> gonna reboot to test
[02:58] <maxcell_> sarnold, https://paste.ubuntu.com/p/Y6zSTkGjj6/
[02:58] <sarnold> huzzah!
[02:58] <maxcell_> o/
[02:58] <sarnold> thanks maxcell_ :)
[02:58] <maxcell_> i thank you haha
[03:10] <maxcell_> there is any way to activate top hot corner on ubuntu?
[03:11] <sarnold> that's way outside my experience, but there's some extensions on https://extensions.gnome.org/# that mention hot corners and hot dogs
[03:12] <sarnold> time to go grab some dinner, have fun :)
[03:12] <maxcell_> ok ok
[03:12] <maxcell_> have a good one
[03:12] <OerHeks> gnome-tweaks
[03:12] <OerHeks> https://www.fosslinux.com/4184/how-to-enable-hot-corners-in-ubuntu-18-04.htm
[03:13] <maxcell_> OerHeks, i'm on this website lol, but can we install gnome-extensions from outside on this new gnome?
[03:13] <maxcell_> i thought it was blocked (only way by downloading via apt-get or so)
[03:14] <maxcell_> OerHeks, i'm going to try
[03:14] <OerHeks> ‘custom hot corners’ in softwarecenter
[03:15] <OerHeks> and then enable / tweak it with gnome-tweaks
[03:15] <maxcell_> nice
[03:16] <maxcell_> worked
[03:16] <maxcell_> thanks dude
[03:17] <maxcell_> i love how friendly ubuntu are
[03:17] <maxcell_> and things just works the way you want to
[03:36] <mallu0987> On ubuntu18.04 do scripts in /etc/init.d will get run after a reboot?
[03:37] <metacontent> yes
[03:38] <mallu0987> metacontent where in the boot sequence scripts in init.d get triggered?
[03:44] <metacontent> mallu0987: I'm not sure, but check out `man systemd` for more information
[03:44] <mallu0987> ok thanks
[04:09] <aneon> I am trying to run a program thru crontab with - @reboot /bin/sleep 300 && /usr/bin/evebox -v -D /tmp --datastore sqlite --input /var/log/suricata/eve.json &>/dev/null but it didn't work, is the crontab syntax correct?
[04:34] <aneon> let me reboot and check modified crontab
[04:58] <aneon> uhh it didn't work
[04:58] <Gallomimia> hey. is there a way i can make firefox NOT quit after the last window closes? very annoying. then it always opens the last tab i already closed when i open something else.... (ubuntu 19.04)
[04:58] <aneon> created a startup script from KDE and that failed too
[04:58] <aneon> script is working from console
[05:01] <aneon> looks like I need to create a service file and execute the script from there
[05:03] <Gallomimia> running a script from crontab didn't work?
[05:03] <Gallomimia> like... use a text editor, like vi
[05:06] <HaMsTeRs> thanks, I finally managed to got it working
[05:07] <HaMsTeRs> it's because I entered the wrong user name
[05:07] <HaMsTeRs> thanks
[05:10] <aneon> Gallomimia: yeah, it didn't
[05:12] <CountryfiedLinux> howdy
[05:13] <CountryfiedLinux> Is System Profile reliable for benchmark tests when testing different system loads?
[05:38] <sid21g> Guys I have just set up Ubuntu 18.04 dual boot alongside Windows10, everything was smooth when i was loging in Ubuntu after the last time I logged in Windows now when i try Ubuntu I am unable to reach the login screen
[05:38] <sid21g> This is the error loghttps://ibb.co/Bg8YFwK
[05:41] <CountryfiedLinux> Why do people still recommend dual-booting? It's always safer to use a separate drive.
[05:42] <Barabacha> whenever I ssh into my Ubuntu server, the console prints "Computer reboot required", can I check why does it need to reboot?
[05:42] <sid21g> CountryfiedLinux: Maybe coz they are scared of fucking up with linux and want smething to work with in times of crisis
[05:43] <sid21g> *log https://ibb.co/Bg8YFwK
[05:43] <CountryfiedLinux> I've been dual-burned in the past and would never recommend dual-booting to anyone.
[05:45] <aneon> well now it works via systemd
[05:50] <sid21g> @aneon how does it change the boot process? Does it make dual boot difficult to run?
[05:51] <aneon> lately, the dual boot stuff doesn't work
[05:51] <aneon> you need to delete secure boot keys and set it to "other os" from bios
[05:51] <aneon> secure boot is garbage
[05:53] <gogeta> @aneon not relly my pc you just set it from hp keys to custom key
[05:53] <aneon> some people think adding "secure" to anything and then breaking the stuff is the right way
[05:53] <gogeta> you dont need to deleted anything
[05:53] <sid21g> gogeta: what should be done
[05:53] <sid21g> ?
[05:53] <aneon> as a precaution, on my tower I removed keys
[05:54] <gogeta> @sid21gyou bios under securty should have the abilty to set it to use custom keys
[05:54] <gogeta> then it will booot under efi
[05:54] <gogeta> relly depends on the pc
[05:54] <gogeta> some you have to use legicy bios mode
[05:55] <aneon> anyway I get back to my tasks
[05:55] <gogeta> also the usb stick should have been set to gpt efi
[05:57] <gogeta> @aneon should not do that as that stores your windows key if you every wanna go back or dual boot
[05:57] <CountryfiedLinux> I'm confused with PC benchmark info. Which part is higher is better, or lower is better? Should I assume if an atom processor has a lower number in a benchmark than my i7 that higher is better, or vice-versa?
[05:57] <CountryfiedLinux> It shows my info and other hardware below mine in each category.
[05:58] <gogeta> @CountryfiedLinux depends on the softwhere and yes the i7 is better lol
[05:59] <CountryfiedLinux> gogeta, I know it's better, but I'm trying to figure out how to read these benchmarks as to which benchmark parts are higher is better and which are lower is better. If the weaker processor has the lower number does that mean that higher is better, and if the weaker processor has the higher number does that mean that higher is better?
[05:59] <lotuspsychje> we dont take polls here CountryfiedLinux
[05:59] <CountryfiedLinux> That second part should be lower is better
[05:59] <lotuspsychje> focus on actual ubuntu support questions please
[06:00] <CountryfiedLinux> lotuspsychje, I'm not asking for polling, just trying to figure out how to read these benchmarks. It doesn't specify each part being higher is better or lower is better.
[06:00] <lotuspsychje> CountryfiedLinux: hardware & benchmarking there are other channels for, like ##hardware
[06:01] <Sweedish> @gogeta i7 is faster. "better" depends upon your criteria. @CountryfiedLinux it depends . some benchmark graphics have lower is better, others have higher is better. can you link us to an concrete example?
[06:02] <aneon> any ideas on how to kill a daemon & zombies, my program doesn't have exit or shutdown option
[06:03] <CountryfiedLinux> Sweedish, https://pastebin.com/faBpwdF6 I don't know which ones represent higher is better and which ones represent lower is better.
[06:03] <CountryfiedLinux> I assume that a lower powered processor with a higher number would indicate that lower is better, and if it has a lower number that would indicate higher is better.
[06:03] <lotuspsychje> !offtopic | Sweedish CountryfiedLinux
[06:04] <lotuspsychje> move to the right channels please
[06:04] <CountryfiedLinux> I'm almost done lotuspsychje just give me a minute please. It's not very busy here right now. Not likely to get help elsewhere atm.
[06:04] <ayekat> aneon: zombies are already "dead" - they just need to be reaped by their parent process (typically by calling wait/waitpid) - otherwise they'll keep occupying a PID
[06:04] <aneon> okay, I will try /bin/kill -9 $MAINPID
[06:04] <ayekat> aneon: what's the program in question? is it a service/daemon?
[06:05] <lotuspsychje> CountryfiedLinux: its still not ubuntu related, if you want to continue, pm or meet each other in better channel
[06:05] <ayekat> aneon: yeah no, don't do that
[06:05] <aneon> ayekat: dragonfly-mle
[06:05] <ayekat> aneon: how do you start it?
[06:06] <aneon> ayekat: /usr/local/dragonfly-mle/bin/dragonfly-mle -r /usr/local/dragonfly-mle -p -v
[06:06] <ayekat> aneon: does it background itself? or why do you need to kill it (i.e. does ^C not just quit it?)
[06:06] <aneon> kill it
[06:07] <aneon> doesn't bg
[06:07] <ayekat> so where's the problem?
[06:07] <aneon> I cant start it later since it chroots
[06:08] <aneon> I can start it but it doesn't work well
[06:09] <ayekat> that sentence about chroot doesn't make much sense to me - and what do you mean with "doesn't work well"?
[06:10] <aneon> when I try to start again it errors saying can not enter chroot, there are zombies
[06:10] <aneon> so I kill zombies first
[06:10] <aneon> I am trying to automate as much as possible
[06:10] <ayekat> ... sounds like badly written software to me
[06:11] <aneon> primarily BSD-ish
[06:11] <aneon> not everyone get it working on Linux
[06:12] <aneon> there is a docker build but I am trying to avoid it since it destroys config files
[06:14] <furaidi> does anyone checked installation current stable on laptops with eMMc already?
[06:14] <sid21g> Hello aneon did what we discussed here but still no login screen for Ubuntu
[06:14] <ayekat> uh... if something destroyed config files (or any files for that matter), I probably wouldn't decide to run it directly on my host rather than containerised or virtualised...
[06:15] <ayekat> sid21g: do you get a GRUB menu when the system starts?
[06:15] <ayekat> sid21g: (or if not, do you know how to make it appear?)
[06:15] <sid21g> yes! problem starts after I choose ubuntu
[06:16] <ayekat> sid21g: try hitting `e` (I believe? it's marked at the bottom of the screen) to get into the boot arguments editor, and pass systemd.unit=multiuser.target to the kernel command line
[06:17] <ayekat> this way at least you get a TTY login, and can try to diagnose things from the command line (instead of staring at a frozen boot screen)
[06:17] <ayekat> sid21g: wait, not
[06:17] <ayekat> it's systemd.unit=multi-user.target (with a dash)
[06:18] <aneon> ayekat: I want it to not create directories in wrong places, when I change the config and initiate docker build, some strange stuff creates directories in /opt and causes confusion. Anyway, I am not using docker; it doesn't appeal to me
[06:20] <ayekat> aneon: I see - but that program looks like quite a complex and fragile beast to me, so I'd consider using docker the lesser evil
[06:20] <ayekat> but anyway, zombie processes are annoying, and I don't think you can simply kill them away
[06:23] <sid21g> ayekat: this way at least you get a TTY login, and can try to diagnose things from the command line, i wish i could debug
[06:23] <aneon> lets see, I am tryin to figure out machine learning in security. It is shallow but I am trying to see what it does exactly
[06:24] <ayekat> sid21g: well, do you get a login screen at least? or does it get stuck again?
[06:25] <sid21g> Let me reboot and test
[06:25] <ayekat> sid21g: you could look at the journal from the previous boot (i.e. `journalctl -b -1`), and maybe it tells you what happened when it reached the graphical stage
[06:26] <ayekat> aneon: well, I have experience in neither one nor the other, so I'm afraid I won't be able to help further than "not waiting for child processes is bad" :-/
[06:27] <aneon> hopefully I will fix it
[06:28] <bryanroderyck> hello , can i upgrade ubuntu 16.04 to ubutu 18 ?
[06:29] <ayekat> yes
[06:30] <bryanroderyck> ayekat, what is the best way?
[06:31] <ayekat> I'm not sufficiently proficient with ubuntu to give a good answer to that
[06:32] <bryanroderyck> ayekat, ok thanks
[06:32] <ayekat> bryanroderyck: I know that there is the graphical upgrade tool, and there's a command line tool (`do-upgrade` or something), and they both seem to work fine
[06:32] <ayekat> I mean... "fine" - modulo all the issues that may arise with an ubuntu upgrade, that is
[06:33] <ayekat> bryanroderyck: ah, `do-release-upgrade`, apparently - https://help.ubuntu.com/lts/serverguide/installing-upgrading.html
[06:52] <anonymip> can someone please help me on how to chanche hostname on Ubunti 18.04.2
[06:54] <sid21g> nothing seems to work
[06:54] <anonymip> I've tried both using hostnamectl set-hostname <new_hostname> and also manually editing /etc/hostname and /etc/hosts, but when I reboot the hostname is back to the previous one
[06:55] <ayekat> anonymip: so after editing /etc/hostname and rebooting, the content of /etc/hostname is back to the old one...?
[06:55] <anonymip> yes
[06:55] <ayekat> that... doesn't sound right
[06:55] <anonymip> isn't that strange?
[06:57] <sid21g> @ayekat failed to type anything
[06:57] <anonymip> also when I do: sudo service hostname restart, I get: Failed to restart hostname.service: Unit hostname.service is masked.
[07:00] <ayekat> sid21g: where? do you get a TTY login screen or not?
[07:00] <sid21g> I did not
[07:01] <sid21g> https://ibb.co/Bg8YFwK
[07:01] <BuffaloWingVapor> When a user locks the computer screen, how would that affect rsync running in a terminal window (assuming computer is not set to suspend automatically)?
[07:01] <sid21g> this is what i see
[07:03] <ayekat> sid21g: that's what you see when you attempt to boot into the graphical session (at least that's the same picture you posted above)
[07:03] <Mead> sooo... someone posted a solution for a bug with 18.04 and Kodi https://bugs.launchpad.net/ubuntu/+source/kodi/+bug/1836828/comments/9  can anyone elaborate on this? It says I need to download a file and install it...  How do I install it?
[07:03] <ayekat> ... but I assume you see the same thing this time
[07:04] <sid21g> ayekat: I am unable to do anything
[07:04] <ayekat> sid21g: yes, if you get stuck at the same place, you can't do anything
[07:04] <sid21g> then whats the way forward?
[07:04] <ayekat> I'm out of ideas - not being able to boot to the TTY is pretty limiting
[07:05] <anonymip> hmm, I found this thread: https://ubuntuforums.org/showthread.php?t=2389098&page=2 , and removing  ubuntu cloud packages did the trick, now th new host name sticks.
[07:06] <ayekat> sid21g: what graphics card do you have?
[07:07] <sid21g> AMD Radeon R7 M360 and Intel HD Graphics 520
[07:07] <sid21g> ayekat:
[07:08] <ayekat> oh, two...
[07:08] <sid21g> Intel HD Graphics is the built in one
[07:09] <ayekat> I'm a bit confused that it stays stuck like this, though
[07:09] <sid21g> but it does stop at diferent stages
[07:09] <ayekat> I'd expect it to either just turn blank (and then it's a graphics issue, and booting to a TTY *should* work), or that systemd starts the timeout counter for whatever service is blocking
[07:09] <sid21g> i sent the similar one coz i thought it makes no difference
[07:10] <ayekat> but that it just stays blocked in the boot screen like that... then again, I'm really not familiar at all with those dual-graphics-card setups and their quirks (mode changes, etc.)
[07:10] <sid21g> let me sent you the latest
[07:10] <sid21g> I also think its the timeout counter
[07:11] <sid21g> https://ibb.co/1RwBqT0
[07:11] <sid21g> @ayekat this is how it looked this time
[07:11] <sid21g> https://ibb.co/1RwBqT0
[07:12] <ayekat> unless someone else has a better idea, I'd probably also try passing `nomodeset` to the kernel command line - but that's just a random suggestion
[07:13] <sid21g> but where can I do that?
[07:13] <sid21g> I cannot type anything
[07:13] <sid21g> ayekat:
[07:14] <ayekat> sid21g: it's a kernel command line option - you put it the same place where you put systemd.unit=multi-user.target
[07:14] <sid21g> but i was unable to put that too
[07:14] <ayekat> AH!
[07:14] <ayekat> so "boot to TTY" was actually never really attempted
[07:15] <sid21g> I am so sorry if I wasn't clear at any stage!
[07:15] <ayekat> sid21g: do you get a GRUB boot menu when you boot?
[07:15] <sid21g> yes I do get that and now I know i should open it in recovery mode
[07:15] <ayekat> uh... "recovery mode"?
[07:15] <sid21g> Ok am quite, you tell.
[07:16] <sid21g> grub is visible I have option to open Ubuntu/Windows
[07:16] <ayekat> anyway, at the bottom of the menu, there's typically some text that tells you which key allows you to edit the kernel command line (I think it's `e`, or maybe F10, or whatever)
[07:17] <ayekat> does it say anything there? if yes, press that, and you should be put into some minimalistic text editor interface
[07:17] <sid21g> give me a few I will try that right away
[07:17] <ayekat> tell me when you're there
[07:22] <tuxinator> hi everybody
[07:22] <tuxinator> does somebody have experience using cubic for live iso customization?
[07:41] <abbiya> how to purge docker logs when using journald as log driver ?
[07:41] <sid21g> https://ibb.co/qFwgyfR
[07:41] <sid21g> https://ibb.co/qFwgyfR
[07:43] <zamba> i don't know what i'm doing wrong, but i'm having terrible performance in my ubuntu desktop
[07:43] <sid21g> Output after running the journal comand https://ibb.co/jrymJNM
[07:44] <aneon> abbiya: truncate -s 0 /var/log/docker
[07:44] <zamba> and i seem to have the same problem with all my installations.. on the system i'm working on now loading a particular web page (probably with some js code) renders my computer totally useless.. the mouse cursor starts to freeze up and if i'm not quick to do ctrl + w to close the tab, the computer will spiral into a complete halt..
[07:45] <abbiya>  /var/log$ ls docker
[07:45] <abbiya> ls: cannot access 'docker': No such file or directory
[07:45] <aneon> it is somewhere /var/lib/ i think
[07:45] <aneon> search it
[07:46] <sid21g> Output after running the journal comand https://ibb.co/jrymJNM aneon
[07:46] <aneon> sid21g: I a not familiar with secure boot
[07:47] <abbiya> var/lib/docker is a directory full of different things
[07:48] <aneon> when I used to dualboot linux stuff on a single disk I used to install uEFI on MBR and other OS in legacy mode with their grub on /
[07:48] <aneon> abbiya: you need to run find and truncate
[07:49] <aneon> LOGDIR="/var/lib/docker"
[07:49] <ayekat> sid21g: GDM failing means you're still booting into graphical mode - did you add the systemd.unit=… option correctly? (see /proc/cmdline)
[07:49] <ayekat> sid21g: but anyway, now that you're in the journal, you can scroll down (with G you get to the end) - do you see anything useful there?
[07:50] <sid21g> its a 20k line output
[07:50] <aneon> and later make a loop
[07:50] <ayekat> sid21g: yeah, but the interesting part is at the end
[07:50] <sid21g> I doubt there is anyway to create an output file of it
[07:50] <aneon> or try this = find /var/lib/docker -type f -iname '*.log' -print0 | xargs -0 truncate -s0
[07:51] <ayekat> sid21g: you can `journalctl -b -1 >boot.log`, and then paste that
[07:51] <sid21g> @ayekat this is the end
[07:51] <sid21g> https://ibb.co/qFwgyfR
[07:51] <sid21g> @ayekat but where would that log saved and would it be accessible via windows?
[07:52] <ayekat> sid21g: no, but you can just use a paste service from ubuntu
[07:52] <ayekat> !paste
[07:52] <ayekat> hm... how does this bot work
[07:53] <ayekat> sid21g: journalctl -b -1 | curl -F 'f:1=<-' http://ix.io/
[07:53] <Mead>  someone posted a solution for a bug I have with with my 18.04 install and Kodi https://bugs.launchpad.net/ubuntu/+source/kodi/+bug/1836828/comments/9  it says to download and install libdrm-amdgpu1_2.4.95-1~18.04.1_amd64.deb  but in the link provided I don't see that file, how do I get that file and how do I install it?
[07:53] <sid21g> wow did not know that @ayekat this is life changing
[07:54] <ayekat> sid21g: there's dozens of paste services like those
[07:55] <ayekat> ... oh, they left
[07:56]  * ayekat hopes they're not actually using IRC on the same machine that they're also debugging
[07:57] <ZaZaGX> hi
[07:58] <Mead> Hello
[07:59] <ZaZaGX> do you use ubuntu?
[08:01] <Sven_vB> yes
[08:03] <ayekat> ZaZaGX: what did you break?
[08:03] <Mead> what didn't he break?
[08:05] <tuxinator> can't find the place where "Try Ubuntu before installing" menu entry is defined on the live CD and cubic does not seem to create the correct auto boot entry for 19.04
[08:06] <ZaZaGX> i broke my dd command
[08:06] <lotuspsychje> tuxinator: cubic isnt an official supported package on ubuntu
[08:06] <ZaZaGX> of ubuntu mate for the raspberry pi
[08:06] <ZaZaGX> it won't load
[08:07] <lotuspsychje> !arm | ZaZaGX for PI support
[08:07] <lotuspsychje> tuxinator: maybe you can contact the cubic maintainer/forum or seek a channel with !alis
[08:08] <ZaZaGX> i don't think i'm suppose to do sudo sync afterwards
[08:08] <lotuspsychje> ZaZaGX: type /join #ubuntu-arm
[08:09] <lotuspsychje> Mead: i was wondering yesterday, are you using official kodi from apt, or did you add a ppa?
[08:10] <tuxinator> lotuspsychje: any other officialy supported method? or any other idea for a bootable live cd which is easily customizable for a machine which will only be used by guests and should reset on reboot (some kind of kiosk mode)
[08:12] <lotuspsychje> tuxinator: we hear good things on cubic, think its a pro package, but we just cant support it here, i hope you understand
[08:13] <lotuspsychje> see also https://tutorials.ubuntu.com/tutorial/secure-ubuntu-kiosk#0 tuxinator
[08:28] <Mead> lotuspsychje: I'm using 17.6 from the offical Kodi ppa
[08:28] <lotuspsychje> Mead: we dont support ppa's, this should really be tested from the 17.6 apt version on bionic only
[08:29] <sid21g> This is how the output looks like http://ix.io/SP20
[08:29] <sid21g> of the journal command
[08:29] <Mead> it worked fine  until the update yesterday...
[08:30] <sid21g> Sorry ix.io/10SP
[08:30] <sid21g> http://ix.io/10SP
[08:35] <ayekat> sid21g: that doesn't look like the right output (kodi on windows...?)
[08:36] <sid21g> dont know where did i make the mistake
[08:36] <sid21g> let me try again
[08:37] <Mead> lotuspsychje: The bug report on launch pad says I need to install a specific library, but I can't find it in the link provided and even then I'm not sure how to manually install a library
[08:41] <lotuspsychje> Mead: there are 2 ways of testing this, the official ubuntu way with kodi from apt, removing your ppa, or asking the kodi maintainer whats wrong with 17.6 version on the ppa, probably broken and reccomended to use latest
[08:43] <PhoenyxCullen> I cannot add a openvpn connection in network-manager, I've already installed network-managager-openvpn.
[08:43] <PhoenyxCullen> the openvpn command line utility works.
[08:52] <PhoenyxCullen> sorry, was missing the ....openvpn-gnome piece.
[08:52] <PhoenyxCullen> exit
[09:02] <dreamcat4> hello. recently i cannot seem to ping 192.168.1.1 anymore. but it still works from a windows pc on same lan
[09:02] <dreamcat4> anyone else experienced this issue?
[09:07] <frib> I can't resolve domain names. Please help me thanks
[09:18] <sweb> i have command /usr/local/bin/my-awesome-shell ... it's work like charm when i typing on shell, but when i add to cron with @reboot timing not work. both tested on root user and root cron
[09:19] <sweb> it's just command to reconfigure my firewall using iptables, ufw and ipset and fail2ban
[09:20] <sweb> any alternative to restart point for run special shell scrip
[09:20] <sweb> ?
[09:22] <ayekat> sweb: not sure about all the others, but iptables rules are not persistent across boots, so if you change them before a reboot, they won't stick around
[09:23] <sweb> ayekat: any good alternative just i need after all initialize run sample scrip run same env as root shell level. i dont need to create service for that just simple shell after complete init
[09:24] <ayekat> sweb: what is your goal? do you want the script to be run when the system starts up?
[09:25] <sweb> ayekat: yeah, after all initialze steps, latest one, run with same env when i normally run the script with user. user is root
[09:25] <Mathisen> why not put it in bash_profile ?
[09:25] <sweb> Mathisen: user may be not loggin
[09:25] <ayekat> Mathisen: because that would require them to log in as root
[09:25] <sweb> Event is reboot not loggin
[09:25] <ayekat> sweb: create a systemd service
[09:26] <sweb> it's not service
[09:26] <sweb> it's not anti pattern ?
[09:26] <ayekat> sweb: no, but you want your script to run automatically at startup, which is done using a systemd service unit
[09:27] <ayekat> and no, it's not an anti pattern
[09:28] <ayekat> consider "the Firewall is up and functional" your "service" - and your script simply "starts" that "service" - makes sense to me
[09:28] <Shibe> Hi. Anyone know why the ubuntu 5.2.1 and 5.2 builds are failing for amd64?
[09:28] <Shibe> https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.1/
[09:29] <sweb> ayekat: what about Type of systemd ? simple,           exec, forking, oneshot, dbus,           notify or idle
[09:29] <sweb> is there any sample for such my usecase ?
[09:29] <ikonia> Shibe: have a look at the build logs
[09:30] <Shibe> ikonia: '/home/kernel/COD/linux/include/linux/uuid.h:62:1: error: '-mindirect-branch' and '-fcf-protection' are not compatible'
[09:30] <Shibe> hmm
[09:30] <Shibe> seems like a bad compiler option?
[09:30] <Shibe> are the devs aware or is there any place to contact them?
[09:30] <ayekat> sweb: read their descriptions - but I guess you probably want `oneshot` there
[09:35] <ayekat> sweb: if you want to do it cleanly, you could also add a script (or an option to your script) (or some other way) to tear down/reset your firewall setup, and have ExecStop= run that
[09:35] <ayekat> see http://ix.io/1OTd for an example for how nftables.service does it
[09:42] <Rostin___> hi
[09:49] <Rostin___>  Is there ubuntu for rpi 4?
[10:02] <sweb> ayekat: thanks a lot, you save my day
[10:02] <ayekat> you're welcome ^^
[10:15] <aneon> is anyone using fluentd, elastic & kibana on host?
[10:26] <aruns> Hi guys, quick question
[10:26] <aruns> If I use sudo update-alternatives --set php, this sets only the PHP CLI version, right?
[10:26] <aruns> Not the Apache version as well?
[10:27] <aruns> Everyone gives conflicting answers it seems.
[10:27] <aneon> systemwide
[10:27] <aruns> So that includes Apache?
[10:28] <aneon> yeah
[10:29] <aruns> Thanks.
[10:31] <aneon> I think there is a slave provision, check documentation
[10:32] <sid21g> http://sprunge.us/zvqji2 This is the response to the journalctl query
[10:33] <sid21g> I set up dual boot on my system two days back and the ubuntu has stopped entering into the log screen mode, this is the output generated after I ran the journalctl query
[10:34] <sid21g> http://sprunge.us/zvqji2
[10:43] <BluesKaj> hey folks
[10:47] <ayekat> sid21g: /usr/bin/gnome-shell: symbol lookup error: /usr/lib/x86_64-linux-gnu/libmutter-2.so.0: undefined symbol: gbm_surface_create_with_modifiers
[10:47] <ayekat> no idea if that is a fatal error, but it might be related
[10:48] <ayekat> also, don't you have a second machine or any other way to connect to IRC, so you don't need to reboot each time for doing something? you've spend 4 hours on something that's normally just a matter of minutes
[10:49] <ayekat> also: /usr/lib/xorg/Xorg: symbol lookup error: /usr/lib/xorg/modules/drivers/modesetting_drv.so: undefined symbol: drmModeListLessees
[10:50] <ayekat> sid21g: are you using any special repositories for the graphics driver? have you recently updated your system?
[10:52] <ayekat> ... also, for some reason this keeps spinning infinitely - I can see dozens of attempts for starting GDM, each failing the same way (AIGLX/amdgpu errors and then out)
[10:54] <sid21g> Hello ayekat: I did try setting this up https://www.amd.com/en/support/kb/faq/gpu-635
[10:55] <ayekat> ugh...
[10:57] <sid21g> ayekat: Now i do have second machine
[10:59] <ayekat> sid21g: looking at https://help.ubuntu.com/community/AMDGPU-Driver, did the xserver-xorg-video-amdgpu package itself not work?
[10:59] <ayekat> or why do you need the pro driver?
[11:00] <sid21g> I was playing around, I had an external 4 GB graphic card, so thought why not set it up
[11:00] <sid21g> oh sheesh just read the page you shared
[11:00] <ayekat> I'll take a look at the script they provide - maybe they're doing sane things, and the issue is perhaps elsewhere
[11:00] <sid21g> ok
[11:00] <sid21g> thanks a lot, I will try to find something in it too
[11:01] <sid21g> I have raised it up here too https://superuser.com/questions/1461723/boot-process-for-ubuntu-18-04-dual-booted-alongside-windows10-halts-before-log
[11:01] <immu> hi alll
[11:01] <ayekat> sid21g: what model have you got? (or which driver did you download?)
[11:02] <sid21g> I have Lenovo ideapad-500-15ISK
[11:02] <sid21g> attempted to set up this AMDGPU-PRO Driver Version 17.40 for Ubuntu 16.04.3
[11:10] <ayekat> ... aaand they left
[11:10] <alesan> hello. I downloaded the "nvidia" ubuntu image from "https://developer.nvidia.com/embedded/learn/get-started-jetson-nano-devkit#write" Well I know I cannot look for technical support on that image here but maybe one can send me in the right direction
[11:10] <alesan> I can mount that FS locally on my PC but how can I enable sshd?
[11:11] <alesan> my installation is a headless one
[11:11] <sid21g> ayekat: excuse me if you said something, net got disconnected
[11:12] <alesan> I see the links in ./etc/rc4.d/S01ssh and also rc2 and rc5
[11:12] <alesan> this means sshd will start? or not
[11:14] <ayekat> sid21g: the install script looks sane, but it appears to install packages it ships on its own, instead of repo packages
[11:15] <ayekat> sid21g: not sure if this may cause issues when interacting with the kernel, especially after upgrades
[11:16] <ayekat> although, I would expect kernel modules to remain compatible throughout the lifetime of an ubuntu release (that's the entire point of having stable releases, after all), so... I don't see anything that would cause issues there
[11:17] <alesan> and ssh is not enabled, OR it's 100% firewalled
[11:17] <alesan> ssh: connect to host 192.168.1.253 port 22: Connection refused
[11:19] <ayekat> alesan: I'm not familiar with the debian/ubuntu abstraction/compatibility layers for sysv-style initscripts that are still lying around, but normally enabling a service happens by creating a symlink to the service under /etc/systemd/...
[11:20] <ayekat> (i.e. /etc/rc{something}.d shouldn't really matter anymore)
[11:20] <sid21g> ayekat: that is what is disturbing. I have no clue how a fresh was ripped by minimal changes
[11:20] <ayekat> sid21g: did it actually ever work at some point?
[11:21] <sid21g> yes it worked alright the couple of times I used to set it up
[11:21] <alesan> ayekat, do you think it can be done by mounting the FS on the SD card on a different PC?
[11:21] <sid21g> ayekat: but when I opened Windows and the next time i opened ubuntu the situation arise
[11:22] <ayekat> alesan: yeah, just mount the root filesystem and create the symlink that would normally be created by `systemctl enable ...`
[11:22] <ayekat> sid21g: no upgrade or anything inbetween?
[11:22] <sid21g> no upgrade I set up 18.04 directly
[11:23] <alesan> ayekat, I have no experience at all with this systemctl, is that systemd thing?
[11:23] <ayekat> alesan: yes
[11:24] <ayekat> alesan: daemons are expressed through service files that live under /usr/lib/systemd/... (sshd is probably /usr/lib/systemd/system/sshd.service)
[11:24] <alesan> OJ
[11:24] <alesan> I'll try
[11:25] <alesan> ./etc/systemd/system/multi-user.target.wants/ssh.service
[11:25] <alesan> ./etc/systemd/system/sshd.service
[11:25] <alesan> these already exists
[11:25] <ayekat> alesan: ah yes, so it should already be enabled
[11:25] <alesan> why then :(
[11:25] <ayekat> not sure what the /etc/systemd/system/sshd.service does there, though... but ¯\(°_o)/¯
[11:26] <ayekat> the first one looks correct (and it should usually be a symlink to the file under /usr/lib/systemd/...)
[11:27] <alesan> yeah
[11:27] <alesan> the IP address I'm trying *is* right
[11:28] <ayekat> but yeah, there's a couple of other factors that may influence this - multi-user.target not being reached, sshd failing, firewall, sshd running on a different port, ...
[11:28] <sid21g> now am scared of setting up ubuntu from scratch again
[11:28] <sid21g> If only I knew the problem is with graphic update or the dual boot itself
[11:29] <ayekat> sid21g: I'm not sure if that's relevant, but the driver package there is for 16.04 - then again, if it worked at least once, that's still weird
[11:30] <sid21g> is there any way windows drives' might be interfaring? Though I didn't find it possible
[11:30] <ayekat> alesan: you could try looking at the journal on the filesystem with `journalctl -D /path/to/mount/var/log/journal/{large_id}`
[11:31] <alesan> ayekat, now I have reinserted it in the original device I'll try again, do nmap etc
[11:31] <caldarella> Hi guys I have dual boot Debian and Windows10 and I would like remove completely Debian and install Ubuntu. When I remove from live cd the partition of Debian with Gparted, how should I remove the Debian installed grub and install the new Ubuntu one? I have UEFI GPT and in the path /boot/efi/EFI/debian/ there is grubx64.efi
[11:32] <ayekat> alesan: otherwise, out of curiosity, what is that /etc/systemd/system/sshd.service file? is it a symlink? (if yes, where?) otherwise, what is its content?
[11:33] <alesan> ayekat, I'll try that in a few minutes
[11:34] <alesan> # nmap 192.168.1.253 .... All 1000 scanned ports on tegra-ubuntu (192.168.1.253) are closed
[11:34] <alesan> MAC Address: 00:04:4B:E6:17:29 (Nvidia)
[11:34] <vlt> caldarella: I'd say the Ubuntu installer will do this itself.
[11:35] <tuxinator> caldarella: if i get it right, just launch ubuntu setup, overwrite debian partition by formating and you should be fine
[11:35] <tuxinator> vlt: same intention :D
[11:38] <BluesKaj> alesan, I have to ask the obvious, is ssh-server installed on the remote machine?
[11:38] <caldarella> tuxinator vlt removing the debian partition is not a problem, my doubt is that in the efi partition these folders are present: Boot, debian, Microsoft and inside the Boot folder there is the bootx64.efi file which has the same MD5 checksum as the present file in the debian directory: grubx64.efi
[11:39] <alesan> BluesKaj, well, some files are there... including the binary
[11:41] <ayekat> alesan: so yeah, have a look at the journal - because debugging that as a blackbox is not very efficient IMHO
[11:45] <inflex> Is it possible to install Ubuntu with support for BOTH UEFI and CSM boot?  Trying to create a portable USB-stick but I can't be sure which type of hardware will be present
[11:46] <alesan> ayekat, exactly
[11:49] <inflex> Any idea if 'du' and 'df' will be updated to treat snap mount packages as some sort of special device / non-standard, because I'm sick to death of my terminal flooding out every time I want to check either, because of snap mounts.  Going to get far worse too when this obsession with snap keeps taking over everything
[11:50] <inflex> I know I can alias off du / df with things like   'du -h | grep -v snap', but it shouldn't have to be done like that
[11:52] <ayekat> inflex: I've got a snap-less 16.04 system (not sure if that's still possible with 18.04), so I'd say the cleanest approach if you don't like snap is to simply get rid of all the snap packages
[11:52] <ayekat> (and with "packages", I obviously mean "distribution packages")
[11:53] <leftyfb> !ot | inflex
[12:03] <alesan> ayekat, ./etc/systemd/system/sshd.service -> /lib/systemd/system/ssh.service
[12:04] <ayekat> alesan: weird... so there's two symlinks to the same file?
[12:04] <alesan> ayekat, there is NO /var/log/journal directory
[12:05] <alesan> I have the impression I need to attach a monitor to this thing and perform some installation procvedure
[12:05] <ayekat> ah yes, that's because - alright, create the /var/log/journal directory, then try again
[12:06] <ayekat> (I forgot that debian-based distributions don't provide that directory by default, so the journal is not saved to disk by default)
[12:06] <alesan> regular attributes?
[12:06] <ayekat> drwxr-sr-x+ 4 root systemd-journal 4.0K 2017-09-14 15:58 /var/log/journal/
[12:07] <alesan> it needs to be set like that?
[12:07] <ayekat> but that may be different on ubuntu - otherwise edit /etc/systemd/journald.conf and set Storage=persistent
[12:07] <ayekat> I think editing journald.conf is safer
[12:08] <alesan> yeah
[12:08] <alesan> should I delete the directory now I created?
[12:09] <ayekat> probably better, yes
[12:09] <alesan> starting up... I'll give it 5 min
[12:09] <ayekat> with Storage=persistent, journald will create the directory itself
[12:10] <alesan> yeah I figured
[12:14] <alesan> OK now the directory is there
[12:16] <alesan> now I got the logs...
[12:16] <alesan> nothing about openssh or ssh
[12:16] <alesan> I'll just wait for the cable to connect it to a monitor
[12:18] <ayekat> maybe it simply doesn't reach multi-user.target...
[12:18] <alesan> yeah
[12:19] <alesan> I'll delay all of this to tomorrow when I get the cable
[12:19] <alesan> thank's anyway! your help was very nice
[12:19] <ayekat> np - good luck!
[12:33] <ws2k3> so i have a ubuntu 14.04 and on apt-get update i get a few repo's and then 100% [Working] what can i do?
[12:35] <ioria> !14.04 | ws2k3
[12:36] <ws2k3> hehe nice
[12:36] <ws2k3> i know. but that wasnt the question.
[12:36] <ioria> ws2k3, and what is ?
[12:37] <tomreyn> see the topic for versions we support here
[12:38] <tomreyn> if you need assistence upgrading to a supported release (rather than doing a fresh install), please say so.
[12:41] <ws2k3> nevermind =)
[12:49] <aikema> Getting issues with missing cryptsetup / crypto modules in my initramfs recently - had to boot an earlier kernel to bring system back online and think my current kernel may also be impacted after the initramfs script ran while installing updates.  Any suggestions?  (Running 19.04).  Relevant config excerpts here: https://paste.ubuntu.com/p/45mzTcRdXs/
[12:55] <tomreyn> aikema: the incorrect resume device is configured in /etc/initramfs-tools/conf.d/
[12:55] <vlt> aikema: The initramfs build process seems to be very picky about /etc/crypttab.
[12:56] <vlt> aikema: To not lock you out you can force to include the cryptsetup binary by `CRYPTSETUP=y update-initramfs ...`.
[12:57] <tomreyn> either replace the resume device by your swap UUID or remove the file
[12:58] <tomreyn> removing it will make update-initramfs guess the resume device, and document its guess as a warning when it runs
[12:58] <tomreyn> s/document/report/
[12:59] <tomreyn> is your /boot encrypted, too?
[13:11] <aikema> tomreyn: had seen that but swapping the resume device for the one in /etc/crypttab just left me with no "RESUME error" but still the missing binaries noted if I do an "update-initramfs -u -k all"
[13:13] <aikema> vlt: with "CRYPTSETUP=y update-initramfs -u -k all" still getting hte missing cryptsetup / crypto binaries error
[13:14] <aikema> tomreyn: /boot is not encrypted
[13:15] <tomreyn> aikema: can you quote said error message?
[13:17] <aikema> tomreyn: https://paste.ubuntu.com/p/vZnm99cS95/
[13:18] <aikema> err... now it's gone it looks like.  Removing the resume file worked... updating it hadn't
[13:18] <tomreyn> solve the remaining issues, post your crypttab if you need more assistence
[13:21] <aikema> tomreyn: /etc/crypttab contents were in my original paste (https://paste.ubuntu.com/p/45mzTcRdXs/).  Now down to warnings.  Am a bit confused about the reference to a keyfile - only thing I see there is /dev/urandom where googling seemed to suggest this just replaces key with each reboot
[13:23] <bryanroderyck> hello i have an dell n5010 and i have issue installing ubuntu 19  64 bit... https://dpaste.de/NmBR
[13:23] <aikema> tomreyn: is size necessary for the resume?  Not seeing it in the crypttab eexample in https://wiki.archlinux.org/index.php/Dm-crypt/System_configuration (for arch not ubuntu but should be similar) and strangely the the file the warning points me to doesn't exist on my system (may need to install a docs package or something like that I guess)
[13:23] <lotuspsychje> bryanroderyck: this morning you asked about an 16.04 to 18.04 lts upgrade?
[13:25] <bryanroderyck> lotuspsychje,  yes i did i want to other version of ubuntu than ubuntu 16
[13:25] <lotuspsychje> bryanroderyck: you changed your mind, want clean install 19.04 now?
[13:26] <bryanroderyck> cause i want to install blender 2.8 and other softwares
[13:26] <tomreyn> aikema: README files are usually compressed, you should have /usr/share/doc/cryptsetup/README.initramfs.gz as well as the crypttab(5) man page (run: man 5 crypttab)
[13:26] <tomreyn> !man | aikema
[13:27] <lotuspsychje> bryanroderyck: please describe your issue to the channel, whats happening exactly?
[13:27] <bryanroderyck> lotuspsychje, this ubuntu is only weeki have installed it  but it doesnt support all software
[13:27] <aikema> tomreyn, I found /usr/share/doc/cryptsetup-initramfs/README.initramfs.gz via apt-file.  Strangely the swap line suggested in there for crypttab also doesn't include a size field - which is what I'm getting a warning about now having defined
[13:28] <bryanroderyck> is my laptop a 64 bit comatible processor?  https://dpaste.de/NmBR
[13:28] <immu> hi @lotuspsychje
[13:29] <tomreyn> aikema: yes, size is needed in your case, it is documented in crypttab(5)
[13:29] <legreffier> bryanroderyck: yes.
[13:29] <lotuspsychje> bryanroderyck: i3, yes 64bit capable
[13:29] <aikema> tomreyn, I see this as the example swap in "man crypttab" - "cswap /dev/sda6 /dev/urandom cipher=aes-xts-plain64,size=256,hash=sha1,swap".  No size field there
[13:30] <bryanroderyck> but why i want to install the ubuntu 64 it doesnt boot ?
[13:30] <lotuspsychje> bryanroderyck: elaborate 'doesnt boot' please, what happens exactly?
[13:31] <tomreyn> aikema: hmm, right, maybe it's just warning you that it'll go with the default then
[13:31] <OerHeks> oh, it just does not boot, no "it doesnt support all software"
[13:31] <bryanroderyck> it switches off ..
[13:32] <aikema> tomreyn, err... or I can't read.  At second look seeing a size=256 I glossed over the first time there.
[13:32] <bryanroderyck> i dont see on the web people talking about dell n5010 having problem with ubuntu 64 bit?
[13:33] <OerHeks> bryanroderyck, did you check the iso?
[13:33] <OerHeks> !md5sum
[13:34] <tomreyn> aikema: make that you and me ;)
[13:35] <bryanroderyck> i should try to install it from usb key ...are there setting to be done on the cmos bios to install ubuntu 64 bit?
[13:35] <tomreyn> aikema: note also this quote from  cryptsetup(8):             For XTS mode you can optionally set a key size of 512 bits with the -s option. Key size for XTS mode is twice that for other modes for the same security level.
[13:36] <bryanroderyck> OerHeks, no i didnt check md5sum
[13:38] <aikema> tomreyn, hopefully the default will work.  Been seeing 256 elsewhere which is probably good enough here for the moment.  Any tips as to how to get back online if a test reboot fails?  Would that be to comment out the swap in /etc/fstab and /etc/crypttab or something in addition (after booting via a USB key or some such thing to gain access)?
[13:39] <lotuspsychje> bryanroderyck: if you want volunteers to help, its adviced you explain your steps so volunteers can try to help you
[13:40] <lotuspsychje> bryanroderyck: you connect your ubuntu usb in your computer, then what?
[13:40] <tomreyn> aikema: i think you can just resume from the initramfs (busybox) shell if it fails to boot again. after all, the only thing you are encrypting is your on-disk swap partition.
[13:41] <bryanroderyck> lotuspsychje, im explaining ...i crashes ..it dosent boot the usb
[13:41] <tomreyn> aikema: you'd boot without swap, but i guess that's tolerable
[13:42] <lotuspsychje> bryanroderyck: what crashes at wich point?
[13:42] <aikema> tomreyn, thanks for the help!  Looking at https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1802617 sounds like if i hit the initramfs shell i just hit "exit" and boot should continue minus the swap.  Crossing my fingers and rebooting!
[13:43] <youurayy> hi all.  just trying linux again after a long time.   is compiz still the way to get compositing (in dingo)?   installed it, but lost the unity launchers/bars etc.
[13:43] <bryanroderyck> lotuspsychje, the os doesnt boot ...anyway i have to do the experience again and record all the parameter.
[13:45] <sid21g24> testing
[13:45] <immu> working
[13:46] <lotuspsychje> bryanroderyck: please take a picture of your screen, at wich point you get stuck
[13:46] <arka500> Hello, I have installed kubuntu-desktop package, how do I uninstall Gnome safely now without breaking things?
[13:47] <bryanroderyck> lotuspsychje, yes i will try ...thanks for your help
[13:47] <lotuspsychje> arka500: whats your base ubuntu install?
[13:47] <hggdh> arka500: there is no way to easily un-install Gnome (to say, ubuntu-desktop)
[13:48] <hggdh> arka500: just live with both. The only real option is to re-install Ubuntu
[13:49] <aikema> tomreyn, on OS X at the moment which gives you an idea how well that reboot went.  Hit ESC and the boot is hanging at "A start job is running for /dev/mapper/cryptswap1" which shows as time elapsed / no limit.  How do I abort the swap start if ctrl-c seems to have no effect?
[13:49] <leeijaw> What is the point of clicking on the title bar and change window?
[13:50] <leeijaw> This is the behavior on the new desktop environment of 18.04.
[13:50] <leeijaw> Many times I want to close the tab with middle click but instead cycling through the windows a bit shocking at first.
[13:50] <tomreyn> aikema: hmm 'no limit' on the timeout, i hadn't considered this, sorry.
[13:51] <uRock> leeijaw, for what program?
[13:51] <leeijaw> All of them
[13:51] <leeijaw> uRock: all of them.
[13:51] <tomreyn> aikema: i need to read up on the available options
[13:51] <tomreyn> aikema: maybe try booting to recovery for now
[13:52] <leeijaw> This is a system behavior.
[13:52] <leeijaw> Try it in 18.04
[13:52] <aikema> tomreyn, ctrl-alt-del'ed my way to a grub menu.  as guessing that that's where I need to do some changes.  Not sure if basic recovery mode works or if I need to add some flags to abort the swap mount
[13:53] <leeijaw> If I want to switch apps, I will use alt+tab. What is the point of middle clicking on the title bar?
[13:53] <uRock> leeijaw, middle click doesn't do that for me. I can scroll between tabs in the web browsers by hovering over the title bar, but not in other apps.
[13:53] <tomreyn> aikema: me neither, give it a try.
[13:53] <uRock> that has been the case for several years.
[13:54] <leeijaw> I mean the topmost section of a window.
[13:54] <youurayy> so, what's the deal with compiz
[13:54] <uRock> youurayy, specifics?
[13:55] <leeijaw> The bar that has minimize, maximize, and close button, but the bar below it.
[13:56] <aikema> tomreyn, gets to me the "recovery menu"... can get to a root prompt or a bunch of other things but not quite sure how to fix the swap issue.  Wondering if my error might have been triggered by my swap getting corrupted somehow such that it'd need to be rebuilt before it could be remounted.  Should be safe to blow the current swap contents away after a clean shutdown IIRC?
[13:57] <aikema> tomreyn, or can you fsck a swap partition?
[13:57] <youurayy> uRock, i'm trying to set it up on the latest Ubuntu Dingo -- but I lose the Unity Activities/Top bar -- just want my smooth desktop back
[13:57] <youurayy> uRock, these things used to work perfectly a decade ago
[13:58] <lotuspsychje> youurayy: 16.04 is not 18.04 anymore
[13:59] <tomreyn> aikema: i think you'd just mkswap again if it was inconsistent for some reason.
[13:59] <uRock> youurayy, Ubuntu has moved to gnome. I think you can log out and select Unity
[13:59] <tomreyn> aikema: but keep in mind that the swap file system is on top of the crypto container which you effectively regenerate on every boot.
[13:59] <uRock> Not sure how well that works, though
[13:59] <youurayy> lotuspsychje ubuntu version? i'm using latest 19.04
[14:00] <uRock> I have gotten to the point of not liking Unity anymore
[14:00] <tomreyn> aikema: well at least you give it a new key file on every boot, using /dev/urandom
[14:00] <youurayy> uRock yeah i just want whatever comes w/ the install to also work with compiz, but maybe that's not the idea
[14:01] <BluesKaj> compiz is still a "thing" ?
[14:01] <tomreyn> aikema: so your swap file system does not survive reboots anyways, which is the entire purpose of this configuration you chose to have there
[14:01] <youurayy> BluesKaj i guess it is if you want smoothness
[14:02] <aikema> tomreyn, so I dropped to a root shell, and found that "free -m" reports active swap so guessing that means my swap mounted properly (dmesg | grep swap only reported the swap being added / no errors) .  Am confused about the boot hanging though
[14:02] <lotuspsychje> youurayy: can you give us details of how you installed unity?
[14:02] <BluesKaj> youurayy, glad I'm a kde/plasma guy :-)
[14:03] <youurayy> lotuspsychje sorry - i confused the terms - i didn't install unity - just went with the out of box Unbuntu manager -- and tried to add compiz later
[14:04] <lotuspsychje> youurayy: you want to use compiz on gnome?
[14:05] <youurayy> yeah, we used to compiz on anything
[14:05] <youurayy> *to use
[14:05] <tomreyn> aikema: try if you can complete the boot without modifications. if you cannot, boot to the recovery again, enable networking, drop to root shell again
[14:12] <youurayy> ok i see, "gnome-sheel uses mutter, and mutter is compositing" ?
[14:12] <aikema> tomreyn, resume normal boot seems to have gotten me to my desktop (albeit guessing with crappier graphics drivers than usual).  What would you suggest I attempt now?  Am combing log files to see what I can find
[14:13] <tomreyn> aikema: i'd like to see all configurations in their current state again
[14:13] <pragmaticenigma> youurayy: That would be correct
[14:14] <pragmaticenigma> youurayy: Mutter is being used because it works with both X-server and Wayland. Gnome-Shell has also been tightly integrated with Mutter which can make it difficult to use a different compositor tool.
[14:15] <tomreyn> aikema: yu probably wont find logs on how the initramfs failed to enable swap during the last but one mount, since log files are not available at this time of booting.
[14:15] <tomreyn> (possibly there was something in dmesg, though.)
[14:16] <youurayy> thx for the explanation pragmaticenigma - any way to make mutter smoother when dragging windows? / tweaking it
[14:17] <tomreyn> aikema: the reason your graphics are now worse is that recovery boots with the !nomodeset boot parameter.
[14:18] <lotuspsychje> youurayy: wich graphics card and driver are you using exactly?
[14:18] <pragmaticenigma> youurayy: That's something I do not have any experience in. I typically just use my machine as is, and haven't noticed any issues with jutter or tearing. I make sure I'm running up-to-date graphics drivers and that's about it.
[14:19] <youurayy> lotuspsychje GeForce GTX 1060 and i believe the i use the proprietary nvidia driver -- how to make sure?
[14:19] <aikema> tomreyn, /var/log/boot.log seems to have some relevant info.  Repost of the relevant bits of config (plus boot.log excerpt): https://paste.ubuntu.com/p/8PnDnQ7Xgf/
[14:19] <OerHeks> lspci -nnk | grep -i vga -A3 | grep 'in use'
[14:20] <pragmaticenigma> youurayy: What OerHeks just wrote
[14:20] <youurayy> lspci -nnk | grep -i vga -A3 | grep 'in use'
[14:20] <youurayy> sorry, Kernel driver in use: nvidia
[14:20] <youurayy> is `nvidia` the proprietary?
[14:20] <pragmaticenigma> yes
[14:20] <saurabhdhandare> I am on 18.04.2 x86_64 system from Dell
[14:20] <OerHeks> yes, else you would read nouveau
[14:20] <saurabhdhandare> No proprietary drivers installed
[14:21] <saurabhdhandare> I did a fsck -y /dev/sdX on my seagate expansion 1TB disk but it took 2 days and still didn't complete the repair
[14:21] <saurabhdhandare> The disk has no useful data
[14:21] <saurabhdhandare> I want to restore the entire disk to a clean slate
[14:21] <saurabhdhandare> gparted doesn't fix errors
[14:21] <saurabhdhandare> mkfs.ext4 doesn't fix errors
[14:22] <youurayy> so yeah window dragging isn't as silky smooth as in compiz (or win10 / mac)
[14:22] <saurabhdhandare> I get a READ-ONLY filesystem error while copying
[14:22] <o0ze> saurabhdhandare, what does SMART say about the disk ?
[14:22] <OerHeks> saurabhdhandare, sounds like you do have hardware issues, bad disk?
[14:22] <saurabhdhandare> it is a brand new one.
[14:22] <youurayy> i know i'm nit picking but we had this
[14:22] <aikema> tomreyn, Found someone else reporting an error like mine (though they say they've hit it intermittently - wonder if the reason for it work in recovery mode is just that I got lucky): https://askubuntu.com/questions/1153319/starting-problems-a-start-job-is-running
[14:22] <uRock> saurabhdhandare, have you chowned the directory yet?
[14:23] <lotuspsychje> youurayy: what about your other system specs, cpu, ram, hd/ssd?
[14:23] <saurabhdhandare> yes I did using chown saurabh: /media/saurabh/XXXXXXX
[14:23] <saurabhdhandare> it had exFAT so I changed to ext4
[14:23] <saurabhdhandare> now it doesn't work
[14:23] <OerHeks> https://help.ubuntu.com/community/FilesystemTroubleshooting
[14:23] <youurayy> lotuspsychje it's a beefy PC, if i run compiz the window moving is smooth
[14:24] <saurabhdhandare> thanks
[14:24] <tomreyn> aikema: this post lack context, it's pretty useless really.
[14:24] <tomreyn> *lackS
[14:25] <TJ-> aikema: can you show us "pastebinit <( sytemctl status cryptswap1.mount; journalctl -b )"
[14:25] <uRock> saurabhdhandare, chown users:user /path to directory
[14:25] <TJ-> aikema:oops, typo!
[14:25] <lotuspsychje> youurayy: details of 'beefy' please?
[14:25] <TJ-> aikema: can you show us "pastebinit <( systemctl status cryptswap1.mount; journalctl -b )"
[14:25] <youurayy> so that and also the font rendering isn't as good as win/mac
[14:26] <saurabhdhandare> uRock, yeah
[14:26] <uRock> saurabhdhandare,  chown saurabh:saurabh /media/saurabh/XXXXXXX
[14:26] <youurayy> lotuspsychje: Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz,  M2 SSD, GeForce GTX 1060, 32 GB RAM
[14:26] <saurabhdhandare> i did. I have permissions to write to the disk
[14:27] <lotuspsychje> youurayy: if those specs cant run 19.04 then something really wrong in your system
[14:27] <saurabhdhandare> It is when I copy more than 15 GB that the disk becomes READ-only
[14:27] <lotuspsychje> youurayy: can you pastebin us your dmesg please?
[14:27] <youurayy> oh they can run it, just not as smoothly as win/mac  (nothing suspicious in dmesg)
[14:28] <lotuspsychje> youurayy: let us have a look?
[14:28] <youurayy> what's the pastebin cmd?
[14:28] <saurabhdhandare> uRock, can I clean the disk with gparted to a fresh ext4 state??
[14:28] <lotuspsychje> !pastebinit | youurayy
[14:28] <uRock> saurabhdhandare, yes, but you'll have to chown again
[14:29] <saurabhdhandare> uRock, ok
[14:29] <saurabhdhandare> uRock,
[14:29] <john_rambo> After pairing my phone using bluetooth it says "Connection failed -No usable services on this device" ...How to fix this ?
[14:29] <saurabhdhandare> will it fix the ext4 errors
[14:29] <youurayy> lotuspsychje http://paste.ubuntu.com/p/zHQWsnGzZ2/
[14:30] <uRock> saurabhdhandare, it should. I've never had that issue with extra drives
[14:30] <saurabhdhandare> uRock, ok thanks. Doing that now...
[14:30] <OerHeks> saurabhdhandare, ext4 errors on a blank disk are likely disk errors, hardware failing, check with disks > s.m.a.r.t.
[14:31] <saurabhdhandare> OerHeks, okay i'll
[14:31] <tomreyn> youurayy: you have ROG STRIX Z370-I GAMING, BIOS 1002 07/02/2018. you should have https://www.asus.com/us/Motherboards/ROG-STRIX-Z370-I-GAMING/HelpDesk_BIOS/
[14:32] <youurayy> thanks for spotting that, i'll update
[14:33] <lotuspsychje> youurayy:  nvidia: module verification failed: signature and/or required key missing - tainting kernel
[14:33] <lotuspsychje> youurayy: are you dualbooting or single boot ubuntu?
[14:33] <aikema> tomreyn, I agree it's not very complete but at least matches my symptoms
[14:34] <youurayy> single boot, giving it all
[14:34] <youurayy> ^ lotuspsychje
[14:34] <aikema> TJ-, https://paste.ubuntu.com/p/HWXMBkSNMh/
[14:34] <youurayy> lotuspsychje does that mean the driver isn't active?
[14:34] <tomreyn> aikema: right, it *could* be related.
[14:35] <lotuspsychje> youurayy: please try a higher nvidia driver from the ubuntu graphics ppa
[14:35] <pragmaticenigma> lotuspsychje: That message might be from installing the nvidia driver from the graphics driver's team's PPA
[14:35] <lotuspsychje> !nvidia | youurayy
[14:35] <aikema> tomreyn, it's the right version of Ubuntu and reported around when I started having these problems
[14:35] <tomreyn> aikema: the timing is a good hint, i agree.
[14:37] <lotuspsychje> youurayy: try also to install preload and haveged and reboot after switching to your new nvidia driver
[14:39] <aikema> TJ-, also poked around for other swap-related systemctl things after that first one didn't amount to anything: https://paste.ubuntu.com/p/69z4gx2Yhb/
[14:39] <TJ-> aikema: was that boot.log you pasted earlier from the same boot session as this log? Because in this session cryptswap came up immediately - "Jul 19 15:54:03 nuc systemd[1]: Activated swap /dev/mapper/cryptswap1."
[14:40] <saurabhdhandare> OerHeks, uRock I believe I have a hardware issue
[14:41] <tomreyn> TJ-: i think   journalctl -b -1   currently points to where the swap partition would not mount and the boot got stuck indefinitely waiting for this to happen.
[14:41] <saurabhdhandare> SMART test doesn't work on my expansion drive
[14:41] <saurabhdhandare> GUI option is not available
[14:42] <saurabhdhandare> something has to do with 'uas' module in the kernel
[14:42] <saurabhdhandare> I think 18.04.2 has the stable kernel with fixed bugs
[14:42] <TJ-> aikema: also note you have an unrelated USB device failure recurring constantly: "usb 1-4.1: USB disconnect, device number 10"
[14:42] <OerHeks> it is true, not all ext hdd controllers support smart control, so be it
[14:43] <OerHeks> saurabhdhandare, then check the health on a windows machine
[14:43] <saurabhdhandare> OerHeks, https://askubuntu.com/questions/637450/cannot-perform-smart-data-and-self-test-on-external-hard-drive/692892#692892
[14:43] <TJ-> aikema: as tomreyn  points out, was boot before this one, the one where cryptswap1 failed?
[14:43] <saurabhdhandare> OerHeks,
[14:43] <saurabhdhandare> yeah
[14:43] <saurabhdhandare> Windows :(
[14:44] <youurayy> ok using nvidia-driver-418 (proprietary) now
[14:44] <aikema> TJ-, https://paste.ubuntu.com/p/ZRPgTxZGN3/ is the "journalctl -b -1" which I think is the failed boot which misses a bunch of those swap messages.
[14:45] <youurayy> think it's smoother..   4k youtube video in chrome not silky smooth still, but i'll try that bios update
[14:46] <youurayy> it also offers "nvidia-driver-430 (open-source)" not "(prorietary)" - but it doesn't say it's the "nouveau" -- should i activate it?
[14:47] <aikema> TJ-, if you have a fix for that USB device failure, that'd be awesome.  It's a UPS that fairly regularly doesn't seem to init properly (but usually seems happy if you restart nut-server and/or nut-client).  I sort of gave up on a permanent fix after having previously poked at it for a while
[14:47] <tomreyn> aikema: i recommend you remove this "INNO TECH USB to Serial" device you have connected to usb there for now.
[14:48] <lotuspsychje> youurayy: better not use nouveau on a big GTX card :p
[14:49] <aikema> tomreyn, permanently detach or just disable for debugging purposes here?
[14:49] <tomreyn> youurayy: that's actually the proprietary driver, too, it's just listed incorrectly. this is neither a recommendation to use or not to use it.
[14:50] <tomreyn> aikema: for now, while we try to fix your boot
[14:50] <youurayy> lotuspsychje what is the logic there -- is it as good as the proprietary?
[14:51] <youurayy> tomreyn thanks, these things are confusing for novices
[14:51] <aikema> tomreyn, OK.  It's not unplugged.  Living in an area with power grid problems, so hopefully I'll remember to plug it back in in the end
[14:51] <aikema> err... now unplugged I mean
[14:51] <lotuspsychje> youurayy: depending your needs of course, if you want the full use of your nvidia card= use the nvidia driver
[14:52] <tomreyn> youurayy: normally you would not run into this, it's just due to using the PPA. a bug has been filed about it, too, i think, so chances are it will get fixed at some point.
[14:53] <aikema> So seems that "Found device /dev/mapper/cryptswap1" is the start of the chunk of logs in the working boot that's missing in the failed boot
[14:54] <youurayy> thanks for your help guys.  i'll check the bios update later tonight, hopefully the 4k video will be smooth (may also play with chrome://flags a bit)
[14:55] <youurayy> also what's the easiest way to get a full win/mac-like font rendering (patents notwithstanding lol) into ubuntu?
[14:55] <youurayy> i think we used to compile freetype in the old days
[14:59] <TJ-> aikema: those USB errors are logic-level on the USB, which means the remote device is causing the problem
[15:00] <TJ-> aikema: is the UPS running well before the PC boots?
[15:00] <TJ-> aikema: those errors make it very hard to analyse the logs
[15:00] <aikema> TJ-, am curious why the nut-client and nut-server restarts seem to resolve the issue once they happen - i.e. think this is an issue also implicating drivers - probably a race condition somewhere
[15:02] <aikema> TJ-, am going to try adding that size=256 to the crypt tab though as https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1802617 seems to suggest it might have been a problem in the past.  That said, the logs both report key size = 256 for the device
[15:06] <TJ-> aikema: 'size' only applies when a swap *file* (/swapfile) is used; your system has a swap partition that isn't needed
[15:06] <tomreyn> aikema / TJ: so, as aikema said, the issue seems indeed to be that for an unknown reason systemd just does not 'find' the cryptswap1 device when it fails: https://paste.ubuntu.com/p/kdtzKV33bF/
[15:07] <tomreyn> TJ-: according to the crypttab man page: size=<size>: Encryption key size (ignored for LUKS and TCRYPT devices). See cryptsetup -s.
[15:07] <tomreyn> (but then "cryptsetup -s" just returns an error message)
[15:08] <aikema> TJ-, am wondering why cryptsetup would be giving me warnings about not seeing the size param then (and also the other error re use of a key file which in my case I think is /dev/urandom)
[15:08] <tomreyn> i was also wondering whether or not this is correct. there is also a size mount option in fstab, which i think does refer to volume size
[15:10] <TJ-> aikema: tomreyn  I think we may have the wrong focus. If you compare differences in the log files, in the successful boot "Started udev Wait for Complete Device Initialization" occurs a long time after cryptswap1 is created and activated, whereas in the failed boot that happens at the same time as "Started Cryptography Setup for cryptswap1."  - I think this is a race condition
[15:11] <tomreyn> a race condition seems plausible to me.
[15:14] <tomreyn> 16:09:01 is indeed a lot later
[15:19] <tomreyn> aikema, TJ-: what doi you think about just trying to boot again normally (after another   sudo update-initramfs -k $(uname -r) -u     in case we changed anything?) and see if it works out this time, without the UPS connected, or just out of luck? and if it gets stuck, just reboot normally a couple times more to see whether it's really racy?
[15:19] <TJ-> aikema: tomreyn  Please do some tests. keep the UPS's USB<>Serial connector unplugged until the system has booted fully. If you can reproduce the cryptswap1 issue like that we can look again at the logs. Currently I think the problem is if the udev "Wait for Complete Device Initialization" starts *before* cryptsetup has created /dev/mapper/cryptswap1, then the udev 'settle' action is being delayed because of
[15:19] <TJ-> the USB serial device repeatedly disconnecting (that will be triggering udev jobs constantly)
[15:20] <TJ-> aikema: that udev service is executing "/bin/udevadm settle" which "... Watches the udev event queue, and exits if all current events are handled...."
[15:22] <TJ-> aikema: if you cannot reproduce with the UPS USB unplugged, you could, instead of unplugging, alter the cryptswap mount to declare a "Before=systemd-udev-settle.service"
[15:23] <aikema> tomreyn, TJ-: Rebooted 3x without the UPS USB-attached.  First 2 reboots worked without problems and now the 3 reboot is hanging with same symptoms as before
[15:24] <tomreyn> hmm so this seems to confirm *some* race condition, and i do like TJ-'s theory.
[15:27] <TJ-> aikema: OK, don't shut it down, let it time out the job
[15:30] <aikema> TJ-, already shutdown the hanging system.  Unlike some other things I've had hang before this one reports "no limit" so I assume that means it'd hang indefinitely
[15:33] <aikema> TJ-, tomreyn : 4x boots of logs: https://paste.ubuntu.com/p/4ZVnzpZ7Tq/
[15:36] <tomreyn> https://www.freedesktop.org/software/systemd/man/systemd.mount.html  specifies x-systemd.device-timeout and x-systemd.mount-timeout which can be used in /etc/fstab
[15:39] <TJ-> aikema: tomreyn  if you look at line 8252 onwards you'll see, at shutdown, the swap/crypto device services were present and terminated cleanly ... so I think the message you're seeing is somehow misleading and something else is the true cause here.
[15:40] <TJ-> aikema: line 8261 ends that group with "Deactivated swap /dev/mapper/cryptswap1."
[15:46] <tomreyn> meh, this is not fun.
[15:46] <aikema> TJ-, tomreyn, should I try instead setting TimeoutSec in the systemd mount setup.  That way a failed reboot might be more likely to proceed even if TJ- is accurate in suspecting a different root cause?
[15:48] <aikema> tomreyn, thanks for helping though!
[15:48] <tomreyn> aikema: oh, you're welcome!
[15:50] <aikema> TJ-, tomreyn : I do find systemd rather confusing though.  If I'm trying to limit the "no limit" service that prevents the reboot from continuing in event of a failure, which file should I edit?  There seem a lot that are potentially related
[15:50] <tomreyn> aikema: i'm not really sure how to continue. i assume you'll want to develop a workaround next, which is understandable, and lowering the timeouts *might* provide that. on the other hand, identifying a root cause or at least filing a bug report would probably be very useful in general.
[15:52] <tomreyn> i would not modify the generic mount timeout, but just the one for the specific device in fstab, by adding those x- options i quoted. if you want to try this path. Or wait for TJ- to point out my flawed logic in this (please do!). ;-)
[15:52] <TJ-> aikema: tomreyn  OK, that group of messages was from a successful boot - I thought with it being a shutdown it was the failed boot. I found the failed boot at line 3796
[15:53] <aikema> tomreyn, I know TJ- seemed to think seeing what happened if continuing past the "no limit" thing blocking the way.  Poking around an active system with the problem seems as though it might potentially help isolate the problem
[15:54] <aikema> TJ-, tomreyn : would it help to reupload those logs as 4 separate pastes - one per boot?
[15:54] <tomreyn> aikema: yes, and to identify which ones ere successful and which were not
[15:55] <tomreyn> although we could do that together later
[15:55] <TJ-> tomreyn: aikema sure, add a timeout, it should help. Currently the problem as far as I can tell is this: cryptsetup creates the device (/dev/mapper/cryptswap1), mkswap 'formats' it, the "Local Encrypted Volumes" is therefore reached (which tells us all the crypt side succeeded) *but* "swap.target" is never reached and this is because for some reason udev isn't reporting "Found device /dev/mapper/cryptswap1."
[15:55] <TJ-> aikema: no, the logs are fine once I realised what I was looking at!
[15:56] <tomreyn> aikema: so no need to repost the logs then
[15:57] <TJ-> aikema: Have you created/edited any systemd services/mounts, or installed 3rd party packages that use systemd service control? It *feels* to me like a race with dependency issues between other services/mounts - it is unusual to see this using just Ubuntu packages untouched
[15:58] <TJ-> aikema: I think we need to see the complete "/etc/fstab" because there are other crypto mounts going on and related fscks that could be an issue here
[16:03] <aikema> TJ-, no other crypto is mounted at boot or exists in /etc/fstab (encrypted devices are mounted after user login).  ("/" is ext4, /boot/efi is fat, and an nfs mount are the only other entries in /etc/fstab)
[16:04] <aikema> TJ-, note that the NFS mount has options set to defaults,nofail.  (I probably should be adding _netdev)
[16:06] <TJ-> aikema: the crux of the problem is definitely the "udevadm settle"
[16:07] <TJ-> aikema: Add that - it might be the cause of udev failing since that mount isn't appearing
[16:09] <aikema> TJ-, even if nofail is set?  If udevadm settle is the issue couldn't we just use Before/After to ensure ordering like you'd suggested for one of them before?
[16:09] <TJ-> aikema: lets do this first to test the hypothesis
[16:10] <TJ-> aikema: in theory waiting for the settle shouldn't hold up the appearance of cryptswap1 which would trigger the activating of the swap, but something is doing that so we need to isolate it
[16:10] <aikema> TJ-, _netdev in place.  Trying a few restarts now
[16:11] <TJ-> aikema: I don't think a netdev should cause settle to stall - usually it's caused by a local device which was why I recommended unplugging the UPS for now.
[16:11] <frad> what app can I use to get rid of the artists name of an avi file? I renamed the file, but the artists metadata has not been changed. On vlc it still appears before the file's name. I tried mkvtoolnix, but the artists name is nowhere to be seen
[16:12] <aikema> TJ-, already first reboot is a fail (and still "no limit" as I hadn't figured out which systemd file to update
[16:15] <TJ-> aikema: OK, that is helpful in it reduces the problem space
[16:24] <TJ-> aikema: in case we don't solve this now and you involve others in trying to solve this, make sure they realise that /dev/mapper/cryptswap1 *does* exist, and you can prove it since we see in the logs "mkswap[943]: Setting up swapspace version 1, size = 31.9 GiB (34244915200 bytes)" and that is executed by the " systemd-cryptsetup@cryptswap1.service" unit which has "ExecStartPost=/sbin/mkswap
[16:24] <TJ-> '/dev/mapper/cryptswap1'" <-- and the device is referred to by its device-mapper path
[16:26] <aikema> TJ-, for now had you been suggesting a Before or After modification to a systemd file as a possible workaround?  (And might this also work for my UPS connection?)
[16:26] <TJ-> aikema: I'm not so sure at the moment... I just had an idea I need to check
[16:27] <tomreyn> frad:  ffmpeg -i input.avi -metadata artist='' -acodec copy -vcodec copy output.avi
[16:30] <TJ-> aikema: thinking aloud here to confirm what we know. "Reached target Local Encrypted Volumes." is cryptsetup.target so that tells us all the crypt services have completed successfully, and that infers that "ExecStartPost=/sbin/mkswap '/dev/mapper/cryptswap1'" returned OK (I had been wondering if mkswap process had hung, but this proves it didn't
[16:31] <aikema> TJ-, to answer my last question (I think), you did mention that '"swap.target" is never reached' so I guess adding something like After=udev-settle to swap.target probably wouldn't help?
[16:31] <TJ-> aikema: so, we're hunting for something else that is causing a race. I'm wondering if we can stop it happening simply by slowing down boot (as a test!) by causing systemd to do "debug" logging (it gets verbal diahorrea!) - at boot-time interrupt GRUB and edit the kernel command line, remove "quiet splash" and add "debug" and test
[16:32] <TJ-> aikema: I agree it probably wouldn't help  but lets see if "debug" solves it by slowing things down dramatically
[16:34] <frad> thanks tomreyn
[16:35] <becool> does mysqldump fail if there's a short network interruption or will it wait for connectivity and proceed with dumping when networking is restored?
[16:47] <aikema> TJ-, https://paste.ubuntu.com/p/YBN3VRjhGv/ is the debug log
[16:47] <tomreyn> becool: if transferring over tcp and running into a tcp transmit timeout, it will fail in the same way any tcp transfer would fail then.
[16:51] <becool> tomreyn: it doesn't actually fail, though. the process counter just stops counting and the dump stops growing after a variable amount of gigabytes
[16:51] <TJ-> aikema: did it fail to start the swap in that session?
[16:53] <puxavida> Updates for squid and apache on 18.04 were installed today.  When updates are installed like these does the update process restart the services so the new version is loaded?
[16:54] <tomreyn> becool: maybe ask in #mysql (or is it ##mysql ?). to me this sounds like it didn't actually run into a tcp transmit timeout, but packets were lost, and then apparently it fails to handle this.
[16:54] <tomreyn> becool: consider dumping locally, transmitting (over network link) separately.
[16:55] <becool> tomreyn: no response there yet. i can't dump locally, it's an rds aurora instance in aws
[16:55] <becool> i'm dumping to an ebs volume attached to an ec2 instance in aws
[16:55] <tomreyn> becool: then were's the relation to ubuntu?
[16:56] <becool> the server i'm dumping to is running ubuntu
[16:56] <tomreyn> i see
[16:56] <becool> i used the --compression switch for the mysqldump, so i'm hoping ubuntu supports network compression
[16:57] <tomreyn> maybe the DB server and compute node are in different locations?
[16:57] <becool> they are
[16:57] <becool> it's dumping "over the wire"
[16:57] <tomreyn> it'd also do that if they were in the same location, i guess, but the network links would most liklley be more stable.
[16:58] <tomreyn> *likely
[16:58] <aikema> TJ-, no failure that session.  Thought you were expecting the slowdown to stop it happening ... or is this a case where you'd want N attempts again?  In which case I'd probably need to figure out how better to access grub at startup (had to trigger a failed boot to get it to go)
[16:58] <becool> really hoping mysqldump behaves more like an rsync rather than just a cp
[16:59] <TJ-> aikema: I see a successful discovery at line 3567, is there 2 boot cycles there because I see what looks like another at line
[16:59] <tomreyn> puxavida: yes, network services which are started automatically when installed, should also be restarted automatically when updates are installed.
[16:59] <becool> otherwise i'll never know whether or not i'm getting a dump with full integrity
[16:59] <TJ-> aikema: sorry, yes, you'll need to do mutliple boot cycles to know if we've stopped it happening :)
[17:00] <TJ-> aikema: accessing GRUB - tapping Esc key or you could temporarily edit /etc/default/grub and change things there, then run "sudo update-grub"
[17:01] <puxavida> tomreyn, ok thanks
[17:02] <TJ-> aikema: the fact we now have a detailed debug log of a succesful boot means we know what to expect to see
[17:03] <tomreyn> becool: there may be other (better?) data export options with aws rds. i don't actually know, but recommend you check the documentation on this. think of percona xtrabackup (innobackupex) for example.
[17:03] <becool> tomreyn: i'll check it out. thanks
[17:04] <tomreyn> you're both welcome. ;)
[17:05] <pragmaticenigma> becool: mysqldump's original design was more focused on writing to a local file, than over the network. Also, mysqldump is more like cp ... I am not aware of it having any feature that allows it to see what it has already done and what it needs to do. It always wants start from the beginning
[17:06] <becool> pragmaticenigma: are there any more robust and open-source command line dumping tools to solve that problem?
[17:07] <leftyfb> becool: write locally, then rsync
[17:07] <becool> i don't know if i can write locally since it's an amazon rds instance
[17:07] <becool> i don't have direct access to the vm
[17:07] <pragmaticenigma> becool: are you trying to do full backups?
[17:08] <becool> yes, a full dump of a specific database
[17:09] <Sven_vB> is there any hope left for my USB thumb drive? I read on SO that error -110 is about insufficient power supply, but I plugged it directly into several computer, even ones that did not have any other USB ports in use. http://paste.debian.net/plainh/fb798ecc
[17:10] <pragmaticenigma> becool: I think I'm with tomreyn on their suggestion. I'd have to believe that the instance has to have some sort of snapshot or utility to help extract your data from the instance in an efficient manner
[17:11] <aikema> TJ-, updated the grub config to make debug the default and did an update-grub.  It's survived 5 reboots so far which would seem to confirm the race condition as root cause.  Setting it back to normal now / not quite sure how best to move forward (other than occasionally have to re-reboot)
[17:11] <pragmaticenigma> Sven_vB: If it fails with the same message on multiple computers than it's not the computer that is the problem it's the device. Likely, a trace in the PCB is cracked and the drive is damaged.
[17:12] <TJ-> aikema: arggh! I've had this challenge before and it is VERY frustrating.... you add debug options and the darned thing behaves. I think we sould next try telling udev to save a debug log
[17:14] <Sven_vB> pragmaticenigma, does the error message indicate the broken trace is likely related to power supply?
[17:15] <TJ-> aikema: try adding "udev.log_priority=debug"
[17:15] <pragmaticenigma> Sven_vB: No, there was nothing to interpret with my message. Your USB Drive is failing, time to get whatever data that is on that device backed up someplace else and replace it.
[17:16] <Sven_vB> pragmaticenigma, ok, thanks!
[17:20] <aikema> TJ-, does that mean that my options are udev being uber-verbose/slow vs. having to reboot an extra time every once in a while?  Wondering in that case if it'd be easier just to reboot slightly more often.
[17:21] <aikema> TJ-, i.e. over the long haul system has only gotten rebooted 1x/month or so I think
[17:22] <pragmaticenigma> aikema: What TJ- is asking you to do is for the short term, to try and figure out what is happening
[17:22] <TJ-> aikema: well, from my perspective I'd always want to identify the issue and solve it. You may have a corner-case that affects others that has never been fully understood
[17:25] <TJ-> aikema: I'm hoping that unlike systemd's 'debug' output slowing things down so much we avoid a race, that only having udev logging its action allows us to capture the problem in a combination of the udev log *and* the regular systemd/kernel boot logs, by looking at the timestamps of the log messages and understanding what is (not) being done when udev fails to report the device 'plugged' event for
[17:25] <TJ-> /dev/mapper/cryptswap1
[17:26] <aikema> TJ-, safe to pair that udev debug logging with the quiet nosplash?
[17:28] <TJ-> aikema: leave off the "quiet" - that tells the kernel to do its lowest level of output, so we might learn something of interest without "quiet"
[17:29] <TJ-> aikema: as for nosplash, yes, that is fine to have - in fact I prefer it since it prevents Plymouth from obscuring the kernel messages with a useless 'pretty' image!
[17:36] <TJ-> aikema: also, it would be possible to automate the testing to force a reboot if the swap.target is reached, but have it not reboot if swap-target is not reached so you could leave it overnight
[17:41] <aikema> TJ-, interestingly with the udev.log_priority=debug added the system seems to always fail to boot.
[17:41] <aikema> TJ-, at least each of my tests was failing.  Anyways, logs from a failed boot: https://paste.ubuntu.com/p/7dh9mRRkg9/
[17:57] <aikema> TJ-, thanks for the help.  Gotta run
[18:00] <chrismo16> Hello all. I have installed Ubuntu on an external USB hard drive. I installed a different kernel and am trying to sign it for secure boot. Now I am getting the following error at boot:
[18:00] <chrismo16> Failed to open \EFI\BOOT\mmx64.efi - Not FoundFailed to load image \EFI\BOOT\mmx64.efi: Not FoundFailed to start MokManager: Not FondSomething has gone seriously wrong: import_mok_state() failed
[18:01] <sarnold> chrismo16: did you copy over the EFI partition too?
[18:01] <chrismo16> I might not have
[18:02] <chrismo16> In /boot/efi/ I have "EFI  'System Volume Information'"
[18:03] <chrismo16> in /boot/efi/EFI I have "BOOT" and "ubuntu"
[18:04] <chrismo16> in BOOT I have BOOTX64.EFI  and fbx64.efi
[18:04] <fury> is there a way in 18.04 to keep the screen blanking/monitor power off after 15 minutes, but stop it from forcing me to "swipe up" when i come back? i'd like it to just pop back up with the windows I had open before, like Windows and Mac does when I don't have a screen lock passcode enabled
[18:05] <chrismo16> in ubunti I have BOOTX64.CSV, grub.cfg,  grubx64.efi,  mmx64.efi, and  shimx64.efi
[18:05] <sarnold> chrismo16: here's what I've got on an EFI machine http://paste.ubuntu.com/p/ZcDf837YSX/
[18:05] <OerHeks> chrismo16, what different kernel exacly?
[18:06] <de-facto> is there any way to uninstall gnome notifications?
[18:06] <OerHeks> what happens if you tried?
[18:06] <chrismo16> OerHeks looks like we have the same structure
[18:06] <chrismo16> 4.19.13-041913-generic
[18:07] <tomreyn> that's an outdated kernel ppa build, i assume?
[18:09] <tomreyn> https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19.13/ vs https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19.59/ vs https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1.16/
[18:10] <chrismo16> Im running 18.04 and followed a tutorial toget my touchscreen working on an HP Spectre x360
[18:10] <chrismo16> Perhaps I should install a newer kernel? Would that mean I don't need to sign it for secure boot?
[18:11] <chrismo16> I'm following this tutorial to sign the kernal https://github.com/jakeday/linux-surface/blob/master/SIGNING.md
[18:12] <chrismo16> tomreyn yes. I used ukuu to install it
[18:12] <fury> ha, `xset dpms 900 900 900` is my hero
[18:13] <fury> instead of ubuntu's screen blanking option in power settings
[18:13] <fury> this one turns off the monitor but doesn't bring up the swipe screen when i come back
[18:14] <tomreyn> !hwe | chrismo16
[18:14] <tomreyn> chrismo16: there are hwe and hwe-edge kernels, providing different kernel versions. i assume -hwe is sufficient for your needs if 4.19 is
[18:15] <lordcirth> tomreyn, isn't HWE 4.18?
[18:15] <tomreyn> that's vanilla
[18:15] <tomreyn> lordcirth: sorry, you'Re right
[18:16] <lordcirth> Yeah, I have HWE on all of mine. edge is 5.0, though, which should definitely cover it
[18:16] <tomreyn> so chrismo16 would need -hwe-edge which is at 5.0
[18:16] <chrismo16> OK let me give that a try. However, have I messed up something with my EFI partition with this signing process?
[18:16] <chrismo16> tomreyn thanks
[18:17] <tomreyn> so linux-generic-hwe-18.04-edge
[18:17] <tomreyn> and xserver-xorg-hwe-18.04 if you don't already have it
[18:18] <tomreyn> i'm not sure whether hwe-edge are secure boot signed, though
[18:19] <sarnold> I see a linux-signed-hwe-edge source package on my mirror
[18:23] <chrismo16> so I just ran "sudo apt-get install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04 " and it says I already have the newest versions (4.18.0.25.74 and 1:7.7+19ubuntu8~18.04.2)
[18:24] <tomreyn> you missed -edge
[18:24] <chrismo16> got it
[18:24] <chrismo16> Should I also replace generic with signed?
[18:24] <tomreyn> those which don't say signed should be signed, those which are unsigned should say unsigned
[18:25] <chrismo16> ok thanks
[18:26] <tomreyn> "generic" is a different type of indicator, telling this kernel image apart from e.g. OEM images.
[18:26] <TJ-> tomreyn: if you see aikema can you ask them to *disable* all snaps as a test? Looking at the udev log around line 877 there are several snap-related /etc/udev/rules.d/ custom rules files. I suspect they might be responsible. We could do with seeing their contents too. Udev log file is https://paste.ubuntu.com/p/7dh9mRRkg9/
[18:27] <tomreyn> TJ-: recommending that people disable snaps is one of my specialties! (sure, i will try to remember to do so)
[18:29] <TJ-> tomreyn: thanks... those are the only custom udev rules which is why I aim at those first.
[18:30] <tomreyn> TJ-: i'm not sure i could tell which ones are custom and which ones are not. could you tell by the file names?
[18:32] <tomreyn> actually if we can assume that all snap udev rules start with "70-snap." then i can tell that 70-snap.acestreamplayer.rules and 70-snap.dosbox-x.rules are custom
[18:36] <TJ-> tomreyn: the path /etc/udev/rules.d/ vs /lib/udev/rules.d
[18:37] <TJ-> tomreyn: ^^^ anything in /etc/udev/rules.d/ is suspect since it may not be well-tested, unlike the package-installed rules in /lib/udev/rules.d/
[18:37] <chrismo16> I'm at 5.0.0-20-generic now
[18:38] <chrismo16> Unfortunately I still can't boot with secure boot enabled
[18:39] <tomreyn> TJ-: oh my, looks like i need a weekend. :)
[18:39] <TJ-> tomreyn: plus of course I'd love to blame snaps :)
[18:39] <sarnold> tomreyn: good news! :)
[18:39] <sarnold> chrismo16: still mmx64?
[18:41] <TJ-> tomreyn: ...although ... I do see a Debian patch in the UPS server systemd unit (for nut-server) which adds an "After=...systemd-udev-settle.service" see https://git.launchpad.net/ubuntu/+source/nut/tree/debian/patches/0004-fix-systemd-service.patch?h=ubuntu/disco
[18:42] <chrismo16> sarnold in my boot/efi/ubuntu folder? if so yes
[18:42] <tomreyn> chrismo16: that's a pity, let's see some details - what does it say when you try to?
[18:43] <chrismo16> It says it failed to authenticate
[18:43] <tomreyn> TJ-: but this rule should not trigger if the UPS wasn't connected, i assume?
[18:44] <TJ-> tomreyn: it shouldn't *start* until systemd-udev-settle has reported success so in theory shouldn't affect this... but just seems rather conincidental when we consider all those UPS USB disconnect errors too
[18:45] <TJ-> tomreyn: so another experiment might be to temporarily 'systemctl mask nut-driver.service'
[18:46] <tomreyn> TJ-: but not nut-server.service ?
[18:47] <TJ-> tomreyn: from what I can see it's the driver that relies on udev. comments in the -server unit indicates -driver isn't required for nut-server to start
[18:48] <TJ-> tomreyn: see https://git.launchpad.net/ubuntu/+source/nut/tree/scripts/systemd/nut-server.service.in?h=ubuntu/disco
[18:48] <tomreyn> thanks. i'll try convey all of this should i get a chance.
[18:50] <TJ-> tomreyn: my reasoning on the snaps... they're *all* loop **mounts* and therefore will trigger events for udevd, see e.g. line 1520 onwards at the failed boot log https://paste.ubuntu.com/p/ZRPgTxZGN3/
[18:50] <tomreyn> i like to make people file bugs early. even if this turns out to be a useless or duplicate bug report in the end, you at least have a way to communicate with the later.
[18:50] <Chrismo16> When I boot my machine I have 3 options: os not manager (uefi) - Ubuntu, os boot manager (uefi) - Windows, usb hard drive (eufi)
[18:51] <TJ-> tomreyn: yes, if aikema hadn't left whilst I was at dinner I was going to ask they create a report
[18:52] <tomreyn> yes, those mounts have some overhead.
[18:53] <TJ-> tomreyn: my thinking is, as sone of them include udev rules, there may be some kind of race between the snap mount and the snap-package's own udev rule
[18:55] <tomreyn> i see.
[18:56] <chrismo16> Sorry I keep going in and out of the channel. I'm using a second laptop now so I will stay on
[18:58] <chrismo16> So with secure boot enabled, if I choose the OS Boot Manager (EUFI) - Ubuntu I get "Selected boot image did not authenticate"
[18:58] <tomreyn> chrismo16: can you post   sudo ls -lR /boot/efi/EFI | nc termbin.com 9999
[18:59] <chrismo16> If I choose USB Hard Drive (UEFI) I get the not found errors
[18:59] <chrismo16> tomreyn ok
[19:02] <chrismo16> tomreyn https://termbin.com/89u7
[19:04] <tomreyn> chrismo16: you must have run a different command?
[19:04] <tomreyn> i.e. i think you forgot   -lR
[19:06] <TJ-> tomreyn: chrismo16  also, "efibootmgr -v | nc termbin.com 9999"
[19:06] <ioria>  chrismo16  R means  'recursive' (no harm)
[19:08] <chrismo16> Ok so I ran the ls command multiple times and just ran the efibootmgr command and keep getting the same thing however the last 4 characters changes every time
[19:09] <tomreyn> chrismo16: different urls, can you post them?
[19:09] <ioria> chrismo16  are you on livecd or chroot ?
[19:10] <chrismo16> 89u7, 3v0o,szgf,nfqw
[19:10] <tomreyn> chrismo16: what you do there is run some command, then have its output posted to the termbin website, which stores the output and lets us see it using these unique urls
[19:10] <chrismo16> I', only getting 1 at a time
[19:10] <chrismo16> lol got it
[19:11] <tomreyn> efibootmgr -v | nc termbin.com 9999    ->  https://termbin.com/nfqw
[19:11] <chrismo16> Yes that is correct
[19:12] <tomreyn> sudo ls -lR /boot/efi/EFI | nc termbin.com 9999    ->   https://termbin.com/szgf
[19:12] <tomreyn> ok
[19:13] <chrismo16> Yes that is correct also
[19:13] <tomreyn> chrismo16: so those files in /boot/efi/EFI/ubuntu were last written at 00:46 today, what time is it there now?
[19:14] <chrismo16> 314
[19:15] <ioria> taiwan
[19:15] <tomreyn> 03:14 ? so then it's 2h30m ago. at this time you weren't even connected here
[19:15] <chrismo16> Also the time stamp may not be accurate. I was working on this yesterday and was having time issues between ubuntu and windows
[19:16] <TJ-> what's the betting the mount /boot/efi/ is from the wrong EFI-SP -  ssd (236970a6-5d57-4234-8b2d-e4b3cb6360fb) rather than the USB (7291f428-dc3d-4582-af19-981ec650962f
[19:16] <chrismo16> well its PM here now so that would be 15:14
[19:17] <chrismo16> so the wrong partition is being mounted at boot/efi ?
[19:18] <TJ-> chrismo16: show us "nc termbin.com 9999 < <( lsblk; cat /etc/fstab )"
[19:21] <vasuvi> I installed the latest Ubuntu (19.04), and it in general works great, but am having some problems with GRUB (UEFI).  I multiboot lots of distros on my machine, so wanted the boot menu to say something more descriptive than "ubuntu".  I renamed the directory, deleted the old entry with ufibootmgr, and ran update-grub.  It seemed to work, but now I get a blank grub prompt and have to manually "configfile (hdx,y)/grub/grub.cfg" to get the actual menu.
[19:21] <vasuvi> Any idea how to fix that?
[19:22] <chrismo16> termbin.com/urt1
[19:23] <TJ-> chrismo16: tomreyn  "/boot/efi was on /dev/nvme0n1p1 during installation"
[19:24] <TJ-> chrismo16: show us "nc termbin.com 9999 < <( sudo blkid )"
[19:24] <tomreyn> good find, TJ- !
[19:25] <TJ-> tomreyn: it's only a comment note, but I'm wondering if there's an issue with the root-fs, need to check the UUIDs for all partitions
[19:26] <chrismo16> I tried moving grub to the external so I could make it portable (which I was able to boot it from a different machine)
[19:27] <chrismo16> termbin.com/wneh
[19:27] <shibboleth> speaking of /boot/efi
[19:27] <shibboleth> is it possible to save/restore specific XXXX entries?
[19:27] <shibboleth> efibootmgr i suppose, anyone know how?
[19:28] <ioria> chrismo16, usually you don't mv grub; you just install it on the external device
[19:29] <chrismo16> ioria right. I used the wrong terminology. I followed this to do it https://askubuntu.com/questions/740253/how-to-install-grub-in-an-external-hard-drive
[19:30] <chrismo16> ioria right I used the wrong terminology. I followed this : https://askubuntu.com/questions/740253/how-to-install-grub-in-an-external-hard-drive
[19:30] <TJ-> chrismo16: everything there checks out in terms of it aiming at the correct partition UUIDS
[19:30] <TJ-> chrismo16: so I don't get confused - the problem is Secure Boot from the USB does *not* start?
[19:31] <TJ-> chrismo16: tomreyn  I'm suspecting this is one of those UEFI's that requires the operator to *trust* the boot-loader file from the UEFI Setup options
[19:32] <ioria> chrismo16, you have now grub installed on sda1 (and i think is the external device, right ?)
[19:32] <chrismo16> ioria correct
[19:32] <ioria> chrismo16, and how do you think to boot ubuntu when it's disconnected ?
[19:32] <chrismo16> TJ- I read that somewhere as well but do not see that option in my bios
[19:33] <TJ-> chrismo16: tomreyn *but* the 'trust' issue doesn't explain why grub-install is passing grubx64.efi to efibootmgr, rather than shimx64.efi
[19:33] <chrismo16> @iora ubuntu is installed on the external and windows on the internal
[19:33] <ioria> ok
[19:34] <chrismo16> After installing ubuntu I followed this if it helps https://askubuntu.com/questions/740253/how-to-install-grub-in-an-external-hard-drive
[19:35] <sim590> I have a computer for which the wireless card doesn't work after waking from sleep.
[19:36] <chrismo16> Then I installed a new kernel and then followed this up to step 5 to try to sign it: https://github.com/jakeday/linux-surface/blob/master/SIGNING.md
[19:36] <chrismo16> TJ- not sure if that addresses your question
[19:37] <TJ-> chrismo16: Let's try adding another UEFI menu entry called "Ubuntu SB" and you can test that: "sudo efibootmgr -c -d /dev/sda -p 1 -w -L 'ubuntu-SB' -l \EFI\ubuntu\shimx64.efi"
[19:37] <ioria> chrismo16, then i guess it's an HP thing (alias: you are loading the operating system from cannot provide the information needed by security in order to boot)
[19:39] <sim590> How can I diagnose this? I have tried restarting NetworkManager service, reloading kernel modules (iwlwifi and iwlmvm), setting the interface up with "ip link set wlp63s0 up", but no chance.
[19:39] <chrismo16> TJ-done
[19:39] <chrismo16> Want me to try to boot from it?
[19:39] <TJ-> chrismo16: now switch it into Secure Boot mode and test booting that "ubuntu-SB" entry
[19:39] <TJ-> sim590: see https://iam.tj/prototype/enhancements/Windows-acpi_osi.html
[19:39] <chrismo16> OK
[19:41] <chrismo16> I don't see it as an option in my boot menu
[19:42] <chrismo16> TJ-I don't see it as an option in my boot menu
[19:43] <TJ-> chrismo16: now that is strange!
[19:44] <sim590> TJ-: Thanks. I will try that!
[19:44] <TJ-> chrismo16: this is starting to look like a problem in the firmware, what is the make/model? do "dmesg | grep DMI:" and tell us what it reports
[19:47] <chrismo16> TJ- termbin.com/zshq
[19:52] <TJ-> chrismo16: HP's documentation isn't helpful unfortuntely; gives no indication of what the firmware setup options are
[19:52] <TJ-> chrismo16: let me tell you my theory of what is happening/happened
[19:52] <TJ-> chrismo16: originally I'm guessing you installed Ubuntu without Secure-Boot enabled, is that correct?
[19:52] <becool> which log would i check to see if a remote file transfer failed?
[19:53] <becool> or how a mysqldump process ended?
[19:53] <chrismo16> TJ- I believe that is correct, yes
[19:59] <tomreyn> TJ-: sorry, had a phone call there.
[20:00] <chrismo16> TJ- its ok. I'm not against reinstalling but I just tried booting to the installation usb and am getting the not found errors
[20:01] <chrismo16> With secure boot that is
[20:02] <tomreyn> hp has models which have a whitelist of EFI files names to boot from
[20:03] <tomreyn> it could be this
[20:03] <tomreyn> chrismo16: you had ubuntu secureboot working on this system though, didn't you?
[20:03] <chrismo16> tomreyn yes
[20:04] <chrismo16> wait no I didn't
[20:04] <tomreyn> oh ok
[20:06] <chrismo16> I'm beginning to confuse myself. I've been trying a lot of things.
[20:07] <chrismo16> tomreyn I do believe I had it working before trying to sign the kernel
[20:10] <Nubb3> My Meta-key in bash is bound to ESC, any idea how to change that to ALT?
[20:10] <chrismo16> Yes, I had it working but when I installed the newer kernel it would not work unless I selected advanced and selected the older kernel
[20:10] <TJ-> chrismo16: tomreyn  Sorry, was looking at an unrelated CVE.
[20:12] <tomreyn> no worries TJ- ;)
[20:12] <TJ-> chrismo16: I'm now more certain that ever that the problem here is that the HP's firmware, when in SecureBoot mode, requires the operator to have pre-trusted the bootloader file in order to add it to its menu. The fact that the command I gave you didn't result in an entry seems to confirm that
[20:12] <chrismo16> TJ- so should I reinstall?
[20:13] <_dbugger> In case anyone wants to repo in askubuntu.com here is a problem I have not managed to solve for quite some time...  https://askubuntu.com/questions/1153422/18-04-screen-tearing-with-nvidia-gtx-970
[20:13] <TJ-> chrismo16: I don't think it'll help, I think the issue is that the firmware has hard-coded by-pass trust of the Microsoft Windows bootloader but for any other it pre-requires you, the operator, to indicate your 'trust'
[20:14] <TJ-> chrismo16: would you be able to take a photograph of the HP's 'Security' setup page where you en/dis-able Secure Boot and upload it to imgur?
[20:14] <TJ-> !paste  chrismo16
[20:14] <chrismo16> ok
[20:15] <TJ-> chrismo16: Before we suggest a reinstall (a very 'Windows' thing to do, but not Linux!) lets be sure what the actual cause is :)
[20:15] <TJ-> hmmm, looks like ubottu is asleep
[20:15] <TJ-> oh!
[20:16] <TJ-> !paste | chrismo16
[20:16]  * TJ- kicks self
[20:16] <netameta> can you define/set a variable you can use globally all the time ?
[20:17] <tomreyn> !details | netameta
[20:18] <netameta> tomreyn, So say i want to commit something to github, and i want my password to be in a variable
[20:18] <TJ-> netameta: eeeek!!!
[20:18] <tomreyn> netameta: use ssh keys
[20:18] <netameta> instead of typing it each time i could do something like $ghp
[20:19] <TJ-> netameta: see https://help.github.com/en/articles/connecting-to-github-with-ssh
[20:19] <netameta> ssh keys will work on 2 fector authentication?
[20:19] <tomreyn> i don't know, haven't tried. but i don't see why not.
[20:20] <TJ-> netameta: I use mutli-factor with github but I've never had it affect ssh key usage, only the web site
[20:20] <TJ-> netameta: locally you'd have a password on the SSH key you create for github, and then have that cached in the ssh-agent so you do not need to type it every time
[20:22] <chrismo16> imgur.com/gallery/Sx7tMIP
[20:22] <netameta> well it effects normal login but i will check ssh
[20:23] <chrismo16> TJ- sory its imgur.com/gallery/Sx7tMlP
[20:24] <chrismo16> TJ- so you think it was working before because I was using the windows bootloader instead?
[20:25] <tomreyn> chrismo16: you were using the windows bootloader to boot ubuntu?
[20:25] <TJ-> chrismo16: thanks; what is shown if you expand the "▶ OS Boot Manager" entry?
[20:25] <TJ-> chrismo16: no, sorry, I didn't complete my theory did i!?
[20:28] <chrismo16> TJ- imgur.com/gallery/OClSFh9
[20:28] <TJ-> chrismo16: with SB disabled grubx64.efi can be installed, added to the UEFI boot manager, and booted at startup. But once you switch to SecureBoot as grubx64.efi is NOT signed by Microsoft UEFI key that entry will always fail, so the entry for Ubuntu should be updated to boot shimx64.efi, which IS signed by Microsoft. However, we just told efibootmgr to add such an entry and yet it didn't show in the menu at
[20:28] <TJ-> boot-time. That indicates it is either a) in the menu but not allowed in Secureboot mode or 2) was silently refused but without returning an error so efibootmgr thought all was OK
[20:29] <chrismo16> tomreyn I'm just speculating based on TJs comments
[20:29] <sim590> I can't find the PPA url for this https://launchpad.net/ubuntu/+source/universal-ctags/0+git20181215-2 ? I'm not really familiar with ppa. How can I find the proper URL?
[20:29] <sim590> That is, the proper url for doing like "add-apt-repository URL"
[20:29] <tomreyn> chrismo16: oh okay ;) it'd actually be possible i think, so i thought i'd better ask
[20:31] <chrismo16> TJ- can we edit the one that exists to use shim?
[20:31] <TJ-> !info universal-ctags | sim590: there is no PPA, that package is part of the archive
[20:31] <TJ-> hmmph!
[20:31] <TJ-> !info universal-ctags disco
[20:32] <tomreyn> sim590: this is not a ppa, but a package source for building a binary package which could then be distributed in ubuntu proper.
[20:32] <TJ-> sim590: which Ubuntu release are you using?
[20:32] <sim590> bionic
[20:32] <TJ-> sim590: there you go then; the package wasn't available for 18.04
[20:33] <sim590> I guess that I can backport it, no?
[20:33] <TJ-> chrismo16: We could but I'd rather not because another issue here (since the firmware failed to add "ubuntu-SB") is the firmware is broken and if we managed to change the existing entry the system might fail to boot Ubuntu at all
[20:34] <TJ-> sim590: checjk the package dependencies; you might be lucky and be able to (manually) download/install the .deb package from Disco
[20:34] <tomreyn> sim590: if it doesn't depend on a newer libc6 or libraries / library versions not present in bionic, then yes.
[20:35] <sim590> May be I can add the source to disco and do preference pinning like on debian, no ?
[20:37] <TJ-> sim590: here's the depends: https://paste.ubuntu.com/p/fcH3SZcRQs/
[20:37] <tomreyn> sim590: you could do this. it would break if dependencies are not resolveable in the future,
[20:37] <TJ-> sim590: no, because you'd be adding ALL the packages from Disco :)
[20:37] <tomreyn> the direct dependencies are resolvable on bionic
[20:38] <TJ-> chrismo16: experiment. boot the HP without Secure Boot to Ubuntu, then do "nc termbin.com 9999 < <( efibootmgr -v)" and lets see if that "ubuntu-SB" entry is there
[20:40] <Bashing-om> sim590: found: https://launchpad.net/~hnakamur/+archive/ubuntu/universal-ctags for 18.04.
[20:41] <chrismo16> TJ-its still there
[20:42] <chrismo16> termbin.com/nj9c
[20:42] <sim590> TJ-: Why would I be pulling everything from disco? I just do some pinning in preferences.d so that all packages are prioritized on bionic and I explicitely use "apt install -t disco package" for some packages, no?
[20:42] <sim590> I do that on debian with testing and unstable.
[20:43] <TJ-> chrismo16: haha, do you see the problem? the path has no /s in it "EFIubuntushimx64.efi)"
[20:43] <sim590> Bashing-om: Yeah. I found that one before, but on debian, the package maintainer is Alessandro Ghedini, so I was inclined to download his on ubuntu also.
[20:44] <TJ-> sim590: well I guess you could but it just seems like a sledgehammer to crack a nut, especially for a single non-essential package
[20:44] <chrismo16> TJ- haha. How do we fix?
[20:45] <Sven_vB> when using encrypted LVM, can I use arbitrarily weird python or bash scripts to produce the would-be-keyfile bytes?
[20:45] <netameta> ssh with 2 factor auth works !
[20:45] <TJ-> chrismo16: I'm trying to figure out how the command I gave you did that, because I tested it here and it worked.. is it possible you mis-typed the / characters ?
[20:45] <Sven_vB> like submit this file to that server via HTTPS and XOR the reply with this other file
[20:47] <chrismo16> I copy pasted
[20:47] <TJ-> chrismo16: let's start by deleting that entry: "sudo efibootmgr -v -b 0 -B"
[20:48] <TJ-> chrismo16: good, so it must be something else then!
[20:48] <TJ-> chrismo16: ha, my fault, I didn't surround the path in single-quotes!
[20:49] <chrismo16> How do we edit?
[20:50] <chrismo16> Or do we delete and recreate
[20:50] <TJ-> chrismo16: let's try again with " sudo efibootmgr -c -d /dev/sda -p 1 -w -L 'ubuntu-SB' -l '\EFI\ubuntu\grubx64.efi' " and once you've done that, do "efibootmgr -v" and ensure the path has \s in it!
[20:50] <TJ-> chrismo16: as above, delete entry then create a new
[20:53] <salamanderrake> Is there a network troubleshooting guide I can look at off line, between my network and what ever is going on with spectrum its dropping randomly and I need to restart the router and modem to reconnect again.
[20:57] <chrismo16> TJ-ok so that worked. I have booted with secure enabled and am at the blue screen to enroll mok
[20:58] <chrismo16> So basically I am at step 5 of https://github.com/jakeday/linux-surface/blob/master/SIGNING.md
[20:58] <TJ-> chrismo16: so making progress ?
[20:58] <chrismo16> yes
[20:59] <genii> salamanderrake: I would probably use the method described here: https://www.linuxjournal.com/content/downloading-entire-web-site-wget  to grab the guide found here: http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch04_:_Simple_Network_Troubleshooting for offline viewing
[20:59] <TJ-> chrismo16: can I step down now, the boot issue is now solved?
[20:59] <chrismo16> Looks like it is
[20:59] <chrismo16> Thank you
[21:00] <TJ-> chrismo16: good. Still puzzled how the system got into that state but ... *runs off and hides from the UEFI gremlins*
[21:00] <Bashing-om> !cookie | TJ-
[21:01] <TJ-> Bashing-om: I'm going to read the freezer for ice cream to cool my brain down :D
[21:02] <Bashing-om> TJ-: Good thought :) Ice cream cures many ailments.
[21:11] <salamanderrake> genii: does that cover the new network tools, or still using the old network tools?
[21:29] <genii> salamanderrake: Actually it does use the older ifconfig instead of the newer ip commands. But you can also still install the older ones
[21:30] <genii> ..apologies on lag, it's end of day time at work and there was running around to do
[21:34] <salamanderrake> genii: don't worry, I'm lagging because my ISP can't stay up.
[21:35] <genii> salamanderrake: But as far as all the other diagnostic methods and applications, all of them are available normally on *buntu except tracepath is instead of traceroute
[21:36] <salamanderrake> Oh, ok.
[21:39] <salamanderrake> genii: https://dougvitale.wordpress.com/2011/12/21/deprecated-linux-networking-commands-and-their-replacements/
[23:35] <oddtod> during the 18.04 installation of server I am prompted to import an identity is there any way to run your own identity management for this? I only see no / launchpad and 1 other.
[23:37] <sarnold> oddtod: interesting idea
[23:38] <sarnold> oddtod: my guess is that it'll hand whatever you input to ssh-import-id(1) and that can probably be extended easily enough..
[23:40] <leftyfb> ssh-import-id only supports launchpad and github