[01:15] <sexywoodenspoon> TJ-: hey
[01:16] <TJ-> sexywoodenspoon: why are you concerned about the processing order?
[01:16] <sexywoodenspoon> TJ-: Didn't notice you were already here sorry
[01:16] <sexywoodenspoon> Yeah, I've got rules (see this: http://pastebin.com/7AF12jSC) as my alias maps
[01:16] <sexywoodenspoon> If I send to abc@example2.example.org I expect it to go to forward@gmail.com and not forward2@gmail.com
[01:17] <sexywoodenspoon> Reordering doesn't change a damn thing so I'm assuming the regex pattern is over-riding it somehow
[01:19] <sexywoodenspoon> Expected functionality is: if a subdomain is listed, forward to a specific address (might change each time), if the subdomain isn't explicitly named - forward to another address - catchall style.
[01:19] <TJ-> It's a long time since I needed to configure postfix that way; but I seem to recall 'last matching rule, wins'
[01:20] <sexywoodenspoon> Yeah tried both ways (with the explictly named one last) and it still went to forward2@gmail (as per my example)
[01:20] <sexywoodenspoon> Actually that's how I started and decided to change it to see if it was first rule matches but nup
[01:21] <TJ-> I remembered wrong; it's first wins
[01:22] <sexywoodenspoon> Hmmm in that case my first example should work but it hasn't... odd
[01:23] <sexywoodenspoon> FYI the pastebin, the newline between the two groups is the two alias maps I tried
[01:25] <sexywoodenspoon> Weird... I'm getting an error: warning: pcre map /etc/postfix/virtual, line 1: unknown regexp option "o": skipping this rule
[01:25] <sexywoodenspoon> shit!
[01:25] <sexywoodenspoon> hang on, they should *all* be regex patterns?
[01:26] <TJ-> That's what 'man 1 virtual' indicates
[01:26] <sexywoodenspoon> TJ-: I got that bit of RTFM ;)
[01:27] <sexywoodenspoon> TJ-: Sorry man, been staring at this so long it started to become the biggest task on the planet
[01:27] <sexywoodenspoon> Well, here goes
[01:28] <sexywoodenspoon> TJ-: I could kiss you right now, but you wouldn't appreciate that
[01:28] <sexywoodenspoon> Thanks man
[01:28] <sexywoodenspoon> and thanks man
[01:28] <TJ-> "man 5 regexp_table"  ... "postmap -q - regexp:/etc/postfix/filename < ... "
[01:29] <TJ-> "regexp:" is a protocol/type indicator
[01:29] <sexywoodenspoon> Question answered. First rule match = win, every map must be a regex /@example.example.org/
[01:29] <sexywoodenspoon> Fantastic
[01:30] <TJ-> easy :)
[01:30] <sexywoodenspoon> TJ-: When you haven't had the day from hell, yeah! Should have been a two minute bit of fun but nup!
[01:33] <TJ-> I'm still having it! Snowed under and going backwards under an avalanche of 15.10 bugs
[01:35] <sexywoodenspoon> TJ-: to get you through: https://www.reddit.com/r/sysadmin/comments/20zg6j/sysadmin_of_4chan/
[06:54] <neurotus> whats the name of package that chekcks after apt-get upgrade that no processes are using old files ?
[07:23] <bekks> afaik apt-get is doing that.
[07:30] <neurotus> bekks: the package is needrestart
[07:30] <bekks> ah, TIL, thx :)
[07:31] <neurotus> bekks: found it from other systems alias definitions
[07:31] <neurotus> handy to put after apt-get upgrade in a system-update-alias
[07:58] <ren0v0> hi, it seems mysql-server-5.6 doesn't install, (or isn't for me), on ubuntu 14.04. I'm getting a similar bug to this, but i have 4GB of ram free  >  http://askubuntu.com/questions/457923/why-did-installation-of-mysql-5-6-on-ubuntu-14-04-fail
[08:07] <bekks> ren0v0: And whatd the exact output you get?
[08:13] <ren0v0> bekks, i've borked the VM trying to remove it, i managed to fix this error with installing "bsdutils", but then another PPA wanted "mysql-server" installed, and this is a metapackage that links to 5.5, what am i supposed to do about that ?
[08:23] <ren0v0> i have some broken packages  "pB" in dpkg output, how do i remove them?
[08:26] <bekks> So you are using PPA which provide mysql-server then?
[08:27] <ren0v0> hmm i guess so
[08:28] <ren0v0> not sure how to tell that
[08:28] <ren0v0> add-apt-repository ppa:iconnor/zoneminder
[08:28] <bekks> apt-cache policy mysql-server
[08:28] <ren0v0> i can't get 5.6 uninstalled.... dpkg shows pB
[08:28] <ren0v0> everytime i try and install 5.5 it errors
[08:28] <bekks> So pastebin the errors.
[08:29] <ren0v0> ok let me try again, i've removed all mysql named files on the box
[08:29] <bekks> Thats a good way to break things.
[08:30] <ren0v0> fixed it
[08:30] <ren0v0> no
[08:30] <ren0v0> mysql-common i tink was the issue, remaining files in /etc/mysql etc
[08:30] <ren0v0> no errors this time around so hopefully thats it
[09:16] <lordievader> Good morning.
[09:35] <denbeiren> mornin
[11:44] <parapan> hi all have some troubles with 14.04 LTS ..
[11:44] <lordievader> What troubles?
[11:44] <parapan> installation stucked at select and install software ...it tells me an error has occured; I moved on to the next step which is grub install ..it tells me that grub cannot be installed
[11:45] <lordievader> What error did it gave exacatly?
[11:46] <parapan> an installation step failed.
[11:46] <parapan> you can try installing the failing item again from the menu or you can skip ....and so on . . .
[11:46] <lordievader> So what is it failing on? Updates?
[11:46] <parapan> the failing step is: select and install software
[11:47] <lordievader> Right, what did you select?
[11:47] <parapan> seems so ....it;s telling me running updates 1 up to 5% ,,,and then this error ...
[11:47] <parapan> everything
[11:47] <lordievader> Everything? Does it install when you select nothing?
[11:47] <parapan> all additional software DHCP and mail servers, php 5, all ...
[11:48] <parapan> didn't tried .....after the basic core of the server it presented to 5-6 options of different packages ...installed 600 and something .....not installed 1000+ ...and another 4 options .....
[11:49] <parapan> I've selected that 1000+ packages .....pressed "g" 2 times .....begin the installation .......and after that it reverted to the same screen with those 6 options ....
[11:50] <lordievader> So try it ;)
[11:50] <parapan> where the not installed packages are now around 600 units ....but after that I cannot move the process forward ....I am stucked on the Menu ....
[11:51] <parapan> ok, then reboot again and so on and I select only the core of the server, no additional packages correct ?
[11:51] <lordievader> Yes, install the rest later.
[11:54] <parapan> lordievader: restarter, select to boot from USB it says ...network boot not available continuing with normal boot sequence ...
[11:54] <parapan> and it;s stucked here
[11:55] <lordievader> Now I am confused. What are you booting?
[11:55] <parapan> the machine again ..
[11:55] <lordievader> The installer?
[11:56] <parapan> I had to shut power off on the machine ..probably something was in the way of rebooting from USB disk
[11:56] <parapan> now it;s working the re-install started ...
[11:57] <parapan> lordievader: so next time i select nothing ? no mail server, no php, no nothing correct ? just the core of the server ...
[11:58] <lordievader> parapan: Correct.
[11:58] <parapan> lordievader: I'll keep you informed on the status ...pls don't leave :D
[12:12] <parapan> lordievader: passed the software selection for install...selected nothing and than CONTINUE ...now is downloading 181 packages
[12:22] <parapan> lordievader: worked like a charm with no other software install options
[12:22] <parapan> now I'm upgrading the packages ..
[12:24] <parapan> it seems to go on the right way ...
[12:27] <lordievader> Good to hear.
[12:27] <parapan> finished. good to have support mates !
[12:27] <parapan> ;)
[15:31] <parapan> can somebody remember ? I once encountered a simple command to make the current folder shared via webserver ....
[19:06] <Guest51163> I am wondering without X11 and down loading any packages in a linux operating system or unix like os what is the builtin commands to remap keyboard keys and remap mouse buttons
[19:07] <bekks> Depends on the exact OS.
[19:09] <Guest51163> remember the terminal doesn't necessarily have to be a bash , csh , ksh ,...etc terminal i want the most general way that most unix or linux os's can do it with no-X11 ,graphical enviorment or any add-on downloaded packages or tar file programs... there should be a general way to do this after all keyboards and mouses have been around since the begining of time
[19:09] <Guest51163> there should be a built in way normally to do this ?
[19:11] <bekks> There is no such general way.
[19:11] <bekks> Specify the OS, then there is a way maybe.
[19:12] <ogra_> on ubuntu you would do: sudo dpkg-reconfigure keyboard-configuration
[19:12] <ogra_> (i guess on debian as well)
[19:14] <ogra_> for mice there is http://packages.ubuntu.com/trusty/gpm ... I havent used that in a decade, so i'm not sure it still works
[19:14] <bekks> ogra_: for mice on Ubuntu / Linux, respectively. On Unix systems, there isnt gpm.
[19:15] <ogra_> sure ... just talking about ubuntu here
[19:15] <ogra_> (i dot even know if gpm still exists in other distros ... and dpkg-reconfigure definitely wont on non dpkg distros)
[19:16] <ogra_> there is definitely no general way
[19:19] <Guest51163> so under say a bash , csh , ksh terminal is there a general way to do it then or at boot up with grub to tell it to remap the keys so that you can actually type correctly
[19:20] <bekks> Guest51163: The answer still is no.
[19:24] <Guest51163> under bash then would you uses commands like loadkeys and others see i would have thought there was some kind of standard ls /bin | grep "key" type functions built in to all unix / linux type os's bin files or sbin files but maybe i am wrong... though with x11 graphical enviorment it is pretty universal
[19:24] <Guest51163> but without a graphics enviorment your telling me there is no standard way hummm i don't think i agree i will have to look into later thanks anyway
[19:25] <bekks> Even for a graphical environment, there isnt a general way. But it seems thats not the answer you want to hear.
[19:26] <ogra_> the shell has no influence on the keyboard mapping btw ... that happens on a lower level
[19:26] <TJ-> !info console-setup | Guest51163
[19:27] <ogra_> TJ-, hmm, i dont think thats accurate anymore ... console-setup only sets the locale and font nowadays keymaps are set using keyboard-setup
[19:28] <ogra_> someone needs to fix the package description to mtch reality i guess :)
[19:28] <TJ-> ogra_: I was about to type that one but got side-tracked locally
[19:28] <TJ-> !info keyboard-configuration
[19:28] <ogra_> yeah
[19:29] <TJ-> I was trying to check when it took over from console-setup, because locally I'm on 15.10
[19:29] <ogra_> i think that was around 12.04 already ...
[19:29] <ogra_> definitely quite a while ago
[19:29] <TJ-> How time flies :)
[19:29] <ogra_> :)
[19:30] <TJ-> Today I've just had to re-fix a bug I fixed in 2009... took me an hour before I realised I'd been here before :)
[19:30] <ogra_> heh
[19:31] <TJ-> Would you happen to know who's active in the CD Image team; I need to persuade them to use an alternate MBR for hybrid ISO images
[19:39] <Guest51163> thanks for that i will have to look more into loadkeys and other commands to translate keys /tables... curious is there away with these commands to completely map your keyboard to unicode character set or some different action completely so that once can make a general language with his keyboard
[19:41] <Guest51163> And also curious when installing the os's and your allowed to select the keyboard language/type which is this doing interms of manually doing the equivalent is there some files with all the tables that one can loadkeys manually to switch keyboard layout/lanuages on the fly?
[19:41]  * bekks is wondering about the actual issue behind all those weirdness.
[19:43] <Guest51163> I mean doing these settings for clock and timezone by hand after the os has been install is straight forward thru command line . so it stands to reason keyboard settings and mouse settings that the os's configures at install time can be changed as easy as the clock/timezone things
[19:45] <ogra_> the ubuntu installer calls the same "dpkg-reconfigure keyboard-configuration" you call when changing it
[19:46] <ogra_> ... like it calls dpkg-reconfigure tzdata ... which you would use to re-configure the timezone on an ubuntu system
[19:49] <Guest51163> yes but that is for ubuntu or os's that uses dpkg package manager was kind of hoping for a general way to do all linux branches redhat , slackware as well as the debian solution  you gave me
[19:49] <Guest51163> Also for the BSD flavors like open,net , dragon fly , free,...etc
[19:50] <Guest51163> basically is dpkg-reconfigure calling some program which uses loadkeys with some file for the tables that are located somewhere i am not aware of on the os
[19:52] <ogra_> well, even if these OSes would use the same files and configs to set the stuff you want, there is most likely in each of them something on top to manage the configuration ... in case of ubuntu all your selections from dpkg-reconfigure are stored in the debconf db ... in case of SuSE you likely have some yast db and so on ..
[19:52] <ogra_> if you modify the config underneath them without updating thir respective tools as well things will likely get reverted or break
[19:56] <Guest51163> ok got you but back in the day before package managers i.e the tar  or archive only days there most have been some unverisal or common way to go about remapping keys and configuring your mouse/keyboard buttons for a certain language/type
[19:56] <ogra_> you mean like 30 years ago ?
[19:56] <ogra_> well ... 20 rather
[19:57] <Guest51163> Obviously when package managers came out you just have to find the package manager setting to and the keyboard install program to reconfigure those setting similar to redoing the os's installation but for just those settings
[19:57] <ogra_> right, and these things even evolved over the 20 years that for exampe dpkg exists
[19:57] <ogra_> aand added more complexity on top
[19:58] <ogra_> so whatever you do on a low level will likely cause something to go out of sync
[19:58] <Guest51163> I get how its done now adays more package manager and program specific but back in the day  it must be mostly a bash,csh,ksh terminal command to do this that was built in and was hopeing still left there but depreciated
[19:59] <ogra_> i even doubt it is deprecated ... there is surely loadkeys or something like that used on a low level
[20:01] <Guest51163> I understand it could screw things up at higher levels but want to understand it completely from the evolution of it to now obviously know it is just relatively simple but back then you had more control over it or seems a better understanding of the exact thing not just layer up above it interfering with your understanding
[20:01] <Guest51163> yes but how with loadkeys can one switch languages/types all together ?
[20:02] <ogra_> like you can use setxkbmap under X11 ... but nothing will guarantee you that the desktop you use wont unset your setting because it manages keymaps differently on a high level
[20:02] <Guest51163> As one choses when installing an os's
[20:02] <Guest51163> No gui
[20:02] <ogra_> that was an analogy
[20:03] <Guest51163> ok i guess i have to research later thanks though
[20:04] <ogra_> some these desktops most likely even use setxkbmap for their management ... but perhaps they use a different DB on top etc ... same goes for loadkeys ... most of the config tolls might use it, but if you call it directly they will just revert your setting
[20:05] <ogra_> so even if you would find the magic builet tool that is usable on all these systems, you would most likely cause breakage here and there by using it
[20:05] <Guest51163> so how does one with these commands switch from english to japan keyboard say for example
[20:05] <ogra_> depending on the implementation of the higher level bits
[20:08] <Guest51163> well for mouse buttons i would imagine these would one be worth much in an X11 enviorment anyway but there is times with ncurser and other things that you would probably uses a mouse so curious if you can configure it in grub or at the bash prompt with no X11 as well
[20:09] <Guest51163> And what those programs would be for the mouse. Obviously X11 allows one to set it in his xinitrc to do this or call a configuration file for this but that is specific to x11 i am saying no x11 for mouse settings as well
[20:09] <ogra_> as i said in the beginning, there is the gpm package ... that gets (or got, you have to check if it still works) you a mouse cursor in a tty
[20:09] <Guest51163> is that normally installed by default
[20:09] <ogra_> no
[20:11] <Guest51163> so what is the default built in commands like loadkeys, dumpkeys...etc for the mouse buttons /settings if one doesn't have x11 installed
[20:11] <Guest51163> man gpm
[20:11] <ogra_> there are none
[20:11] <Guest51163> seems like gpm is for virtual consoles and would need x11 ?
[20:11] <shauno> there really isn't anything built-in for the mouse without X11. (it's doable but nowhere near default/builtin).  so there's no default to manipulate it either
[20:12] <ogra_> no, gpm is for ttys
[20:12] <ogra_> it wont work under X
[20:12] <Guest51163> ncurser doesn't uses x11  startx graphics enviorment
[20:13] <Guest51163> all i see in man pages is it is a mouse server for a virtual console so seems to be for an x11  server
[20:13] <ogra_> ??
[20:13] <Guest51163> though maybe i am wrong
[20:13] <ogra_> what does a vitual console have to do with X ?
[20:14] <Guest51163> and the mouse server is an independent server that is not part of X11 to translate mouse cursor movement from the loadable kernel module or builtin mouse driver of the os's
[20:15] <Guest51163> maybe i am getting mixed up with the terms virtual console and virtual terminal then
[20:16] <Guest51163> because virtual terminals have to run under x11
[20:16] <ogra_> yes
[20:16] <Guest51163> your saying virtual consoles /dev/vcs just are the different ctrl+alt + fn screens
[20:17] <Guest51163> other then what x11 is running on
[20:17] <Guest51163> f7
[20:17] <ogra_> Description-en: General Purpose Mouse interface
[20:17] <ogra_>  This package provides a daemon that captures mouse events when the system
[20:17] <ogra_>  console is active, and delivers events to applications through a library.
[20:17] <ogra_>  .
[20:17] <ogra_> from apt-cache show gpm
[21:02] <anternat> i cannot ping my server locally but it is already connected to the internet.What must i do
[21:51] <T3DY> Best VPN package for ubuntu server?
[21:52] <bekks> T3DY: There is no single best, since that is just your personal opinion. There are various VPN packages for Ubuntu.
[21:53] <T3DY> Well could I get some personal opinions then? :P
[22:42] <ponyofdeath> hi, trying to boot from san. and am being dropped to initramfs after install. any ideas? it says device busy when initramfs tryies to mount the uuid