=== markthomas is now known as markthomas|away [01:15] TJ-: hey [01:16] sexywoodenspoon: why are you concerned about the processing order? [01:16] TJ-: Didn't notice you were already here sorry [01:16] Yeah, I've got rules (see this: http://pastebin.com/7AF12jSC) as my alias maps [01:16] If I send to abc@example2.example.org I expect it to go to forward@gmail.com and not forward2@gmail.com [01:17] Reordering doesn't change a damn thing so I'm assuming the regex pattern is over-riding it somehow [01:19] 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] It's a long time since I needed to configure postfix that way; but I seem to recall 'last matching rule, wins' [01:20] Yeah tried both ways (with the explictly named one last) and it still went to forward2@gmail (as per my example) [01:20] Actually that's how I started and decided to change it to see if it was first rule matches but nup [01:21] I remembered wrong; it's first wins [01:22] Hmmm in that case my first example should work but it hasn't... odd [01:23] FYI the pastebin, the newline between the two groups is the two alias maps I tried [01:25] Weird... I'm getting an error: warning: pcre map /etc/postfix/virtual, line 1: unknown regexp option "o": skipping this rule [01:25] shit! [01:25] hang on, they should *all* be regex patterns? [01:26] That's what 'man 1 virtual' indicates [01:26] TJ-: I got that bit of RTFM ;) [01:27] TJ-: Sorry man, been staring at this so long it started to become the biggest task on the planet [01:27] Well, here goes [01:28] TJ-: I could kiss you right now, but you wouldn't appreciate that [01:28] Thanks man [01:28] and thanks man [01:28] "man 5 regexp_table" ... "postmap -q - regexp:/etc/postfix/filename < ... " [01:29] "regexp:" is a protocol/type indicator [01:29] Question answered. First rule match = win, every map must be a regex /@example.example.org/ [01:29] Fantastic [01:30] easy :) [01:30] TJ-: When you haven't had the day from hell, yeah! Should have been a two minute bit of fun but nup! [01:33] I'm still having it! Snowed under and going backwards under an avalanche of 15.10 bugs [01:35] TJ-: to get you through: https://www.reddit.com/r/sysadmin/comments/20zg6j/sysadmin_of_4chan/ === balloons is now known as Guest62641 [06:54] whats the name of package that chekcks after apt-get upgrade that no processes are using old files ? === athairus is now known as athairuzzz [07:23] afaik apt-get is doing that. [07:30] bekks: the package is needrestart [07:30] ah, TIL, thx :) [07:31] bekks: found it from other systems alias definitions [07:31] handy to put after apt-get upgrade in a system-update-alias === neurotus is now known as krsna [07:58] 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] ren0v0: And whatd the exact output you get? [08:13] 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] i have some broken packages "pB" in dpkg output, how do i remove them? [08:26] So you are using PPA which provide mysql-server then? [08:27] hmm i guess so [08:28] not sure how to tell that [08:28] add-apt-repository ppa:iconnor/zoneminder [08:28] apt-cache policy mysql-server [08:28] i can't get 5.6 uninstalled.... dpkg shows pB [08:28] everytime i try and install 5.5 it errors [08:28] So pastebin the errors. [08:29] ok let me try again, i've removed all mysql named files on the box [08:29] Thats a good way to break things. [08:30] fixed it [08:30] no [08:30] mysql-common i tink was the issue, remaining files in /etc/mysql etc [08:30] no errors this time around so hopefully thats it [09:16] Good morning. [09:35] mornin === Lcawte|Away is now known as Lcawte [11:44] hi all have some troubles with 14.04 LTS .. [11:44] What troubles? [11:44] 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] What error did it gave exacatly? [11:46] an installation step failed. [11:46] you can try installing the failing item again from the menu or you can skip ....and so on . . . [11:46] So what is it failing on? Updates? [11:46] the failing step is: select and install software [11:47] Right, what did you select? [11:47] seems so ....it;s telling me running updates 1 up to 5% ,,,and then this error ... [11:47] everything [11:47] Everything? Does it install when you select nothing? [11:47] all additional software DHCP and mail servers, php 5, all ... [11:48] 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] 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] So try it ;) [11:50] 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] ok, then reboot again and so on and I select only the core of the server, no additional packages correct ? [11:51] Yes, install the rest later. [11:54] lordievader: restarter, select to boot from USB it says ...network boot not available continuing with normal boot sequence ... [11:54] and it;s stucked here [11:55] Now I am confused. What are you booting? [11:55] the machine again .. [11:55] The installer? [11:56] I had to shut power off on the machine ..probably something was in the way of rebooting from USB disk [11:56] now it;s working the re-install started ... [11:57] lordievader: so next time i select nothing ? no mail server, no php, no nothing correct ? just the core of the server ... [11:58] parapan: Correct. [11:58] lordievader: I'll keep you informed on the status ...pls don't leave :D [12:12] lordievader: passed the software selection for install...selected nothing and than CONTINUE ...now is downloading 181 packages [12:22] lordievader: worked like a charm with no other software install options [12:22] now I'm upgrading the packages .. [12:24] it seems to go on the right way ... [12:27] Good to hear. [12:27] finished. good to have support mates ! [12:27] ;) === markthomas|away is now known as markthomas === markthomas is now known as markthomas|away [15:31] can somebody remember ? I once encountered a simple command to make the current folder shared via webserver .... === cipi is now known as CiPi [19:06] 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] Depends on the exact OS. [19:09] 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] there should be a built in way normally to do this ? [19:11] There is no such general way. [19:11] Specify the OS, then there is a way maybe. [19:12] on ubuntu you would do: sudo dpkg-reconfigure keyboard-configuration [19:12] (i guess on debian as well) [19:14] 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] ogra_: for mice on Ubuntu / Linux, respectively. On Unix systems, there isnt gpm. [19:15] sure ... just talking about ubuntu here [19:15] (i dot even know if gpm still exists in other distros ... and dpkg-reconfigure definitely wont on non dpkg distros) [19:16] there is definitely no general way [19:19] 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] Guest51163: The answer still is no. [19:24] 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] 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] Even for a graphical environment, there isnt a general way. But it seems thats not the answer you want to hear. [19:26] the shell has no influence on the keyboard mapping btw ... that happens on a lower level [19:26] !info console-setup | Guest51163 [19:26] Guest51163: console-setup (source: console-setup): console font and keymap setup program. In component main, is important. Version 1.108ubuntu5 (vivid), package size 126 kB, installed size 475 kB [19:27] 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] someone needs to fix the package description to mtch reality i guess :) [19:28] ogra_: I was about to type that one but got side-tracked locally [19:28] !info keyboard-configuration [19:28] keyboard-configuration (source: console-setup): system-wide keyboard preferences. In component main, is important. Version 1.108ubuntu5 (vivid), package size 745 kB, installed size 2588 kB [19:28] yeah [19:29] I was trying to check when it took over from console-setup, because locally I'm on 15.10 [19:29] i think that was around 12.04 already ... [19:29] definitely quite a while ago [19:29] How time flies :) [19:29] :) [19:30] 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] heh [19:31] 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] 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] 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] 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] the ubuntu installer calls the same "dpkg-reconfigure keyboard-configuration" you call when changing it [19:46] ... like it calls dpkg-reconfigure tzdata ... which you would use to re-configure the timezone on an ubuntu system [19:49] 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] Also for the BSD flavors like open,net , dragon fly , free,...etc [19:50] 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] 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] if you modify the config underneath them without updating thir respective tools as well things will likely get reverted or break [19:56] 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] you mean like 30 years ago ? [19:56] well ... 20 rather [19:57] 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] right, and these things even evolved over the 20 years that for exampe dpkg exists [19:57] aand added more complexity on top [19:58] so whatever you do on a low level will likely cause something to go out of sync [19:58] 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] i even doubt it is deprecated ... there is surely loadkeys or something like that used on a low level [20:01] 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] yes but how with loadkeys can one switch languages/types all together ? [20:02] 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] As one choses when installing an os's [20:02] No gui [20:02] that was an analogy [20:03] ok i guess i have to research later thanks though [20:04] 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] 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] so how does one with these commands switch from english to japan keyboard say for example [20:05] depending on the implementation of the higher level bits [20:08] 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] 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] 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] is that normally installed by default [20:09] no [20:11] 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] man gpm [20:11] there are none [20:11] seems like gpm is for virtual consoles and would need x11 ? [20:11] 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] no, gpm is for ttys [20:12] it wont work under X [20:12] ncurser doesn't uses x11 startx graphics enviorment [20:13] 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] ?? [20:13] though maybe i am wrong [20:13] what does a vitual console have to do with X ? [20:14] 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] maybe i am getting mixed up with the terms virtual console and virtual terminal then [20:16] because virtual terminals have to run under x11 [20:16] yes [20:16] your saying virtual consoles /dev/vcs just are the different ctrl+alt + fn screens [20:17] other then what x11 is running on [20:17] f7 [20:17] Description-en: General Purpose Mouse interface [20:17] This package provides a daemon that captures mouse events when the system [20:17] console is active, and delivers events to applications through a library. [20:17] . [20:17] from apt-cache show gpm [21:02] i cannot ping my server locally but it is already connected to the internet.What must i do [21:51] Best VPN package for ubuntu server? [21:52] T3DY: There is no single best, since that is just your personal opinion. There are various VPN packages for Ubuntu. [21:53] Well could I get some personal opinions then? :P === not_phunyguy is now known as phunyguy [22:42] 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