Re: Odd DNF output
On 09/13/2016 06:33 PM, Ian Pilcher wrote: The odd thing is that none of the "problematic" packages -- gnupg2-smime, libguestfs-xfs, pinentry -- are installed. I have install_weak_deps=false in /etc/dnf/dnf.conf, so it shouldn't be trying to install weak dependencies. Anyone know what the heck DNF is trying to do? Have you tried to add those options and see what dnf would try to do in that case? -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: kernel 4.7.2 update broke bind
Tom Horsley writes: On Tue, 13 Sep 2016 19:10:13 -0400 Tom Horsley wrote: > I'm not exactly sure about any of that though. If I > look at some maps files, there always seems to be > one of these ---p regions somewhere in the middle > of each shared library. I found this: http://unix.stackexchange.com/questions/226283/shared-library-mappings-in- proc-pid-maps It says the private only pages are gaps between readonly and readwrite to get aligned to a page boundary. The gaps are more than enough for a 4kb page alignment. I augmented the output of /proc/pid/maps to show the length of each hexadecimal region, and nl-ed the output. The first three mappings are /usr/sbin/named, then the next 19 mappings with kernel 4.6.7 are: 4 560c39d87000-560c39d8b000 16.00 Kb rw-p 00:00 0 5 560c3a3ae000-560c3a3cf000 132.00 Kb rw-p 00:00 0 [heap] 6 560c3a3cf000-560c3a43b000 432.00 Kb rw-p 00:00 0 [heap] 7 7fa2a000-7fa2a0085000 532.00 Kb rw-p 00:00 0 8 7fa2a0085000-7fa2a40065004.00 Kb ---p 00:00 0 9 7fa2a800-7fa2a806f000 444.00 Kb rw-p 00:00 0 10 7fa2a806f000-7fa2ac0065092.00 Kb ---p 00:00 0 11 7fa2ac00-7fa2ac05e000 376.00 Kb rw-p 00:00 0 12 7fa2ac05e000-7fa2b00065160.00 Kb ---p 00:00 0 13 7fa2b000-7fa2b308500049684.00 Kb rw-p 00:00 0 14 7fa2b3085000-7fa2b40015852.00 Kb ---p 00:00 0 15 7fa2b5bc7000-7fa2b7d4b00034320.00 Kb rw-p 00:00 0 16 7fa2b7d4b000-7fa2b7d4c0004.00 Kb ---p 00:00 0 17 7fa2b7d4c000-7fa2b854c000 8192.00 Kb rw-p 00:00 0 18 7fa2b854c000-7fa2b854d0004.00 Kb ---p 00:00 0 19 7fa2b854d000-7fa2b8d4d000 8192.00 Kb rw-p 00:00 0 20 7fa2b8d4d000-7fa2b8d4e0004.00 Kb ---p 00:00 0 21 7fa2b8d4e000-7fa2b954e000 8192.00 Kb rw-p 00:00 0 22 7fa2b954e000-7fa2b954f0004.00 Kb ---p 00:00 0 And with kernel 4.7.2, the same 19 mappings are: 4 56099c4a9000-56099c4ad000 16.00 Kb rw-p 00:00 0 5 56099e11c000-56099e13d000 132.00 Kb rw-p 00:00 0 [heap] 6 56099e13d000-56099e1a9000 432.00 Kb rw-p 00:00 0 [heap] 7 7f04dc00-7f04dc021000 132.00 Kb rw-p 00:00 0 8 7f04dc021000-7f04e00065404.00 Kb ---p 00:00 0 9 7f04e379f000-7f04e400 8580.00 Kb rw-p 00:00 0 10 7f04e400-7f04e4032000 200.00 Kb rw-p 00:00 0 11 7f04e4032000-7f04e80065336.00 Kb ---p 00:00 0 12 7f04e800-7f04e8029000 164.00 Kb rw-p 00:00 0 13 7f04e8029000-7f04ec0065372.00 Kb ---p 00:00 0 14 7f04ec00-7f04ec02d000 180.00 Kb rw-p 00:00 0 15 7f04ec02d000-7f04f00065356.00 Kb ---p 00:00 0 16 7f04f000-7f04f002e000 184.00 Kb rw-p 00:00 0 17 7f04f002e000-7f04f40065352.00 Kb ---p 00:00 0 18 7f04f400-7f04f402d000 180.00 Kb rw-p 00:00 0 19 7f04f402d000-7f04f80065356.00 Kb ---p 00:00 0 20 7f04f800-7f04f8038000 224.00 Kb rw-p 00:00 0 21 7f04f8038000-7f04fc0065312.00 Kb ---p 00:00 0 22 7f04fc00-7f04ff20600051224.00 Kb rw-p 00:00 0 The first half of the mappings are roughly comparable. Then, with kernel 4.7.2, the remaining mappings remain more or less the same. In 4.6.7, the remaining mappings are much smaller. Did the new kernel change the default page size so the gaps need to be bigger now? (You'd think most of the universe would panic if the page size changed from 4K though :-). Note how under 4.7.2, the read/write mapping and the immediately following buffer mapping tend to be 65536Kb in total size. In 4.7.2, the first couple of mappings do seem to align to a 64kb boundary, but not all of them, the last half of the shown mappings do not align to 64kb boundaries, each. The question now becomes how does this translate to bind's "datasize" config option work. I originally had "datasize 20M" before 4.7.2. I upped it to "datasize 64M". named-chroot still failed to start. I upped it to "datasize 256M". named-chroot started. I looked into /proc/pid/limits, and I saw that "Max data size" was now set. It was set to 256 megabytes. From that, I conclude that bind does not manage "datasize n" internally, it just uses it to set its own ulimit. So, it seems that bind runs comfortably with a 20mb data ulimit in <4.7.2 can't even fit within a
Odd DNF output
I've been seing this for several days now: [pilcher@ian ~]$ sudo dnf update Last metadata expiration check: 1:27:54 ago on Tue Sep 13 19:00:42 2016. Dependencies resolved. == Package Arch Version Repository Size == Installing: fpc-srpm-macros noarch 1.0-1.fc23 updates 7.8 k Upgrading: autocorr-en noarch 1:5.0.6.2-10.fc23updates 205 k curl x86_64 7.43.0-9.fc23updates 285 k gnupg2 x86_64 2.1.13-2.fc23updates 1.9 M google-chrome-stable x86_64 53.0.2785.101-1 google-chrome 47 M libcdio x86_64 0.93-8.fc23 updates 242 k libcurl x86_64 7.43.0-9.fc23updates 257 k libgcryptx86_64 1.6.6-1.fc23 updates 377 k libguestfs x86_64 1:1.32.10-1.fc23 updates 1.9 M libguestfs-tools-c x86_64 1:1.32.10-1.fc23 updates 3.4 M libksba x86_64 1.3.5-1.fc23 updates 129 k libmateweather x86_64 1.14.2-1.fc23updates71 k libmateweather-data noarch 1.14.2-1.fc23updates 3.4 M libreoffice-calc x86_64 1:5.0.6.2-10.fc23updates 8.6 M libreoffice-core x86_64 1:5.0.6.2-10.fc23updates74 M libreoffice-draw x86_64 1:5.0.6.2-10.fc23updates 684 k libreoffice-graphicfilterx86_64 1:5.0.6.2-10.fc23updates 451 k libreoffice-impress x86_64 1:5.0.6.2-10.fc23updates 1.3 M libreoffice-opensymbol-fonts noarch 1:5.0.6.2-10.fc23updates 247 k libreoffice-pdfimportx86_64 1:5.0.6.2-10.fc23updates 281 k libreoffice-pyunox86_64 1:5.0.6.2-10.fc23updates 518 k libreoffice-ure x86_64 1:5.0.6.2-10.fc23updates 2.5 M libreoffice-writer x86_64 1:5.0.6.2-10.fc23updates 4.3 M net-snmp-libsx86_64 1:5.7.3-13.fc23 updates 788 k nss x86_64 3.26.0-1.0.fc23 updates 849 k nss-softokn x86_64 3.26.0-1.0.fc23 updates 383 k nss-softokn-freebl x86_64 3.26.0-1.0.fc23 updates 222 k nss-sysinit x86_64 3.26.0-1.0.fc23 updates58 k nss-toolsx86_64 3.26.0-1.0.fc23 updates 496 k nss-util x86_64 3.26.0-1.0.fc23 updates83 k perl-Module-CoreList noarch 1:5.20160820-1.fc23 updates77 k python x86_64 2.7.11-10.fc23 updates96 k python-devel x86_64 2.7.11-10.fc23 updates 399 k python-libs x86_64 2.7.11-10.fc23 updates 5.8 M python3-decoratornoarch 4.0.10-3.fc23
Re: bash/regex question..
On 13Sep2016 14:27, bruce wrote: I'm doing 100s/1000s of these.. Still a smallish number. but.. the othe parts of th operation are longer/more compute expensive.. this is essentially noise in the scheme of things.. and i'm fairly certain the resource usage is a wash as well for the diff approaches If you have speed issues, one thing to keep in mind is that with the shell, fork/exec will often outweigh any compute cost in a regexp. The core deal with interpreted languages (shell, perl, python etc) is that you should try to minimise the cost of the interpretation. So the classic shell example looks like this: # expensive, fires off separate commands per file for f in *.txt do cat "$f" | awk | sed | ... done vs: for f in *.txt do file-specific-awk ... done | generic-sed | ... i.e. a theoretical example where you can run a whole bunch of things though a single sed or whataver outside the loop. Obvious very dependent on your exact problem, but I hope the approach is evident. There are flipsides to this of course; if the code becomes unreadable or unmaintainable then the programmer cost can exceed the actual real world runtime benefit, particularly for once-off tasks. Re the unreadable bit, that is one of my rules of thumb for switching languages: when the task is no longer clearly and succinctly expressed. Cheers, Cameron Simpson -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: OT: what does this expression mean?
On 13Sep2016 16:54, todd zullinger wrote: for f in *.mp4; do ffmpeg -i "$f" -c:a libmp3lame "${f%.mp4}.mp3"; done While we're at it, I might suggest that "${f%.mp4}.mp3" isn't as clear as "${f/.mp4/.mp3}" for this particular for loop. I think that's a little subjective; I personally prefer the former. The pattern substitution method ${parameter/pattern/string} will also look more familiar to anyone who has used s/pattern/subst/ in vim, perl, etc, which is a small bonus. for f in *.mp4; do ffmpeg -i "$f" -c:a libmp3lame "${f/.mp4/.mp3}"; done Yeah, until you try to make it robust. Eg against a filename like "temp4-take9.mp4", which your example will transmute into "temp3-take9.mp4", not quite the plan. Whereas the "f%.mp4" thing will behave correctly because of the greedy match. (And yeah, if we were playing shell golf, it could be shortened to "${f/%4/3}" -- but that's certainly not as legible. Agreed there. Saving those few characters is likely not worth having to remember that /% means "match at the end of the parameter." Although, using the % to anchor the substitution would be the most prudent thing even when using the full extension, in case you had a file with .mp4 elsewhere in the name. ;) Ah, you've thought about this. I tend to feel that glob-based things are better than regexp based things for filename work, most of the time. Globs are simpler (albeit less powerful) patterns and shorter and more readable and often more intuitive. (When they're enough.) Cheers, Cameron Simpson -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: nedit
On 09/13/2016 02:20 PM, Patrick Dupre wrote: After an update to fc24, I lost the numerical keyboard with nedit on 2 computers. Could you confirm this glitch ? Assuming you mean the number pad, is your numlock on? Do those keys work in any other app or is it just nedit that doesn't work? -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: kernel 4.7.2 update broke bind
On Tue, 13 Sep 2016 19:10:13 -0400 Tom Horsley wrote: > I'm not exactly sure about any of that though. If I > look at some maps files, there always seems to be > one of these ---p regions somewhere in the middle > of each shared library. I found this: http://unix.stackexchange.com/questions/226283/shared-library-mappings-in-proc-pid-maps It says the private only pages are gaps between readonly and readwrite to get aligned to a page boundary. Did the new kernel change the default page size so the gaps need to be bigger now? (You'd think most of the universe would panic if the page size changed from 4K though :-). -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: kernel 4.7.2 update broke bind
On Tue, 13 Sep 2016 18:46:50 -0400 Sam Varshavchik wrote: > half of them are "---p" mappings, which I do not > understand, a private mapping without read and write privileges? I think that corresponds to an intentional "hole" in the address space where attempted access results in a segfault and no one can map anything new there. I'm not exactly sure about any of that though. If I look at some maps files, there always seems to be one of these ---p regions somewhere in the middle of each shared library. You could always guess security geeks are responsible. They seem to be behind all the inexplicable address layout stuff :-). -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: kernel 4.7.2 update broke bind
Rick Stevens writes: On 09/13/2016 04:06 AM, Sam Varshavchik wrote: > > Freshly restarted named: > > 4.7.2: > > PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND > 29156 named 20 0 702528 83324 6360 S 12.5 2.1 0:00.23 named > > 4.6.7: > > PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND > 10208 named 20 0 407084 81908 6828 S 12.5 1.0 0:00.13 named > > With 4.7.2, it's virtual space is nearly twice as much, also RES is just > slightly bigger. Yeah, the virtual usage is significantly bigger, the resident part slightly bigger and the shared segment is actually smaller. Weird. I wonder if it has something to do with the way chroots work in 4.7.x? Is it possible for you to launch it again in both kernels but NOT in a chroot? That might allow you to bugzilla something a bit more focused, but there's SOMETHING weird there. My named config is set up in the chroot. I do not have a non-chrooted named config, but I can work on it. That's going to be my next weekend's project, I suppose. pgpXy67UM05lW.pgp Description: PGP signature -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: kernel 4.7.2 update broke bind
Tom Horsley writes: On Tue, 13 Sep 2016 09:56:08 -0700 Rick Stevens wrote: > Yeah, the virtual usage is significantly bigger, the resident part > slightly bigger and the shared segment is actually smaller. Weird. You could compare the /proc/pid/maps files for both cases and see which memory segment(s) were bigger. Did that. Under either kernel, the named process maps the same shared libraries, and the mappings are identical in size. The difference is entirely in the process's private mappings, half of them are "rw-p" mappings, half of them are "---p" mappings, which I do not understand, a private mapping without read and write privileges? The "rw-p" mappings are slightly larger under 4.7.2. The "---p" mappings are significantly larger under the 4.7.2 kernel. pgpfChHh2SoCF.pgp Description: PGP signature -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Playing Flash based DRM videos on Hotstar.com
On 09/13/2016 02:36 PM, Sumit Bhardwaj wrote: Yes, I tried Chrome as well. The problem is on Linux, DRM in flash is implemented using HAL libraries as per what I have read, and that lib is no longer used. So whether it's Chrome or Firefox, its not working, The new version of Flash plugin that Adobe has released is security fixes only. They will never introduce new features in future as well. Did you actually follow the link I gave you? They have apparently changed their minds. The version there is a beta of 23, not the 11 that we've had for years. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Playing Flash based DRM videos on Hotstar.com
Hi Christopher, Yes, I understand and I use Netflix too which works properly. It's just that Hotstar has a lot of Indian movies and TV Series that Netflix doesn't, in fact no other service has. So I was kinda hoping if I can go with a workaround till the time they switch to HTML5. Hi Samuel Sieb, Yes, I tried Chrome as well. The problem is on Linux, DRM in flash is implemented using HAL libraries as per what I have read, and that lib is no longer used. So whether it's Chrome or Firefox, its not working, The new version of Flash plugin that Adobe has released is security fixes only. They will never introduce new features in future as well. -- Regards, Sumit Bhardwaj -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
nedit
Hello, After an update to fc24, I lost the numerical keyboard with nedit on 2 computers. Could you confirm this glitch ? Regards. === Patrick DUPRÉ | | email: pdu...@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France === -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: dnf update package from specific repo
On 09/13/16 16:37, joev.8450 wrote: > I still use priorities as I did with yum. it was an extension under yum. > then any packages that are in that lower priority repo will not > over-upgrade the same package in another repo. Which might fail if the lower priority repo updates before the higher priority repo, right? > regards, > > Joe Verreau > Durand, MI -- Kevin J. Cummings kjch...@verizon.net cummi...@kjchome.homeip.net cummi...@kjc386.framingham.ma.us Registered Linux User #1232 (http://www.linuxcounter.net/) -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: OT: what does this expression mean?
Anthony Joseph Messina wrote: On Monday, September 12, 2016 12:22:48 PM CDT Mike Wright wrote: for f in "$(ls *.mp4)"; do ffmpeg -i "$f" -c:a libmp3lame "${f%.mp4}.mp3"; done You shouldn't need ls... Indeed. Parsing ls is almost never a good idea. for f in *.mp4; do ffmpeg -i "$f" -c:a libmp3lame "${f%.mp4}.mp3"; done While we're at it, I might suggest that "${f%.mp4}.mp3" isn't as clear as "${f/.mp4/.mp3}" for this particular for loop. The pattern substitution method ${parameter/pattern/string} will also look more familiar to anyone who has used s/pattern/subst/ in vim, perl, etc, which is a small bonus. for f in *.mp4; do ffmpeg -i "$f" -c:a libmp3lame "${f/.mp4/.mp3}"; done (And yeah, if we were playing shell golf, it could be shortened to "${f/%4/3}" -- but that's certainly not as legible. Saving those few characters is likely not worth having to remember that /% means "match at the end of the parameter." Although, using the % to anchor the substitution would be the most prudent thing even when using the full extension, in case you had a file with .mp4 elsewhere in the name. ;) -- Todd ~~ In some cultures what I do would be considered normal. signature.asc Description: PGP signature -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: dnf update package from specific repo
I still use priorities as I did with yum. it was an extension under yum. then any packages that are in that lower priority repo will not over-upgrade the same package in another repo. regards, Joe Verreau Durand, MI On 09/13/2016 02:33 PM, Kevin Cummings wrote: > On 09/13/16 11:48, Roman Vyacheslavovich wrote: >> Hi All! >> >> I have two repos with the same named package. How can i set to ignore >> it from one of them? >> >> repo1:package >> repo2:package >> >> i want completely ignore package from repo2. is it possible with dnf? > > With YUM, you used to be able to put a line in your repo2.repo file like: > > exclude=package > > Not sure if this still works with DNF or not. > >> Thanks. > -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Google Chrome always asking me to enter the password to unlock my login keyring
On Tue, Sep 13, 2016 at 1:10 PM, Ahmad Samir wrote: Yes, I do use the same password for my account and for the gnome-keyring. Yet, the reported problem persists. But, bear in mind, that I do not use Gnome; I use XFCE. I would not like to have my passwords saved as plain text. >>> >>> Looking further into this, for the login keyring to get unlocked you >>> need to install gnome-keyring-pam (this is pulled by default for >>> GNOME). >>> >>> So install that package and try again... >> >> Thanks, Ahmad, but the package you refer to has forever been running >> on my computer. Therefore that package is not the one to be blamed! > > I don't know what the issue is then; IIUC lightdm already supports > gnome-keyring. Thanks anyway, Ahmad. Paul -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: dnf update package from specific repo
On 09/13/2016 12:11 PM, Roman Vyacheslavovich wrote: > В Вт, 13/09/2016 в 18:14 +0200, Jon Ingason пишет: >> Den 2016-09-13 kl. 17:48, skrev Roman Vyacheslavovich: >>> >>> Hi All! >>> >>> I have two repos with the same named package. How can i set to >>> ignore >>> it from one of them? >>> >>> repo1:package >>> repo2:package >>> >>> i want completely ignore package from repo2. is it possible with >>> dnf? >> >> Yes you can! In your case: >> >> dnf update --disablerepo=repo2 >> > > maybe i wasnt clear, but i meant is there something like apt pinning in > debian? because i want other packages from repo2 to be updates, just > exclude on package. You must not have seen the other response, but you can put in an exclude=glob in the repo-specific .conf file to exclude specific packages. > >>> >>> >>> Thanks. >>> -- >> >> > -- > users mailing list > users@lists.fedoraproject.org > To unsubscribe or change subscription options: > https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct > Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines > Have a question? Ask away: http://ask.fedoraproject.org > -- -- - Rick Stevens, Systems Engineer, AllDigitalri...@alldigital.com - - AIM/Skype: therps2ICQ: 226437340 Yahoo: origrps2 - -- - Always remember you're unique, just like everyone else. - -- -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Playing Flash based DRM videos on Hotstar.com
On 09/13/2016 10:57 AM, Sumit Bhardwaj wrote: I searched about this issue and found few things to try like using freshplayer to get PepperFlash or installing the HAL shim library. But none of these methods seems to work with Fedora 24. Can anybody hep me out with this? It is so frustrating to go back to Windows just to watch my favorite streams. Have you tried using Chrome? Also, Adobe just released a new version of Flash on Linux for testing at http://labs.adobe.com/downloads/flashplayer.html, but I think I read that it doesn't include DRM. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: dnf update package from specific repo
В Вт, 13/09/2016 в 18:14 +0200, Jon Ingason пишет: > Den 2016-09-13 kl. 17:48, skrev Roman Vyacheslavovich: > > > > Hi All! > > > > I have two repos with the same named package. How can i set to > > ignore > > it from one of them? > > > > repo1:package > > repo2:package > > > > i want completely ignore package from repo2. is it possible with > > dnf? > > Yes you can! In your case: > > dnf update --disablerepo=repo2 > maybe i wasnt clear, but i meant is there something like apt pinning in debian? because i want other packages from repo2 to be updates, just exclude on package. > > > > > > Thanks. > > -- > > -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Playing Flash based DRM videos on Hotstar.com
On Tue, Sep 13, 2016 at 1:58 PM Sumit Bhardwaj wrote: > Hi Everyone, > > I have a paid subscription of an online streaming service Hotstar.com in > India. The problem is, they are using some Flash based DRM technique with > their videos due to which they don't play on Fedora 24 Workstation. I only > get a movie not loaded message in context menu of flash player. > > I searched about this issue and found few things to try like using > freshplayer to get PepperFlash or installing the HAL shim library. But none > of these methods seems to work with Fedora 24. Can anybody hep me out with > this? It is so frustrating to go back to Windows just to watch my favorite > streams. > > Thanks in advance. > > I've struggled with this a lot when Amazon Prime still used Flash. I tried all the workarounds, jumping from one to the other, as each one broke with each update. I think the best option nowadays is to avoid such sites entirely. Most of the major video streaming services have switched to HTML5 video, instead of Flash. I'm not sure it's worth struggling to continue to run Flash on Fedora. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: dnf update package from specific repo
On 09/13/16 11:48, Roman Vyacheslavovich wrote: > Hi All! > > I have two repos with the same named package. How can i set to ignore > it from one of them? > > repo1:package > repo2:package > > i want completely ignore package from repo2. is it possible with dnf? With YUM, you used to be able to put a line in your repo2.repo file like: exclude=package Not sure if this still works with DNF or not. > Thanks. -- Kevin J. Cummings kjch...@verizon.net cummi...@kjchome.homeip.net cummi...@kjc386.framingham.ma.us Registered Linux User #1232 (http://www.linuxcounter.net/) -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: bash/regex question..
Hey Gordon. I'm doing 100s/1000s of these.. but.. the othe parts of th operation are longer/more compute expensive.. this is essentially noise in the scheme of things.. and i'm fairly certain the resource usage is a wash as well for the diff approaches On Tue, Sep 13, 2016 at 1:19 PM, Gordon Messmer wrote: > On 09/13/2016 09:54 AM, bruce wrote: > >> everything's working as needed.. if i get a few spare cycles i'll run a >> few tests to see what the time/diff would be between a few of the posts.. >> > > > Your use case is small enough that it might be difficult to illustrate the > potential problems. The question is what habits you'll take with you for > the future, when you work on bigger inputs and bigger patterns. :) > > -- > users mailing list > users@lists.fedoraproject.org > To unsubscribe or change subscription options: > https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct > Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines > Have a question? Ask away: http://ask.fedoraproject.org > -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Mate DT does not switch to VTY
Cntrl-Alt-F[234567] do not switch me to vty AFTER I login to the gui. Before logging to the GUI, I am able to, but not after. Any hints about this? -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Playing Flash based DRM videos on Hotstar.com
Hi Everyone, I have a paid subscription of an online streaming service Hotstar.com in India. The problem is, they are using some Flash based DRM technique with their videos due to which they don't play on Fedora 24 Workstation. I only get a movie not loaded message in context menu of flash player. I searched about this issue and found few things to try like using freshplayer to get PepperFlash or installing the HAL shim library. But none of these methods seems to work with Fedora 24. Can anybody hep me out with this? It is so frustrating to go back to Windows just to watch my favorite streams. Thanks in advance. -- Regards, *Sumit Bhardwaj* -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
FYI: systemd as pid one on an unprivileged container.
http://developers.redhat.com/blog/2016/09/13/running-systemd-in-a-non-privileged-container/ -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: bash/regex question..
On 09/13/2016 09:54 AM, bruce wrote: everything's working as needed.. if i get a few spare cycles i'll run a few tests to see what the time/diff would be between a few of the posts.. Your use case is small enough that it might be difficult to illustrate the potential problems. The question is what habits you'll take with you for the future, when you work on bigger inputs and bigger patterns. :) -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: kernel 4.7.2 update broke bind
On Tue, 13 Sep 2016 09:56:08 -0700 Rick Stevens wrote: > Yeah, the virtual usage is significantly bigger, the resident part > slightly bigger and the shared segment is actually smaller. Weird. You could compare the /proc/pid/maps files for both cases and see which memory segment(s) were bigger. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: kernel 4.7.2 update broke bind
On 09/13/2016 04:06 AM, Sam Varshavchik wrote: > Rick Stevens writes: > >> On 09/10/2016 08:09 AM, Sam Varshavchik wrote: >> > Sam Varshavchik writes: >> > >> >> Tom Horsley writes: >> >> >> >>> On Sat, 10 Sep 2016 10:20:57 -0400 >> >>> Sam Varshavchik wrote: >> >>> >> >>> > All-righty, this must be something about this particular >> named-chroot >> >>> > configuration… >> >>> >> >>> In the "check the dumb stuff first" category, might want to >> >>> run memtest and check the SMART info on the disk. Always a >> >>> chance the code got corrupted somehow and isn't running the >> >>> instructions intended to run :-). >> >> >> >> I copied the chroot to another server that I can play with. On that >> >> one, named-chroot also segfaults at startup in the same way, so it >> >> looks like I have a weekend project… >> > >> > I have this "options" directive in place for decades: >> > >> > datasize 20M; >> > >> > Commenting it out allows named to start up. I'll try it on my main >> > server, the next time I reboot it. Something about 4.7.2 that makes >> > named blow up, with this directive in place. >> >> Uhm, since that limits the size of memory that named can use, have you >> tried increasing it? I agree that a new kernel shouldn't cause it to >> puke unless there's something wrong with the way RAM is being allocated >> in the kernel (or the limit is actually being enforced in the new kernel >> and it wasn't in the older ones). >> >> It'd be interesting if you had a top report of the memory usage of >> named under the old kernel and the new kernel (with the directive >> disabled), just to see what the memory footprint differences are. Might >> point toward something interesting. > > Yeah, something's definitely going on. > > Freshly restarted named: > > 4.7.2: > > PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND > 29156 named 20 0 702528 83324 6360 S 12.5 2.1 0:00.23 named > > 4.6.7: > > PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND > 10208 named 20 0 407084 81908 6828 S 12.5 1.0 0:00.13 named > > With 4.7.2, it's virtual space is nearly twice as much, also RES is just > slightly bigger. Yeah, the virtual usage is significantly bigger, the resident part slightly bigger and the shared segment is actually smaller. Weird. I wonder if it has something to do with the way chroots work in 4.7.x? Is it possible for you to launch it again in both kernels but NOT in a chroot? That might allow you to bugzilla something a bit more focused, but there's SOMETHING weird there. -- - Rick Stevens, Systems Engineer, AllDigitalri...@alldigital.com - - AIM/Skype: therps2ICQ: 226437340 Yahoo: origrps2 - -- -I will go to my happy place. I WOULD go to my happy place - - if I knew where the @$>&$@#* it is!- -- -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: bash/regex question..
I thank all you guys! everything's working as needed.. if i get a few spare cycles i'll run a few tests to see what the time/diff would be between a few of the posts.. thanks (hopefully the answers will help others in the future.!) On Tue, Sep 13, 2016 at 12:32 PM, Boris Epstein wrote: > Good points. I wonder if it wouldn't be best to do it all in awk. Saves > CPU cycles and complexity, IMHO. > > Cheers, > > Boris. > > On Tue, Sep 13, 2016 at 12:26 PM, Gordon Messmer > wrote: > >> On 09/12/2016 04:37 PM, bruce wrote: >> >>> awk -F': ' '{print $2}' | tail -1 | sed 's/.*storeId=\(.*\).&/\1/' >>> >> >> >> You've got good answers, especially Cameron's. It had one error, >> though. If the URL is in a variable, it needs to be an argument to printf: >> >> url='http://venturacollege.bncollege.com/webapp/wcs/stores/ >> servlet/BNCBHomePage?storeId=78236&campusId=78236&userId=-10 >> 02&catalogId=10001&ddkey=http:BNCBMultiCampusPageCmd' >> store_id=$( printf '%s\n' | tr '?&' '\012\012' | sed -n 's/^storeId=//p' >> ) >> >> The reason I like Cameron's advice in particular is that it doesn't use >> ".*". In this case, performance isn't measurably bad, but using ".*" can >> eat a lot of CPU cycles. >> >> https://blog.mariusschulz.com/2014/06/03/why-using-in-regula >> r-expressions-is-almost-never-what-you-actually-want >> >> -- >> users mailing list >> users@lists.fedoraproject.org >> To unsubscribe or change subscription options: >> https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org >> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct >> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines >> Have a question? Ask away: http://ask.fedoraproject.org >> > > > -- > users mailing list > users@lists.fedoraproject.org > To unsubscribe or change subscription options: > https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct > Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines > Have a question? Ask away: http://ask.fedoraproject.org > > -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: bash/regex question..
Good points. I wonder if it wouldn't be best to do it all in awk. Saves CPU cycles and complexity, IMHO. Cheers, Boris. On Tue, Sep 13, 2016 at 12:26 PM, Gordon Messmer wrote: > On 09/12/2016 04:37 PM, bruce wrote: > >> awk -F': ' '{print $2}' | tail -1 | sed 's/.*storeId=\(.*\).&/\1/' >> > > > You've got good answers, especially Cameron's. It had one error, though. > If the URL is in a variable, it needs to be an argument to printf: > > url='http://venturacollege.bncollege.com/webapp/wcs/stores/ > servlet/BNCBHomePage?storeId=78236&campusId=78236&userId=- > 1002&catalogId=10001&ddkey=http:BNCBMultiCampusPageCmd' > store_id=$( printf '%s\n' | tr '?&' '\012\012' | sed -n 's/^storeId=//p' ) > > The reason I like Cameron's advice in particular is that it doesn't use > ".*". In this case, performance isn't measurably bad, but using ".*" can > eat a lot of CPU cycles. > > https://blog.mariusschulz.com/2014/06/03/why-using-in-regula > r-expressions-is-almost-never-what-you-actually-want > > -- > users mailing list > users@lists.fedoraproject.org > To unsubscribe or change subscription options: > https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct > Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines > Have a question? Ask away: http://ask.fedoraproject.org > -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: bash/regex question..
On 09/12/2016 04:37 PM, bruce wrote: awk -F': ' '{print $2}' | tail -1 | sed 's/.*storeId=\(.*\).&/\1/' You've got good answers, especially Cameron's. It had one error, though. If the URL is in a variable, it needs to be an argument to printf: url='http://venturacollege.bncollege.com/webapp/wcs/stores/servlet/BNCBHomePage?storeId=78236&campusId=78236&userId=-1002&catalogId=10001&ddkey=http:BNCBMultiCampusPageCmd' store_id=$( printf '%s\n' | tr '?&' '\012\012' | sed -n 's/^storeId=//p' ) The reason I like Cameron's advice in particular is that it doesn't use ".*". In this case, performance isn't measurably bad, but using ".*" can eat a lot of CPU cycles. https://blog.mariusschulz.com/2014/06/03/why-using-in-regular-expressions-is-almost-never-what-you-actually-want -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: dnf update package from specific repo
Den 2016-09-13 kl. 17:48, skrev Roman Vyacheslavovich: > Hi All! > > I have two repos with the same named package. How can i set to ignore > it from one of them? > > repo1:package > repo2:package > > i want completely ignore package from repo2. is it possible with dnf? Yes you can! In your case: dnf update --disablerepo=repo2 > > Thanks. > -- -- Regards Jon Ingason -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
dnf update package from specific repo
Hi All! I have two repos with the same named package. How can i set to ignore it from one of them? repo1:package repo2:package i want completely ignore package from repo2. is it possible with dnf? Thanks. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Apache and umask for document root
Allegedly, on or about 09 September 2016, Alex sent: > The reason I was exploring other possibilities is because generally > speaking the apache user shouldn't have write privileges in the > document root. If there was ever an apache compromise leading to a > shell, it would put in jeopardy the entire website. I'd like to avoid > that. The barely improved solution is to not let it write to the document root, but only to a sub-directory. I would have thought, though, that the way to do this is to not allow any writes to anything in the document root, but for your publishing scripts to write to its own (separate) database, in a rigidly controlled manner (by the authoring software), and for the webserver to read from it. -- [tim@localhost ~]$ uname -rsvp Linux 3.9.10-100.fc17.x86_64 #1 SMP Sun Jul 14 01:31:27 UTC 2013 x86_64 Boilerplate: All mail to my mailbox is automatically deleted, there is no point trying to privately email me, I only get to see the messages posted to the mailing list. If you don't understand how e-mail threading works, then follow the instructions given by those who do, and don't argue with them. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Google Chrome always asking me to enter the password to unlock my login keyring
On 12 September 2016 at 23:05, Paul Smith wrote: > On Mon, Sep 12, 2016 at 2:13 PM, Ahmad Samir wrote: If by autologin you mean that my computer automatically login the default user after bootup, no, I do not have autologin enabled. >>> >>> Is the login keyring password the same as your user account password? >>> if so, if they're the same then the keyring should automatically get >>> unlocked when you login IIUC. >>> >>> You can change the way chrome stores the passwords, have a look at: >>> https://chromium.googlesource.com/chromium/src/+/master/docs/linux_password_storage.md >>> >>> the --basic option should get rid of the pop-up window to unlock the >>> gnome login keyring, but it would make chrome store the passwords in >>> plain text :/ >> >> Thanks, Ahmad and Tom. I fixed the problem by removing %U from the >> command >> >> /usr/bin/google-chrome-stable %U >> >> that was configured in the button that launches Google Chrome. > > Unfortunately, this solution does not succeed after a computer reboot... > > Any further ideas? You never answered the question in my first post, does the login gnome-keyring have the same password as your user account? if so, then it should (IIUC) get unlocked automatically when you login. Also if you read the link I posted earlier you'll find that to make Chrome not use gnome-keyring you can add: --password-store=basic to the Exec line in the .desktop file you use to launch Chrome. But bear in mind that this will force Chrome to store your passwords in _plain text format_. >>> >>> Thanks, Ahmad. Sorry for not having yet answered your question. >>> >>> Yes, I do use the same password for my account and for the >>> gnome-keyring. Yet, the reported problem persists. But, bear in mind, >>> that I do not use Gnome; I use XFCE. >>> >>> I would not like to have my passwords saved as plain text. >> >> Looking further into this, for the login keyring to get unlocked you >> need to install gnome-keyring-pam (this is pulled by default for >> GNOME). >> >> So install that package and try again... > > Thanks, Ahmad, but the package you refer to has forever been running > on my computer. Therefore that package is not the one to be blamed! > > Paul I don't know what the issue is then; IIUC lightdm already supports gnome-keyring. -- Ahmad Samir -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: bash/regex question..
On 13/09/2016 01:37, bruce wrote: Hey. Simple question. Got a basic string.. http://venturacollege.bncollege.com/webapp/wcs/stores/servlet/BNCBHomePage?storeId=78236&campusId=78236&userId=-1002&catalogId=10001&ddkey=http:BNCBMultiCampusPageCmd trying to get the internal sub-string "78236" If Python is available you can do: s = 'http://venturacollege.bncollege.com/webapp/wcs/stores/servlet/BNCBHomePage?storeId=78236&campusId=78236&userId=-1002&catalogId=10001&ddkey=http:BNCBMultiCampusPageCmd' print(s.split('storeId=')[1].split('&campus')[0]) To do it directly in Bash, assuming your string is $TRING: python -c "print('$STRING'.split('storeId=')[1].split('&campusId')[0])" Lorenzo. I can remove the beginning portion, but can't figureout the rest of the regex to remove the subsequent chars.. awk -F': ' '{print $2}' | tail -1 | sed 's/.*storeId=\(.*\).&/\1/' Any help/pointers/thoughts.. thanks -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: kernel 4.7.2 update broke bind
Rick Stevens writes: On 09/10/2016 08:09 AM, Sam Varshavchik wrote: > Sam Varshavchik writes: > >> Tom Horsley writes: >> >>> On Sat, 10 Sep 2016 10:20:57 -0400 >>> Sam Varshavchik wrote: >>> >>> > All-righty, this must be something about this particular named-chroot >>> > configuration… >>> >>> In the "check the dumb stuff first" category, might want to >>> run memtest and check the SMART info on the disk. Always a >>> chance the code got corrupted somehow and isn't running the >>> instructions intended to run :-). >> >> I copied the chroot to another server that I can play with. On that >> one, named-chroot also segfaults at startup in the same way, so it >> looks like I have a weekend project… > > I have this "options" directive in place for decades: > > datasize 20M; > > Commenting it out allows named to start up. I'll try it on my main > server, the next time I reboot it. Something about 4.7.2 that makes > named blow up, with this directive in place. Uhm, since that limits the size of memory that named can use, have you tried increasing it? I agree that a new kernel shouldn't cause it to puke unless there's something wrong with the way RAM is being allocated in the kernel (or the limit is actually being enforced in the new kernel and it wasn't in the older ones). It'd be interesting if you had a top report of the memory usage of named under the old kernel and the new kernel (with the directive disabled), just to see what the memory footprint differences are. Might point toward something interesting. Yeah, something's definitely going on. Freshly restarted named: 4.7.2: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 29156 named 20 0 702528 83324 6360 S 12.5 2.1 0:00.23 named 4.6.7: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 10208 named 20 0 407084 81908 6828 S 12.5 1.0 0:00.13 named With 4.7.2, it's virtual space is nearly twice as much, also RES is just slightly bigger. pgp9i3dgrjPuv.pgp Description: PGP signature -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Gsmartcontrol doesn't start
Hello, Gsmartcontrol doesn't start. There is no error message. But it start from a terminal. When launched from a terminal it ask for root permission. Maybe it's the problem, I don't know. https://bugzilla.redhat.com/show_bug.cgi?id=1368430 Thanks ! -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org