/srv/irclogs.ubuntu.com/2015/12/17/#ubuntu-server.txt

Logos01Anyone here able to help me work out an issue with a new install?  I am unable to automatically mount LVM mountpoints.01:33
Logos01They mount perfectly fine when I run the mount command manually providing the fully qualified device path; but if I try using the fstab entries then I receive an error, "mount: special device /dev/mapper/vg-lv_opt does not exist"01:34
Logos01That is to say, If I execute "mount /dev/mapper/vg-lv_opt /opt" ... then it mounts. But just calling "mount /opt" (or booting the OS, or calling "mount -a") gets the above error.01:35
sarnoldcan you pastebinyour fstab?01:42
sarnolddoes ls -l /dev/mapper/ before you try any mounts look sane?01:43
Logos01sarnold: I'm talking to you *from* those mounts right now, actually; and yes it does.01:46
Logos01I booted the OS up by manually mounting the entries in fstab.01:46
Logos01But just a sec01:46
sarnoldLogos01: heh, I figured it might be hard :/ heh01:47
Logos01sarnold: http://pastebin.ubuntu.com/14069921/01:47
Logos01sarnold: This is a completely new one to me.01:47
Logos01I mean, yeah -- the vg is actually named "vg_ogd-itd002l" ... but the manual mount command successfully executes w/ the /dev/mapper filename which is w/ "vg_ogd--itd002l"01:48
Logos01I've removed and rebuilt the initrd a number of times; I've tried reinstalling lvm2 repeatedly01:48
Logos01I've got a *separate* issue right now where I seem unable to sssd auth on this system (like I had with my other ubuntu machine; but I'm working that separately and think I'm onto something there.)01:49
Logos01sarnold: swapon behaves the same way.01:51
Logos01swapon -a fails; swapon /dev/mapper/vg_ogd--itd002l_lv_swap works.01:51
sarnoldLogos01: sorry, it looks sane to me, no idea..01:52
Logos01Yeah...01:52
Logos01Crap.01:53
sarnoldsticking / on lvm feels funny to me, it feels like the sort of thing I' might to avoid just because it sounds difficult.01:54
sarnoldbut it _really_ should work.01:54
sarnoldit can't be that crazy to want that, right? :)01:54
Logos01sarnold: It's default practice.01:55
Logos01You just keep /boot outside of it.01:56
Logos01Technically you can just do /boot/grub these days, but using / on lvm w/ /boot outside has been the norm for over a decade.01:56
Logos01sarnold: Here's what's better for you ...01:56
Logos01the recovery shell successfully mounts /01:56
Logos01initrd does that is.01:56
Logos01But mount -a still complains about the special device not existing.01:57
sarnold.. it's all the others that give you trouble :)01:57
sarnoldha01:57
Logos01sarnold: No, it does too -- it just reports that error and then executes the manual mount execution on it's own.01:57
Logos01I wonder if this isn't some sort of AppArmor thing.01:57
Logos01I have auditd enabled but it's not showing me anything like SELinux's AVC errors.01:57
sarnoldthat'd be easy to check, dmesg | grep DEN01:57
sarnoldah, then grep DEN /var/log/audit/audit..og01:58
Logos01'dmesg | grep DEN' comes empty.01:58
sarnoldah, then grep DEN /var/log/audit/audit.log01:58
Logos01same for audit.log01:58
Logos01But good to know. :)01:58
Logos01Is there a way to increase mount verbosity beyond just calling mount -v?01:58
Logos01strace maybe ... need to wait for this system update to complete then.01:59
Logos01(It's got some 600 something packages to update. I enabled the universe/multiverse/restricted packages for trusty, and the main/universe/multiverse/restricted packages for trusty-backports trusty-security trusty-updates in the hopes that maybe this is just an outdated package problem.02:00
Logos01)02:00
sarnoldtrusty-backports is slightly iffy, I'm not sure that gets much attention / traffic / etc..02:00
Logos01I've used it for some time without any problems I've been able to discern, on other systems.02:04
Logos01So it's an environment I'm accustomed to.02:04
Logos01Okay here's an interesting quirk.02:04
Logos01Just modified /etc/fstab to use the /dev/dm-N entry for /opt02:04
Logos01And then called "mount /opt"02:04
Logos01That worked.02:04
Logos01When I call "mount", it shows the "/dev/mapper/vg_ogd--itd002l-lv_opt" path rather than "/dev/dm-7"02:05
Logos01O_o02:05
Logos01I wonder...02:05
Logos01Huh.  Changing it to /dev/vg_ogd-itd002l/lv_opt *ALSO* worked.02:06
Logos01ARGH02:07
sarnoldodd02:07
Logos01sarnold: No, it's really not.02:07
Logos01Look at my pastebin again.02:07
Logos01Look at the character between the vg and lv and tell me if you spot anything.02:07
Logos01Namely; is it a "_" or is it a "-" ?02:07
* Logos01 facedesks02:07
sarnoldargh :)02:08
Logos01Man.02:08
Logos01I will note that I manually wrote the fstab02:09
Logos01Now onto why my AD users can't authenticate.02:10
Logos01sarnold: Maybe you have a clue about this one, specifically -- I installed sssd for centralized auth, but Ubiquity (desktop, yes, I know) is not allowing SSSD users to log in -- only local.02:10
sarnoldLogos01: I don't know much about sssd.. I think I'd start looking at /etc/pam.d/lightdm and go from there02:11
tewardsarnold: ping02:13
tewardnginx uploaded successfully, let me know if there's any other issues that come up (next 'leg' would be to get 1.9.9 in but i'm not planning to work on that until after the new year)02:13
sarnoldthanks teward :)02:13
Logos01sarnold: Looks like there's some lightdm configuration you have to do to allow manual user logins.02:25
Logos01sarnold: Here's a new one on me. I can only do succcessful DNS resolution on unqualified domain names right now.02:25
Logos01(Internal domain)02:25
sarnoldLogos01: does it change if you request e.g. google.com. vs google.com  (no dot)?02:26
Logos01Haven't tried external02:27
Logos01External works either way.02:28
Logos01Internal ... "ads01." does not resolve; "ads01" does.  "ads01.internal.domain" does not.02:28
sarnoldads01.internal.domain.  ?02:30
Logos01sarnold: No dice.02:32
Logos01sarnold: Aaahh -- it was /etc/nsswitch.02:34
Logos01nsswitch.conf that is02:34
Logos01"hosts: files mdns4_minimal [NOTFOUND=return] dns" needed to just be "hosts: files dns"02:34
Logos01And now SSSD is working.02:35
Logos01Time to restart lightdm and see if the rest is as well02:35
sarnoldLogos01: _eww_ ;/02:35
sarnoldI mean, great that you nailed that down, but still.02:36
Logos01sarnold: I blame my people's AD -based DNS and how it's configured.02:36
sarnoldodd that I've got a similar config but never noticed errors02:37
Logos01sarnold: What I was implying was that my group's particular setup of AD DNS makes that reply invalid for my environment04:54
Logos01Thus breaking kinit, thus breaking sssd authentication (which more or less wraps around kinit)04:54
sarnoldLogos01: did you get everything sorted out?04:55
Logos01sarnold: I in fact did, yes. All was good. Turns out it's not /etc/lightdm/ anymore, by the way.05:53
Logos01Different file directory location. People just can't have nice things; gotta change it all up up in hurr05:53
adun153Where can I get ceph Hammer binaries/packages for Ubuntu 14.04.3? I just realized that trying ceph-deploy gives me Firefly binaries.06:17
Logos01adun153: There's likely a PPA or something like that. I couldn't say.  But just be sure to check the reputability of any PPA you're touching on.06:19
=== Lcawte|Away is now known as Lcawte
=== cpaelzer_afk is now known as cpaelzer
=== Lcawte is now known as Lcawte|Away
nameuser_Hi there08:01
sexywoodenspoonMorning all. Anyone used postfix before? Trying to use the mailbox_command setting but it's not working on receiving mail08:09
sexywoodenspoonAnyone got any tips on firing a script when postfix picks up an email08:09
Logos01sexywoodenspoon: Define "picks up an email" more clearly.08:16
ikoniasexywoodenspoon: what are you trying to actually do08:17
sexywoodenspoonWhen an email comes to postfix for a domain that exists, run a bash script.08:17
sexywoodenspoonlog sender, recipient, date to a db08:18
rbasaksexywoodenspoon: you probably can do it the way you're trying, but you might find it easier to do it at the user end using procmail.08:24
rbasakThen you run under the user's privs instead of postfix's more restricted ones, too.08:24
rbasakBecause that is what may be biting you.08:24
rbasakIt's a more well trodden path, too.08:24
sexywoodenspoonHmm would that still work for virtual boxes? i.e. forwarders with no physical mailboxes?08:25
ikoniarbasak: just pull that from the logs08:28
ikoniait's easier to manipulate logs than it is how you're doing it08:28
rbasakprocmail doesn't have to deliver to a mailbox in the end. It can just deliver to /dev/null if you want.08:28
ikoniamore so as the script will be executed as the user that the mail is being delivered to08:28
rbasakHowever your bash script does need to run as _some_ user.08:28
ikoniawhich means your user needs to be a real user, eg: not virtual08:28
sexywoodenspoonI was hoping the logs would do what I wanted and was mis-sold the mailbox_command command on Stack08:33
sexywoodenspoonas if logs were the dirty thing to do08:34
kjackalo/08:37
lordievaderGood morning.09:53
=== tinyhippo is now known as angryhippo
=== cpaelzer is now known as cpaelzer_afk
=== cpaelzer_afk is now known as cpaelzer
=== CiPi is now known as cipi
coreycbjamespage, can you sync python-keystoneauth1 2.1.0-3 from experimental?13:17
jamespagecoreycb, sycn'ed13:21
coreycbjamespage, thanks13:23
mdeslaurdannf: sorry for the grub2 collision14:53
=== cipi is now known as CiPi
dannfmdeslaur: np - we had a few more bug fixes to get in anyway15:12
coreycbjamespage, can you sync python-openstacksdk from experimental please?15:20
* coreycb no privs15:20
stemidthis is incorrect http://packages.ubuntu.com/search?searchon=contents&keywords=pyvenv&mode=filename&suite=trusty&arch=any because I have python3.4 installed on trusty and there is no /usr/bin/pyvenv-3.4 file. I've also checked dpkg -L python3.4 | grep pyvenv15:36
stemidanyone know if pyvenv is available for ubuntu trusty?15:36
=== caribou is now known as caribou_
=== cpaelzer is now known as cpaelzer_afk
TJ-!info python3.4-venv trusty | stemid16:41
ubottustemid: python3.4-venv (source: python3.4): Interactive high-level object-oriented language (pyvenv binary, version 3.4). In component main, is optional. Version 3.4.3-1ubuntu1~14.04.3 (trusty), package size 5 kB, installed size 56 kB16:41
asheesh_Hello Everyone, need some help16:46
asheesh_trying to install Openstack using the guide at https://help.ubuntu.com/lts/clouddocs/installer/en/single-install.html for setting a private cloud16:46
asheesh_but it's kind of stuck at starting services stage16:46
asheesh_it has activated neutron and compute on separate machines (which it created for single machine setup)16:47
asheesh_but all other services are pending for few hours now16:47
asheesh_it did gave some errors in commands.log related to jujucharms.com being down, due to which it was unable to download charms for glance simplestream image sync service16:47
asheesh_I told juju guys on their #juju IRC channel and their api service for juju charms is up and running16:47
asheesh_but nothing has been happening in console.log either16:47
asheesh_will appreciate any help, been trying to setup this using single-install guide for past 2 days16:47
asheesh_after a few hours, I got [INFO: 12-17 22:02:59, openstack-status:104] Starting deployment of OpenStack16:48
asheesh_like 15 minutes ago, but it's still stuck and nothing seem to be happening16:49
asheesh_paste bin here : http://pastebin.com/zWdHNTNn16:58
=== angryhippo is now known as tinyhippo
WicaeedLooking at the sources.list for apt, when you use deb-i386/deb-amd64 on a mirror vs just using 'deb', what is determining the architecture that the mirror is grabbing?20:36
ikoniaWicaeed: your machine20:38
ikonia(as in it's arch)20:38
Wicaeedok, makes sense :)20:38
genii!multiarch20:42
* genii smacks the bot20:42
ikoniaI think that factoid is obsolete now anyway20:42
Wicaeedany way to calculate the size of a repo before you dl it?20:43
Wicaeedfor mirroring20:43
ikoniadepends on the tool, things like apt-mirror used to do a size and checksum calcuation before anything20:43
geniiRoughly 33G20:44
Mitchell1992Hello... I'm trying to install Ubuntu Server virtually on top of Hyper-V. It's stuck on Installing the System... 83%. Is there a compatibility issue I'm not aware of?21:10
tewardgenii, i think that's just hte ISO mirrors21:51
geniiteward: The last time I mirrored main,universe, multiverse, and restricted, it was somewhere between 32 and 35G21:59
=== Lcawte|Away is now known as Lcawte
neonixcoderGood day team, I am posting this on #ubuntu channel as well23:35
neonixcoderI am having an issue with my pptp connection. Its not connecting instantaneously. Its taking multiple connection retries and then disconnecting.23:36
neonixcoderI enable debug mode and output is http://pastebin.com/xmUsQ1gN23:37
neonixcoderAny suggestions?23:37
sarnoldneonixcoder: you should probably take the opportunity to move to something better: https://www.cloudcracker.com/blog/2012/07/29/cracking-ms-chap-v2/23:46
neonixcoderHay Arnold, How are you?23:49
sarnoldneonixcoder: pretty good, thanks; how are you?23:49
neonixcoderYa, I know it is bit old. Right now I have to stick to it as we are planing to move to OpenVPN in near future..123:50
sarnoldgood good23:50
neonixcoderI am good, thanks.23:50
neonixcoderMy concern is, some times it connects  in a min and some times it connects after long time23:51
neonixcoderAny suggestion, Arnold?23:55
sarnoldno, sorry, I didn't see anything immediately obvious in your logs23:55
sarnoldI've got two wild guesses: (1) maybe you need to fiddle with your connection's MTU; if you're using pptp then perhaps something else is terribly broken and PMTU doesn't work.23:56
sarnold(2) maybe someone is doing active MITM attacks and preventing connections when their cracking load is a bit too high. This one's a bit paranoid though..23:56
neonixcoderhmm23:58
neonixcoderLet me see23:58

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